19.02.2013 Views

SNMP Trap Handling für Nagios

SNMP Trap Handling für Nagios

SNMP Trap Handling für Nagios

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

11<br />

<strong>SNMP</strong> <strong>Trap</strong> <strong>Handling</strong> <strong>für</strong> <strong>Nagios</strong><br />

Konvertieren d. benötigten MIBS mit snmpttconvertmib<br />

■ Beispielergebnis /etc/snmptt/snmptt.conf.apx (4):<br />

#<br />

EVENT apxJobCancelled .1.3.6.1.4.1.1024.2.24.11.11.0.2004 "Status<br />

Events" Normal<br />

FORMAT Job cancelled $*<br />

EXEC /usr/lib/nagios/ops_plugins/apx_service_trap_wrapper $r $3 $5<br />

$2 $7 $1<br />

SDESC<br />

Job cancelled<br />

Variables:<br />

1: apx<strong>Trap</strong>ID<br />

2: apxJobkey<br />

3: apxJobname<br />

4: apxJobOID<br />

5: apxCondCode<br />

6: apxJobstate<br />

7: apxGroup<br />

EDESC<br />

September 22, 2006

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!