not able to get the status of some services from the remote machine even with net-snmp running

ankush grover grover1711 at gmail.com
Wed Dec 7 08:56:18 CET 2005


hey friends,

I am not an expert in Nagios.I have configured Nagios to monitor few hosts
in my Network.

There is one FC3 server on which few services like
(mysql,dns,apache,postfix) etc  are running on that server.But through
nagios I am not able to get the information about the disk & swap status
from the remote machine even though snmp & snmptrapd services are running on
this server.

services.cfg
define service{
    host_name        mail
    service_description    swapspacechecking
    check_command        check_swap
    max_check_attempts    5
    normal_check_interval    5
    retry_check_interval    3
    check_period        nonworkhours
    notification_interval    30
    notification_period    nonworkhours
    notification_options    w,c,r
    contact_groups        linux-admins
    }

define service{
    host_name        mail
    service_description    disk_checking_mail
    check_command        check_local_disk_mail
    max_check_attempts    5
    normal_check_interval    5
    retry_check_interval    3
    check_period        nonworkhours
    notification_interval    30
    notification_period    nonworkhours
    notification_options    w,c,r
    contact_groups        linux-admins
    }

checkcommands.cfg file
define command{
    command_name    check_local_disk_mail
        command_line    $USER1$/check_disk -w 10% -c 5% -p /var  -p /usr  -p
/home -p / -p /opt
    }

define command{
    command_name    check_swap
    command_line    $USER1$/check_swap -w 35% -c 15%
    }

In both the above cases the nagios is showing the status for the local
machine on which the nagios is running not for the remote machine.

But plugins for apache ,local load ,mysql on mail machine are working fine.

Does local_disk and check_swap plugins  requires some special configuration.

Moreover I would like to monitor postfix(mailq) running on the
machine.WhatI have to do to the get status of mailq ?

The name of the machine which I am monitoring is mail and the machine name
on which nagios is running is cluster1.

Please guide me.

Thanks & Regards

Ankush Grover
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051207/d39993f8/attachment.html>


More information about the Users mailing list