Changeset 6731 in genesis for nodes


Ignore:
Timestamp:
Mar 5, 2009, 3:47:12 PM (16 years ago)
Author:
maarten
Message:

added service to interface section

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nodes/gen2nag.pl

    r6635 r6731  
    44# by maarten@wirelessleiden.nl
    55#
     6# v0.6 - Traffic interface check. checking via SNMP
    67# v0.5 - added args support for location output and genesis and added count to parser
    78# v0.4 - handeling proxies
     
    122123        host_name               $nodename
    123124        use                     check-if
    124         service_description     Check interface $key
     125        service_description     Ping $key
    125126        check_command           check_if_ip!$IP{$key}
     127}
     128
     129define service {
     130        host_name               $nodename
     131        use                     check-if
     132        service_description     Traffic $key
     133        check_command           check_if_snmp!$key
    126134}
    127135
Note: See TracChangeset for help on using the changeset viewer.