On 13/06/2017 14:24:01, Youssef BENGELLOUN - ZAHR <ybzahr@prodware.fr> wrote:
Dear community,
I tried creating a new alert checker for testing purposes (same matching conditions, etc.). Results are the same
I tried changing matching conditions from :
bgpPeerAdminStatus notequals *stop*
bgpPeerState notequals established
to :
bgpPeerAdminStatus notequals *halt*
bgpPeerState notequals established
I end up with the same results :-/. Anybody wanna take another wild guess at this ?
After all, I’m just using the checker provided as an exemple on Observium’s website ;-)
http://docs.observium.org/alerting_examples/
Best regards.
Le 12/06/2017 12:42, « Youssef BENGELLOUN - ZAHR »a écrit :
Dear Michael,
Same outputs for IPv4 and IPv6 :
bgp4V2PeerAdminStatus.1.1.4.blabla.1.4.X.Y.Z.5 = halted
bgp4V2PeerAdminStatus.1.1.4.blabla.1.4.X.Y.Z.6 = halted
Same checker running for both address families :
- works fine for IPv4,
- doesn't work for IPv6,
I'll try configuring a new checker but I think something is wrong.
Best regards.
Le 12 juin 2017 à 12:37, Michaela écrit :
>>>>>> SNMP outputs are fine :
>>>>>>
>>>>>> bgp4V2PeerAdminStatus.1.2.16.42.0.191.64.0.0.0.0.0.0.0.0.0.0.0.2.2.16.42.0.191.64.0.0.0.0.0.0.0.0.0.0.0.5 = halted
>>>>>> bgp4V2PeerAdminStatus.1.2.16.42.0.191.64.0.0.0.0.0.0.0.0.0.0.0.2.2.16.42.0.191.64.0.0.0.0.0.0.0.0.0.0.0.6 = halted
>
>
> (I haven't looked enough into the alerting subsystem, so playing this by ear)
>
>
> You are testing on bgpPeerAdminStatus notequals stop.
>
> Your snmp output is for bgpv4V2PeerAdminStatus, but lets assume it's being caught correctly and passed over to the other naming... You still need to change your test to be notequals halted (as the BGP4V2-MIB only has 'halted' and 'running' as the states).
>
> Try making a new alert checker with the test condition set to
>
> bgpv4V2PeerAdminStatus notequals halted
> or
> bgpPeerAdminStatus notequals halted
>
>
>
> But you'll probably also need to set the right peer state
>
> bgp4V2PeerState notequals established
>
>
> Michael
>
>
BENGELLOUN - ZAHR Youssef - Consultant Expert
Prodware France
T : +33 979 999 000 F : +33 988 814 001 - ybzahr@prodware.fr
Web : prodware.fr
_______________________________________________
> observium mailing list
> observium@observium.org
> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium