Solaris plugin?
Michael Aldrich
maldrich at i-centrix.com
Wed Mar 17 16:27:44 CET 2004
Hello,
I am running Nagios 1.0 with nagios-plugins-1.3.1-1 on RH Linux 7.3
(2.4.20).
I've noticed some odd behavior with disk space checks.
Sample services.cfg block:
# Service definition
define service{
use generic-service ; Name of
service template to use
host_name ora3
service_description /od01 Free Space
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups admins
notification_interval 20
notification_period 24x7
notification_options w,u,c,r
check_command check_local_disk!20%!10%!/dev/md7
}
This machine (ora3) runs Linux. The check_command works fine, looking at
available space on the partition /dev/md7.
Here is a sample block from a machine running Solaris (version 8 or 9):
# Service definition
define service{
use generic-service ; Name of
service template to use
host_name neptune
service_description /archives Free Space
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups admins
notification_interval 20
notification_period 24x7
notification_options w,u,c,r
check_command
check_local_disk!20%!10%!/dev/dsk/c6t1d1s6
}
This returns 'Disk "/dev/dsk/c6t1d1s6" not mounted or nonexistant' under
'Service Detail'. The partition does exist.
Am I missing a plugin for Solaris?
Thanks
Mike
-------------------------------------------------------
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_id=1470&alloc_id=3638&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