Solaris disk monitoring issue

Serge Bianda serge.bianda at appiancorp.com
Wed Oct 20 20:29:36 CEST 2004


Jason,
The service command is the same that I use for Linux (Redhat and SuSe),
so I'm trying to figure out why is it generating an error message when
it comes to Solaris.

Here is what I have on the service for Redhat:
# Service definition
define service{
      use                             generic-service         ; Name of
service template to use

        host_name                       linserver2
        service_description             / 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           120
        notification_period             24x7
        notification_options            c,r
        check_command
check_local_disk!70%!60%!/dev/sda3
        }

Here is what I have on the service for Solaris:
# Service definition
define service{
      use                             generic-service         ; Name of
service template to use

        host_name                       sunserver1
        service_description             / 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           120
        notification_period             24x7
        notification_options            c,r
        check_command
check_local_disk!70%!60%!/dev/dsk/c1t0d0s0
        }

Serge

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason
Martin
Sent: Wednesday, October 20, 2004 10:38 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Solaris disk monitoring issue

On Wed, Oct 20, 2004 at 09:45:19AM -0400, Serge Bianda wrote:
> Hello all:
> Can someone tell me why I'm not able to check the disk status on a
> Solaris box, but can do it on either redhat or SuSE machine? Below is
a
Can you post the service definition? It looks like you are
attempting to monitor the hardware device instead of the
mountpoint.

-Jason Martin
-- 
I'm a nobody, nobody is perfect, therefore I'm perfect.
This message is PGP/MIME signed.


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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