Dear all,<br><br>I am using Fedore core 5 and i have install nagios for Network monitoring. <br>Version Details:<br>OS - Linux Fedora Core 5<br>Application : Nagios 2.5<br>SNMP 5.3.1<br>CISCO MIB file using V1<br>My Setup description:<br>1 .SNMP trap daemon will receive SNMP traps <br>2 . SNMP trap daemon will handle traps to /var/spool/snmptt<br>3. SNMPTT will get the traps from /var/spool/snmptt directory<br>4. SNMPTT translate the mibs and handover to syslog (/var/log/message)<br>5 . I have called SEC to correlate the events from syslog and sec will in turn use the python script to correlate the event to handover to nagios cmd.<br>I am verifying the documents form sysadmin site.<br><br>I have copied the same service templates from the site for my configuration.<br>iam using minimal.cfg as object configuartion file in that service template is given below<br><br><pre>define service {<br> use passive-check-template<br> name generic-snmptrap<br> <br>
service_description snmp_trap_handling<br> is_volatile 1<br> check_period none<br> notification_interval 120<br> notification_options w,u,c,r<br> notification_period 24x7<br> check_command passive_check_missing<br> max_check_attempts 1<br> check_freshness 0<br> stalking_options o,w,u,c<br> register 0<br>}<br>define service {<br> use generic-snmptrap<br> host_name my_example_host<br> contact_groups my_example_group<br> service_description snmp_trap_handling_ok<br>}<br><br>define service {<br> use generic-snmptrap<br> host_name my_example_host<br> contact_groups my_example_group<br> service_description snmp_trap_handling_warning<br>}<br><br>define service {<br> use generic-snmptrap<br> host_name my_example_host<br> contact_groups my_example_group<br> service_description snmp_trap_handling_critical<br>}<br><br><br></pre>when i execute nagios it
says error message as given below<br><br><span style="font-weight: bold; color: rgb(255, 0, 0);">Error: Template 'passive-check-template' specified in service definition could not be not found (config file '/etc/nagios/minimal.cfg', starting on line 307)</span><br style="font-weight: bold; color: rgb(255, 0, 0);"><span style="font-weight: bold; color: rgb(255, 0, 0);">Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'snmp_trap_handling_Critical' on host 'router1'</span><br style="font-weight: bold; color: rgb(255, 0, 0);"><span style="font-weight: bold; color: rgb(255, 0, 0);">Error: Could not register service (config file '/etc/nagios/minimal.cfg', starting on line 330)</span><br>how to integrate SNMP traps in nagios web browser<br><br><br>Pls find my configuration files with this . Pls help me in this regard<br><br>With Regards<br>Hariharan<br><br><p>
<hr size=1><a href="http://us.rd.yahoo.com/evt=43256/*http://advision.webevents.yahoo.com/mailbeta"> All-new Yahoo! Mail </a>- Fire up a more powerful email and get things done faster.