Whatever php supports in preg_match :)
We just dump the third part into preg_match().
adam.
------ Original Message ------ From: "Zhenhui Liang" ZhenhuiLiang@eharmony.com To: "Observium Network Observation System" observium@observium.org Sent: 12/16/2014 4:58:30 PM Subject: Re: [Observium] junos logical sub interface state
I guess the question is, in our condition field, what level of regex do we support? Do I need to escape the dot?
On 12/16/14, 2:54 PM, "Zhenhui Liang" ZhenhuiLiang@eharmony.com wrote:
Oh, that might not be right. Still need to tweak.
On 12/16/14, 2:50 PM, "Zhenhui Liang" ZhenhuiLiang@eharmony.com wrote:
Ok, I added ifDescr !match *.*
In the condition, seems working. Although I don¹t feel that clean about it.
I would like to only care about physical interface, not logical. But I tried all snmp mibs in the mib list, none of them I found tell you it¹s a logical interface. So I rely on the pattern *dot* in junos to indicate a logical port.
On 12/16/14, 1:18 PM, "Zhenhui Liang" ZhenhuiLiang@eharmony.com wrote:
Hi,
I shutdown all unused ports to make the alerter life easier. But after I done so, all good except ae ports sub interfaces still shows on observium as failed even though the main ae physical ports already administratively down.
For instace, ae11: show interfaces ae11 Physical interface: ae11, Administratively down, Physical link is Down
But observium still complain ae11.0 failed check: show interfaces ae11.0 Logical interface ae11.0 (Index 153) (SNMP ifIndex 982)
How do we ignore logical interfaces when setting up alerter? My current condition is:
ifAdminStatus equals up ifOperStatus equals down
Thank you.
‹Zhenhui _______________________________________________ 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
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