Skip to content

Commit

Permalink
Issue #297 - Switching snmpTrapOID and sysUpTime to conform with RFC3416
Browse files Browse the repository at this point in the history
  • Loading branch information
nradonicich committed Jul 14, 2015
1 parent f95d642 commit a1d8ade
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -81,8 +81,8 @@ public void sendNotification(Check check, Subscription subscription, List<Alert>
OID id = new OID(seyrenConfig.getSnmpOID()+".7");
OID checkUrl = new OID(seyrenConfig.getSnmpOID()+".8");

trap.add(new VariableBinding(SnmpConstants.snmpTrapOID, oid));
trap.add(new VariableBinding(SnmpConstants.sysUpTime, new TimeTicks(5000)));
trap.add(new VariableBinding(SnmpConstants.snmpTrapOID, oid));

//Add Payload
trap.add(variableBinding(name, check.getName()));
Expand Down

0 comments on commit a1d8ade

Please sign in to comment.