newbie (check_nrpe) check_swap on a remote ssytem
Narayanasamy, Sundar
sundar.narayanasamy at medtronic.com
Wed Mar 10 23:41:46 CET 2004
Hello,
I installed NRPE to monitor swap space on remote system. I get following
swap Space | WARNING | 03-10-2004 15:32:52 | 0d 0h 0m 19s | 3/3 | NRPE: Unable to read output
I have following in the host
checkcommands.cfg
--------------------
'check_nrpe' command definition
define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H $ARG1$ -c $ARG2$
}
services.cfg
------------
# Service definition
define service{
use generic-service ; Name of service template to use
host_name mordac
service_description swap Space
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups unix-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_nrpe!mordac!check_swap
}
On the remote system
command[check_swap]=/usr/local/nagios/libexec/check_swap -w 70% -c 80%
Both host and remote client are running Solaris 8. I am running nagios 1.2 and nrpe-1.9_3-sol8-sparc-local.
Any help is appreciated.
Sundar
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list