Hi all,
i have NagiosXI 2012 2.0 and i would like to monitor a suse SLES 11 SP2.
First i have used the NRPE Wizard and that is running without errors.
Then i have used the Linux Server Wizard and have chosen REDHAT as Distribution for my Suse SLES.
But it runs with the following errors
/ Disk Usage Unknown 17h 1m 14s 5/5 06/04/2013 02:21:25 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
Memory Usage Unknown 17h 0m 51s 5/5 06/04/2013 02:20:24 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
Open Files Unknown 17h 0m 28s 5/5 06/04/2013 02:20:47 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
SSH Server Unknown 17h 0m 4s 5/5 06/04/2013 02:18:37 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
Swap Usage Unknown 16h 59m 41s 5/5 06/04/2013 02:21:34 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
Total Processes Unknown 17h 0m 26s 5/5 06/04/2013 02:20:51 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
Users Unknown 16h 59m 18s 5/5 06/04/2013 02:21:57 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
my SLES logs Error Client request was invalid bailing out. Request contains command arguments but option is not enabled.
How can i fix the problem ?
NRPE Problems
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NRPE Problems
This means you will need to edit the nrpe.cfg file on the suse SLES server, and make sure the commands in the command section are un-commented, so they can be called via NRPE on the XI server. Also, make sure the line "dont_blame_nrpe" is set to "0" and not "1".
-
shakra2005
- Posts: 70
- Joined: Sun Aug 05, 2012 4:24 pm
Re: NRPE Problems
can i find a sample config with all nagios commands for the nrpe.cfg
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NRPE Problems
They should be in the nrpe.cfg file by default, though they will be very limited as they are just examples intended for basic monitoring, custom scripts are added in as custom commands based on what else you are intending to integrate into your NRPE installations.
These are the example commands:
These are the example commands:
Code: Select all
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200