Actually Netsaint is the precursor to nagios.  Netsaint development
stopped quite some time ago, and the project was renamed nagios.

......i have this config on the services.cfg
 
# Service Definition
define service{
        use                             generic-service         ; Name of service template to use
 
        host_name                       Mail
        service_description             Free Space
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  linux-admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_local_disk!20%!10%!/dev/hda1
        }
this service works.....and i have results for the free space on my mail server ......(good).....but the thing is, my mail server don't have a hda1.... it uses scsi disk..........why does nagios have a result on my mail server when in fact, my server is using scsi disk......
 
when i issue the command check_disk on the pc where nagios is installed, they have the same result with what the nagios program is giving as a resul for my mailserver........
 
result form the web interface of nagios for my mail server using scsi
 
DISK OK - [119637 kB (95%) free on /dev/hda1] 
 
result from command line where nagios is installed
[root@pc007 etc]# ../libexec/check_disk -w 20% -c 10% -p /dev/hda1
DISK OK - [119637 kB (95%) free on /dev/hda1]
[root@pc007 etc]#
 
 
meron po ba akong na misconfigure?......bakit same yung results.....?
thanks....

Reply via email to