Search found 21 matches

by Wnt2bsleepin
Fri Jan 24, 2014 10:47 pm
Forum: Open Source Nagios Projects
Topic: check_nrpe passing wrong arguments?
Replies: 3
Views: 2531

Re: check_nrpe passing wrong arguments?

That did it. Thank you very much.
by Wnt2bsleepin
Mon Jan 20, 2014 8:21 pm
Forum: Open Source Nagios Projects
Topic: check_nrpe passing wrong arguments?
Replies: 3
Views: 2531

check_nrpe passing wrong arguments?

Hello, I have a service check for my machine that checks the disk usage. However, in the log file the arguments seem to be messed up. Log: Running command: /usr/local/nagios/libexec/check_disk -w 20 10 /home -c -p Here is my local config file for it. check_nrpe!check_disk!20!10!/home and here is the...
by Wnt2bsleepin
Fri Nov 01, 2013 8:08 pm
Forum: Open Source Nagios Projects
Topic: Nagios Map
Replies: 4
Views: 2183

Nagios Map

Hello All, I was able to get the map to work, but it doesn't appear to be showing any hosts connected to the main server. http://i.imgur.com/N5DOpzu.png How do I add the other two machines I am monitoring to the map? Can i customize what image is used to represent them? Thanks for any help. However,...
by Wnt2bsleepin
Fri Nov 01, 2013 5:00 pm
Forum: Open Source Nagios Projects
Topic: Nagios only checking local
Replies: 19
Views: 7549

Re: Nagios only checking local

That worked. Thank you for the help.

Some of the plugins I have to use the local ones on the Nagios server, for example checking the ping. Others, I have to pass the command via the check_nrpe plugin. Getting the hang of it.
by Wnt2bsleepin
Mon Oct 28, 2013 11:18 am
Forum: Open Source Nagios Projects
Topic: Nagios only checking local
Replies: 19
Views: 7549

Re: Nagios only checking local

Thank you. It does appear to be working. However, on the web panel it is now saying that there is an error with the argument http://i.imgur.com/deG7ytq.png Here is my command configuration define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } and my ser...
by Wnt2bsleepin
Wed Oct 23, 2013 4:57 pm
Forum: Open Source Nagios Projects
Topic: Nagios only checking local
Replies: 19
Views: 7549

Re: Nagios only checking local

Hi Wnt2bsleepin, Could you run the check_disk command on the nagios machine locally, and then again using nrpe? Both from the Nagios server. ./check_disk -w 60 -c 80 ./check_nrpe -H ftb.<remote>.com -c check_disk -a "60 80 /" If they give the same result, from the remote server you can ru...
by Wnt2bsleepin
Tue Oct 22, 2013 8:42 pm
Forum: Open Source Nagios Projects
Topic: Nagios only checking local
Replies: 19
Views: 7549

Re: Nagios only checking local

Turns out that I didn't compile NRPE with the following flags –enable-command-args Once I did that, it seems to have gone through. I was then able to query the server with the command root@<host>:/usr/local/nagios/libexec# ./check_nrpe -H ftb.<remote>.com -c check_disk -a 60 80 / DISK OK - free spac...
by Wnt2bsleepin
Tue Oct 22, 2013 10:49 am
Forum: Open Source Nagios Projects
Topic: Nagios only checking local
Replies: 19
Views: 7549

Re: Nagios only checking local

I can query the nagios system with the check NRPE command You are running these commands from the nagios server to the NRPE server correct? Not the way you stated above? Did you make sure to restart xinetd after making your changes? I would also try removing the -w and -c from the arguments section...
by Wnt2bsleepin
Fri Oct 18, 2013 4:16 pm
Forum: Open Source Nagios Projects
Topic: Nagios only checking local
Replies: 19
Views: 7549

Re: Nagios only checking local

I can query the nagios system with the check NRPE command root@<server>:/usr/local/nagios/libexec# ./check_nrpe -H ftb.<host>.com NRPE v2.15 However, I cannot send any commands. If I send the check_disk command with arguments, I get this error root@<server>:/usr/local/nagios/libexec# ./check_nrpe -H...
by Wnt2bsleepin
Fri Oct 18, 2013 1:42 pm
Forum: Open Source Nagios Projects
Topic: Nagios only checking local
Replies: 19
Views: 7549

Re: Nagios only checking local

Sure thing nrpe.cfg ############################################################################# # Sample NRPE Config File # Written by: Ethan Galstad (nagios@nagios.org) # # Last Modified: 11-23-2007 # # NOTES: # This is a sample configuration file for the NRPE daemon. It needs to be # located on ...