Tag Info

New answers tagged

0

You can tell check to return code 3 to nagios when process return NULL()?, which means state is UNKNOWN. More about codes here: https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/pluginapi.html


1

You're mixing Classic UI and Web here. They use different data source backends and configuration files. Classic UI parses the status.dat abd objects.cache files which are periodically written by the core. The nain configuration parts happen in cgi.cfg. Icinga Web 1.x reads its data from the IDO database being populated by the ido2db daemon which receives ...


2

Ok, I can answer my own question after a bit more googling. In the Nagios Support forums, I found this answer: https://support.nagios.com/forum/viewtopic.php?f=7&t=10329 It is pretty much exactly what I was looking for. I hope this can help someone else someday. EDIT: Thanks for the tip Zoredache. The link says you can 'cat' and 'grep' Nagios's ...


2

To configure percona-nrpe plugins for mysql you will have to do 3 things viz : 1. define commands 2. Define service 3. Add commands on client to nrpe.cfg First 2 can be easily done for help refer http://kedar.nitty-witty.com/blog/install-percona-monitoring-tools-for-nagios-mysql-plugins#comment-43181 I found less help available for 3rd point ie to add ...


1

Sudeep, the plugin is executable, but I still gt 126 return code $ ls -lt /usr/local/nagios/libexec/check_oracle_health -rwxr-xr-x 1 root root ... /usr/local/nagios/libexec/check_oracle_health


1

For the next foolio....The actual path to the nagios.cmd is /var/spool/nagios. Once I set the right path in the NSCA.cfg file, everything started working. Remember, that nsca puts in a file nsca.dump which has all the data. nsca.dump needs to consumed by nagios.cmd.


0

Got the answer : As iostat command was missing it gave wrong output ! # apt-get install sysstat Got output on Nagios after installing sysstat : IO-Stats /dev/xvda OK 08-19-2015 14:28:10 43d 8h 7m 28s 1/4 OK - I/O stats tps=2.00 MB_read/s=0.00 MB_written/s=0.00 IO-Stats /dev/xvdb OK 08-19-2015 14:26:48 61d 4h 47m 46s 1/4 OK - I/O stats tps=0.00 ...


0

Found something interesting regarding Multistacked graphs here: https://assets.nagios.com/downloads/nagiosxi/CHANGES-2014.TXT 2014R1.0 - 05/13/2014 ------------------------------- [...] VISUALIZATIONS & FUNCTIONALITY [...] - Enhanced Graph Explorer (with Stacked Performance Graphs) -JO So it is entirely possible that Multistacked is a feature of ...


0

you can do it with the multi-tasked performance graph, just select the parameter you want compare from each of your servers and add it to the graph, then select the time period and upgrade the graph.


3

This is a passive service, right? If you've not changed the config, then your NAGIOS was never running any command at all for this particular service - it was logging data being fed in from outside, via (eg) NSCA. In fact, I suspect it still is: the external system is feeding in a hostname, a service, a status code (3), and an error message (can't create ...


1

Don't bother separating all of the -a ARGs into separate ARGs in the Nagios conf. You'll drive yourself crazy with the quotes. For simplicity, make your command_line something like: $PLUGINSDIR$/check_nrpe -u -t 30 -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ And then use it like this: check_command check_nrpe!check-worker-count!worker-name 12 90 80 At least, ...


1

If you run check_nrpe without passing an actual command (e.g., -c check_procs), it will reply with the NRPE version number just to indicate that NRPE is working correctly. (This is helpful if you have multiple NRPE services, and you want to make all of them dependent on a simple NRPE status check.) The reason you're seeing this in the web interface is that ...



Top 50 recent answers are included