Solaris plugin?
Subhendu Ghosh
sghosh at sghosh.org
Wed Mar 17 18:22:58 CET 2004
On Wed, 17 Mar 2004, Michael Aldrich wrote:
> 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 will only work if the df on local machine (ora3) returns disk usage
information for the solaris machine (neptune).
What really need to do is execute the check_disk plugin on the Solaris
machine and get the results either via NRPE or check_by_ssh or some other
means.
--
-sg
-------------------------------------------------------
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