Re: [Observium] junos logical sub interface state
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
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
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
Reporting again, this might be a bug. When those ports were in check failed state, they don’t recover when I change condition. But when they are back to normal state, they won’t change to bad again either.
So basically I completely removed the alert and recreated another alert checks with only
ifAdminStatus equals up ifOperStatuse quals down
All ports seems happy now.
But still a concern when in future we move some ports, it’s sub interface might incorrectly refuse to change state.
On 12/16/14, 2:58 PM, "Zhenhui Liang" ZhenhuiLiang@eharmony.com wrote:
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
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
Thanks, I guess operators are also php supported operators then? Thanks.
On 12/16/14, 3:44 PM, "Adam Armstrong" adama@memetic.org wrote:
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
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Adam Armstrong
-
Zhenhui Liang