> Hi

Hello Vinod,

> but its not mentioned how to define the passive-check-template

like this one is working for me:

define service{
use                             generic-service template to use

        host_name                       $HOST
        service_description             $SERVICE
        is_volatile                     1
        check_period                    $PERIOD
        max_check_attempts              1
        normal_check_interval           5
        retry_check_interval            1
        notification_options            c,r,w
        check_command                   check_none
        check_freshness                 1
        active_checks_enabled           0
        passive_checks_enabled          1
        process_perf_data  1
        }

But you have to enable passive checks and define external comannd file (is a pipe)

> Would appreciate ideas on configuring my monitoring server to receive > snmp traps and which documents should i refer.

if you're using NET-SNMP you shall also check and edit your snmptrapd.conf like this:

traphandle SNMPv2-SMI::enterprises.14828 /root/scripts/snmp/trapping.pl

which says that the /root/scripts/snmp/trapping.pl is doing something with traps from the enterprises community

Regards
Grzegorz Rumatowski


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to