check_snmp_disk_monitor returns no output
Mark Foster
mark at foster.cc
Wed May 4 21:50:18 CEST 2005
I am running nagios 2.0b2 on redhat linux AS 3.0.
The second box (linux04) has been configured with snmp to monitor the /
and /boot partitions
I can run this command no problem.
[nagios at linux03 libexec]$ ./check_snmp_disk_monitor.pl -H linux04 -s -m /
Disk OK - 28% used on /|/,7950221312,2263506944
But nagios, running the same command as a service check returns (No
output!)
How can I see the exact command nagios is running?
Nothing of interest appears in var/nagios.log
Please help if you can.
define command {
command_name check_disk_via_snmp
command_line $USER1$/check_snmp_disk_monitor.pl -H
$HOSTADDRESS$ -v -s -m $ARG1$
}
define service {
host_name linux04
service_description disk-space-root
is_volatile 0
check_command check_disk_via_snmp!/
max_check_attempts 3
normal_check_interval 20
retry_check_interval 10
active_checks_enabled 1
passive_checks_enabled 1
check_period workhours
parallelize_check 1
obsess_over_service 1
check_freshness 0
event_handler notify-by-email
event_handler_enabled 0
flap_detection_enabled 0
process_perf_data 0
retain_status_information 1
retain_nonstatus_information 1
contact_groups main
notification_interval 30
notification_period workhours
notification_options w,u,c,r,f
notifications_enabled 1
register 1
}
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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