Search found 6 matches

by garrywong
Mon Nov 04, 2013 5:01 pm
Forum: Open Source Nagios Projects
Topic: Nagios web interface shows Warning for services that are OK
Replies: 9
Views: 2341

Re: Nagios web interface shows Warning for services that are

Specifically scripts that I have in init.d, which are used to check status of applications on the remote host. I kept getting "NRPE: Unable to read output" as the return when I used NRPE to execute the scripts from the nagios server on the remote server. For example, on nagios server: # /u...
by garrywong
Mon Nov 04, 2013 3:49 pm
Forum: Open Source Nagios Projects
Topic: Nagios web interface shows Warning for services that are OK
Replies: 9
Views: 2341

Re: Nagios web interface shows Warning for services that are

Yes, I can get nagios plugins running on remote hosts now, and they show up "OK" on the web interface. But now I'm having a hard time figuring out how to execute arbitrary commands (i.e, not just plugins) on the remote host and read the return code into nagios.
by garrywong
Mon Nov 04, 2013 2:15 pm
Forum: Open Source Nagios Projects
Topic: Nagios web interface shows Warning for services that are OK
Replies: 9
Views: 2341

Re: Nagios web interface shows Warning for services that are

I have a typo in "Address" :oops: :oops: :oops: :oops: :oops:
/stupid
/facedesk
by garrywong
Mon Nov 04, 2013 2:11 pm
Forum: Open Source Nagios Projects
Topic: Nagios web interface shows Warning for services that are OK
Replies: 9
Views: 2341

Re: Nagios web interface shows Warning for services that are

commands.cfg: # 'check_nrpe' command definition define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADRESS$ -c $ARG1$ } localhost.cfg: # Define CPU load check on remote host define service{ use generic-service host_name myhost service_description CPU Load check_command ch...
by garrywong
Mon Nov 04, 2013 12:43 pm
Forum: Open Source Nagios Projects
Topic: Nagios web interface shows Warning for services that are OK
Replies: 9
Views: 2341

Nagios web interface shows Warning for services that are OK

I'm using NRPE to run commands on remote hosts. If I run the command on the terminal of the monitoring host, I get returned an OK result, like this: ]# /usr/local/nagios/libexec/check_nrpe -H <remote_ip> -c check_load OK - load average: 0.01, 0.05, 0.06|load1=0.010;15.000;30.000;0; load5=0.050;10.00...