![](https://secure.gravatar.com/avatar/7df3158a769df237e05d30792a8e20ec.jpg?s=120&d=mm&r=g)
Hi,
Has anyone else seen the issue where after enabling an alert checker for transceiver optics with sensor_value greater @sensor_limit and sensor_value less @sensor_limit_low, alerts are still received for shutdown interfaces?
For example, on a cisco switch when running ‘show interfaces transceiver detail’, we can see; Optical High Alarm High Warn Low Warn Low Alarm Receive Power Threshold Threshold Threshold Threshold Port (dBm) (dBm) (dBm) (dBm) (dBm) Te1/1/25 -40.0 1.9 -1.0 -9.9 -13.9 Te2/1/1 -40.0 1.9 -1.0 -9.9 -13.9 Etc..
Te1/1/25 admin down down Te2/1/1 admin down down Etc
The sensors page shows the correct thresholds etc, but shows the interface in Red (and hence is generating alerts through the checker), rather than grey (as the port is shutdown and has no fibre connected – hence -40dbm.). [cid:image001.png@01D4E0C6.4F698990]
The same port on the Ports page does show the interface as being grey/shutdown [cid:image002.png@01D4E0C6.4F698990]
Have no idea how to resolve this and stop getting transceiver alerts for shutdown interfaces? This sounds like a potential bug?
Thanks, Andy.
![](https://secure.gravatar.com/avatar/4da852f860f42e6cb3043cff36021c5d.jpg?s=120&d=mm&r=g)
That bothered me too. I have a small patch for that if you want it.
Luis
On Fri, Mar 22, 2019, 12:46 Andrew Lemin via observium < observium@observium.org> wrote:
Hi,
Has anyone else seen the issue where after enabling an alert checker for transceiver optics with sensor_value greater @sensor_limit and sensor_value less @sensor_limit_low, alerts are still received for shutdown interfaces?
For example, on a cisco switch when running ‘show interfaces transceiver detail’, we can see;
Optical High Alarm High Warn Low Warn Low Alarm Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
Te1/1/25 -40.0 1.9 -1.0 -9.9 -13.9
Te2/1/1 -40.0 1.9 -1.0 -9.9 -13.9
Etc..
Te1/1/25 admin down down
Te2/1/1 admin down down
Etc
The sensors page shows the correct thresholds etc, but shows the interface in Red (and hence is generating alerts through the checker), rather than grey (as the port is shutdown and has no fibre connected – hence -40dbm.).
The same port on the Ports page does show the interface as being grey/shutdown
Have no idea how to resolve this and stop getting transceiver alerts for shutdown interfaces? This sounds like a potential bug?
Thanks, Andy. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/7df3158a769df237e05d30792a8e20ec.jpg?s=120&d=mm&r=g)
Hey Luis,
Oh wow, yes please. Could you share it here in the list so that Adam can review it also? If it makes sense and is not in conflict with other logic Adam may be able to integrate it ☺
For now this (see below) does seem to work.. And there are other far more important things to worry about (choose your battles etc ;) – For us our No1 missing-feature is being able to generate alerts when the [CDR] threshold is breached on an interface.
We have this fantastic mechanism for encoding the CDR’s on interfaces using ‘[]’, but no means of actually doing anything useful with it! ☹ We desperately want to kill of Cacti, but we cannot until Observium supports interface threshold alerting based on the interface description’s [CDR] value.
What do we have to do to make this happen Adam? It seems such a waste having [CDR] but not being able to use it?
[cid:image001.png@01D4E56A.A599C840]
Thanks again, All the best, Andy.
From: Luis Balbinot luis@luisbalbinot.com Sent: 28 March 2019 13:06 To: Observium observium@observium.org Cc: Andrew Lemin AndrewL@4d-dc.com Subject: Re: [Observium] Low dbm sensor alerts for shutdown interfaces
That bothered me too. I have a small patch for that if you want it.
Luis
On Fri, Mar 22, 2019, 12:46 Andrew Lemin via observium <observium@observium.orgmailto:observium@observium.org> wrote: Hi,
Has anyone else seen the issue where after enabling an alert checker for transceiver optics with sensor_value greater @sensor_limit and sensor_value less @sensor_limit_low, alerts are still received for shutdown interfaces?
For example, on a cisco switch when running ‘show interfaces transceiver detail’, we can see; Optical High Alarm High Warn Low Warn Low Alarm Receive Power Threshold Threshold Threshold Threshold Port (dBm) (dBm) (dBm) (dBm) (dBm) Te1/1/25 -40.0 1.9 -1.0 -9.9 -13.9 Te2/1/1 -40.0 1.9 -1.0 -9.9 -13.9 Etc..
Te1/1/25 admin down down Te2/1/1 admin down down Etc
The sensors page shows the correct thresholds etc, but shows the interface in Red (and hence is generating alerts through the checker), rather than grey (as the port is shutdown and has no fibre connected – hence -40dbm.). [cid:image001.png@01D4E0C6.4F698990]
The same port on the Ports page does show the interface as being grey/shutdown [cid:image002.png@01D4E0C6.4F698990]
Have no idea how to resolve this and stop getting transceiver alerts for shutdown interfaces? This sounds like a potential bug?
Thanks, Andy. _______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/4da852f860f42e6cb3043cff36021c5d.jpg?s=120&d=mm&r=g)
Sure, but it's ugly.
I have a nicer solution for the Juniper-DOM MIB but I came up with a quick and dirty one for the Cisco Entity Sensor MIB. Basically we skip the discovery for interfaces that are shutdown. This could be done much earlier in the code, etc, but it will work for you for now.
Each MIB has a different approach so it's up to Alan to decide on a unified solution that catches all.
Index: cisco-entity-sensor-mib.inc.php =================================================================== --- cisco-entity-sensor-mib.inc.php (revision 9792) +++ cisco-entity-sensor-mib.inc.php (working copy) @@ -156,6 +156,9 @@ $options['measured_class'] = 'port'; $options['measured_entity'] = $port['port_id']; $options['entPhysicalIndex_measured'] = $port['ifIndex']; + if ($port['ifAdminStatus'] == "down") { + continue; + } }
}
On Thu, Mar 28, 2019 at 10:39 AM Andrew Lemin AndrewL@4d-dc.com wrote:
Hey Luis,
Oh wow, yes please. Could you share it here in the list so that Adam can review it also?
If it makes sense and is not in conflict with other logic Adam may be able to integrate it J
For now this (see below) does seem to work.. And there are other far more important things to worry about (choose your battles etc ;) – For us our No1 missing-feature is being able to generate alerts when the [CDR] threshold is breached on an interface.
We have this fantastic mechanism for encoding the CDR’s on interfaces using ‘[]’, but no means of actually doing anything useful with it! L
We desperately want to kill of Cacti, but we cannot until Observium supports interface threshold alerting based on the interface description’s [CDR] value.
What do we have to do to make this happen Adam? It seems such a waste having [CDR] but not being able to use it?
Thanks again,
All the best, Andy.
*From:* Luis Balbinot luis@luisbalbinot.com *Sent:* 28 March 2019 13:06 *To:* Observium observium@observium.org *Cc:* Andrew Lemin AndrewL@4d-dc.com *Subject:* Re: [Observium] Low dbm sensor alerts for shutdown interfaces
That bothered me too. I have a small patch for that if you want it.
Luis
On Fri, Mar 22, 2019, 12:46 Andrew Lemin via observium < observium@observium.org> wrote:
Hi,
Has anyone else seen the issue where after enabling an alert checker for transceiver optics with sensor_value greater @sensor_limit and sensor_value less @sensor_limit_low, alerts are still received for shutdown interfaces?
For example, on a cisco switch when running ‘show interfaces transceiver detail’, we can see;
Optical High Alarm High Warn Low Warn Low Alarm Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
Te1/1/25 -40.0 1.9 -1.0 -9.9 -13.9
Te2/1/1 -40.0 1.9 -1.0 -9.9 -13.9
Etc..
Te1/1/25 admin down down
Te2/1/1 admin down down
Etc
The sensors page shows the correct thresholds etc, but shows the interface in Red (and hence is generating alerts through the checker), rather than grey (as the port is shutdown and has no fibre connected – hence -40dbm.).
The same port on the Ports page does show the interface as being grey/shutdown
Have no idea how to resolve this and stop getting transceiver alerts for shutdown interfaces? This sounds like a potential bug?
Thanks, Andy.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/3bbbd945c333b8013d0dfa23058f65b9.jpg?s=120&d=mm&r=g)
ohh, no.. pleeeeease, do not use this!..
Luis Balbinot via observium wrote on 28/03/2019 17:17:
Sure, but it's ugly.
I have a nicer solution for the Juniper-DOM MIB but I came up with a quick and dirty one for the Cisco Entity Sensor MIB. Basically we skip the discovery for interfaces that are shutdown. This could be done much earlier in the code, etc, but it will work for you for now.
Each MIB has a different approach so it's up to Alan to decide on a unified solution that catches all.
Index: cisco-entity-sensor-mib.inc.php
--- cisco-entity-sensor-mib.inc.php(revision 9792) +++ cisco-entity-sensor-mib.inc.php(working copy) @@ -156,6 +156,9 @@ $options['measured_class'] = 'port'; $options['measured_entity'] = $port['port_id']; $options['entPhysicalIndex_measured'] = $port['ifIndex']; + if ($port['ifAdminStatus'] == "down") {
- continue;
- }
}
}
On Thu, Mar 28, 2019 at 10:39 AM Andrew Lemin <AndrewL@4d-dc.com mailto:AndrewL@4d-dc.com> wrote:
Hey Luis, Oh wow, yes please. Could you share it here in the list so that Adam can review it also? If it makes sense and is not in conflict with other logic Adam may be able to integrate it J For now this (see below) does seem to work.. And there are other far more important things to worry about (choose your battles etc ;) – For us our No1 missing-feature is being able to generate alerts when the [CDR] threshold is breached on an interface. We have this fantastic mechanism for encoding the CDR’s on interfaces using ‘[]’, but no means of actually doing anything useful with it! L We desperately want to kill of Cacti, but we cannot until Observium supports interface threshold alerting based on the interface description’s [CDR] value. What do we have to do to make this happen Adam? It seems such a waste having [CDR] but not being able to use it? Thanks again, All the best, Andy. *From:*Luis Balbinot <luis@luisbalbinot.com <mailto:luis@luisbalbinot.com>> *Sent:* 28 March 2019 13:06 *To:* Observium <observium@observium.org <mailto:observium@observium.org>> *Cc:* Andrew Lemin <AndrewL@4d-dc.com <mailto:AndrewL@4d-dc.com>> *Subject:* Re: [Observium] Low dbm sensor alerts for shutdown interfaces That bothered me too. I have a small patch for that if you want it. Luis On Fri, Mar 22, 2019, 12:46 Andrew Lemin via observium <observium@observium.org <mailto:observium@observium.org>> wrote: Hi, Has anyone else seen the issue where after enabling an alert checker for transceiver optics with sensor_value greater @sensor_limit andsensor_value less @sensor_limit_low, alerts are still received for shutdown interfaces? For example, on a cisco switch when running ‘show interfaces transceiver detail’, we can see; Optical High Alarm High Warn Low Warn Low Alarm Receive Power Threshold Threshold Threshold Threshold Port (dBm) (dBm) (dBm) (dBm) (dBm) Te1/1/25 -40.0 1.9 -1.0 -9.9 -13.9 Te2/1/1 -40.0 1.9 -1.0 -9.9 -13.9 Etc.. Te1/1/25 admin down down Te2/1/1 admin down down Etc The sensors page shows the correct thresholds etc, but shows the interface in Red (and hence is generating alerts through the checker), rather than grey (as the port is shutdown and has no fibre connected – hence -40dbm.). The same port on the Ports page does show the interface as being grey/shutdown Have no idea how to resolve this and stop getting transceiver alerts for shutdown interfaces? This sounds like a potential bug? Thanks, Andy. _______________________________________________ observium mailing list observium@observium.org <mailto: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
![](https://secure.gravatar.com/avatar/7df3158a769df237e05d30792a8e20ec.jpg?s=120&d=mm&r=g)
Ahhh, ok I see.
Yea I agree with Mike, this is bad practice ☹
But I don’t blame you and this shows nicely why it is so important to make things work in sensible ways initially so that users do not feel compelled to make such hacks. Thanks Luis.
PS; I would try the suggested workaround Luis with the Sensor Measured Port Group as that is more robust even if awkward.
Cheers, A
From: Mike Stupalov via observium observium@observium.org Sent: 28 March 2019 14:20 To: Observium observium@observium.org; Luis Balbinot via observium observium@observium.org Cc: Mike Stupalov mike@observium.org Subject: Re: [Observium] Low dbm sensor alerts for shutdown interfaces
ohh, no.. pleeeeease, do not use this!..
Luis Balbinot via observium wrote on 28/03/2019 17:17:
Sure, but it's ugly.
I have a nicer solution for the Juniper-DOM MIB but I came up with a quick and dirty one for the Cisco Entity Sensor MIB. Basically we skip the discovery for interfaces that are shutdown. This could be done much earlier in the code, etc, but it will work for you for now.
Each MIB has a different approach so it's up to Alan to decide on a unified solution that catches all.
Index: cisco-entity-sensor-mib.inc.php =================================================================== --- cisco-entity-sensor-mib.inc.php (revision 9792) +++ cisco-entity-sensor-mib.inc.php (working copy) @@ -156,6 +156,9 @@ $options['measured_class'] = 'port'; $options['measured_entity'] = $port['port_id']; $options['entPhysicalIndex_measured'] = $port['ifIndex']; + if ($port['ifAdminStatus'] == "down") { + continue; + } }
}
On Thu, Mar 28, 2019 at 10:39 AM Andrew Lemin <AndrewL@4d-dc.commailto:AndrewL@4d-dc.com> wrote: Hey Luis,
Oh wow, yes please. Could you share it here in the list so that Adam can review it also? If it makes sense and is not in conflict with other logic Adam may be able to integrate it ☺
For now this (see below) does seem to work.. And there are other far more important things to worry about (choose your battles etc ;) – For us our No1 missing-feature is being able to generate alerts when the [CDR] threshold is breached on an interface.
We have this fantastic mechanism for encoding the CDR’s on interfaces using ‘[]’, but no means of actually doing anything useful with it! ☹ We desperately want to kill of Cacti, but we cannot until Observium supports interface threshold alerting based on the interface description’s [CDR] value.
What do we have to do to make this happen Adam? It seems such a waste having [CDR] but not being able to use it?
[cid:image001.png@01D4E577.D5E858B0]
Thanks again, All the best, Andy.
From: Luis Balbinot <luis@luisbalbinot.commailto:luis@luisbalbinot.com> Sent: 28 March 2019 13:06 To: Observium <observium@observium.orgmailto:observium@observium.org> Cc: Andrew Lemin <AndrewL@4d-dc.commailto:AndrewL@4d-dc.com> Subject: Re: [Observium] Low dbm sensor alerts for shutdown interfaces
That bothered me too. I have a small patch for that if you want it.
Luis
On Fri, Mar 22, 2019, 12:46 Andrew Lemin via observium <observium@observium.orgmailto:observium@observium.org> wrote: Hi,
Has anyone else seen the issue where after enabling an alert checker for transceiver optics with sensor_value greater @sensor_limit and sensor_value less @sensor_limit_low, alerts are still received for shutdown interfaces?
For example, on a cisco switch when running ‘show interfaces transceiver detail’, we can see; Optical High Alarm High Warn Low Warn Low Alarm Receive Power Threshold Threshold Threshold Threshold Port (dBm) (dBm) (dBm) (dBm) (dBm) Te1/1/25 -40.0 1.9 -1.0 -9.9 -13.9 Te2/1/1 -40.0 1.9 -1.0 -9.9 -13.9 Etc..
Te1/1/25 admin down down Te2/1/1 admin down down Etc
The sensors page shows the correct thresholds etc, but shows the interface in Red (and hence is generating alerts through the checker), rather than grey (as the port is shutdown and has no fibre connected – hence -40dbm.).
The same port on the Ports page does show the interface as being grey/shutdown
Have no idea how to resolve this and stop getting transceiver alerts for shutdown interfaces? This sounds like a potential bug?
Thanks, Andy. _______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.orgmailto:observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov Observium Limited, http://observium.org
![](https://secure.gravatar.com/avatar/d93c92d9a424f4e69345438bd6a3b084.jpg?s=120&d=mm&r=g)
Hi Andrew,
Thanks for sharing this alert technique; I'm trying to recreate it. Is "All NOT Shut Ports" something that you have defined elsewhere?
Also, can you see dBm values from Cisco 3650 and 3850 SFPs? Here I can only see values returned from 6807 and Nexus family devices, Brocades return optical values too. Now that I check, I did see some 3650 SFP values a long time ago but only from one switch - very curious.
Regards
Darren
On Thu, 28 Mar 2019 at 13:40, Andrew Lemin via observium < observium@observium.org> wrote:
Hey Luis,
Oh wow, yes please. Could you share it here in the list so that Adam can review it also?
If it makes sense and is not in conflict with other logic Adam may be able to integrate it J
For now this (see below) does seem to work.. And there are other far more important things to worry about (choose your battles etc ;) – For us our No1 missing-feature is being able to generate alerts when the [CDR] threshold is breached on an interface.
We have this fantastic mechanism for encoding the CDR’s on interfaces using ‘[]’, but no means of actually doing anything useful with it! L
We desperately want to kill of Cacti, but we cannot until Observium supports interface threshold alerting based on the interface description’s [CDR] value.
What do we have to do to make this happen Adam? It seems such a waste having [CDR] but not being able to use it?
Thanks again,
All the best, Andy.
*From:* Luis Balbinot luis@luisbalbinot.com *Sent:* 28 March 2019 13:06 *To:* Observium observium@observium.org *Cc:* Andrew Lemin AndrewL@4d-dc.com *Subject:* Re: [Observium] Low dbm sensor alerts for shutdown interfaces
That bothered me too. I have a small patch for that if you want it.
Luis
On Fri, Mar 22, 2019, 12:46 Andrew Lemin via observium < observium@observium.org> wrote:
Hi,
Has anyone else seen the issue where after enabling an alert checker for transceiver optics with sensor_value greater @sensor_limit and sensor_value less @sensor_limit_low, alerts are still received for shutdown interfaces?
For example, on a cisco switch when running ‘show interfaces transceiver detail’, we can see;
Optical High Alarm High Warn Low Warn Low Alarm Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
Te1/1/25 -40.0 1.9 -1.0 -9.9 -13.9
Te2/1/1 -40.0 1.9 -1.0 -9.9 -13.9
Etc..
Te1/1/25 admin down down
Te2/1/1 admin down down
Etc
The sensors page shows the correct thresholds etc, but shows the interface in Red (and hence is generating alerts through the checker), rather than grey (as the port is shutdown and has no fibre connected – hence -40dbm.).
The same port on the Ports page does show the interface as being grey/shutdown
Have no idea how to resolve this and stop getting transceiver alerts for shutdown interfaces? This sounds like a potential bug?
Thanks, Andy.
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
![](https://secure.gravatar.com/avatar/d93c92d9a424f4e69345438bd6a3b084.jpg?s=120&d=mm&r=g)
*BLUSH* - Just found Mike's post about port groups - please ignore the query.
However, if anyone else can comment, the query about 3650 and 3850 SFPs not showing up still stands.
Thanks again
Darren
On Thu, 28 Mar 2019 at 22:26, Storer, Darren darren.storer@gmail.com wrote:
Hi Andrew,
Thanks for sharing this alert technique; I'm trying to recreate it. Is "All NOT Shut Ports" something that you have defined elsewhere?
Also, can you see dBm values from Cisco 3650 and 3850 SFPs? Here I can only see values returned from 6807 and Nexus family devices, Brocades return optical values too. Now that I check, I did see some 3650 SFP values a long time ago but only from one switch - very curious.
Regards
Darren
On Thu, 28 Mar 2019 at 13:40, Andrew Lemin via observium < observium@observium.org> wrote:
Hey Luis,
Oh wow, yes please. Could you share it here in the list so that Adam can review it also?
If it makes sense and is not in conflict with other logic Adam may be able to integrate it J
For now this (see below) does seem to work.. And there are other far more important things to worry about (choose your battles etc ;) – For us our No1 missing-feature is being able to generate alerts when the [CDR] threshold is breached on an interface.
We have this fantastic mechanism for encoding the CDR’s on interfaces using ‘[]’, but no means of actually doing anything useful with it! L
We desperately want to kill of Cacti, but we cannot until Observium supports interface threshold alerting based on the interface description’s [CDR] value.
What do we have to do to make this happen Adam? It seems such a waste having [CDR] but not being able to use it?
Thanks again,
All the best, Andy.
*From:* Luis Balbinot luis@luisbalbinot.com *Sent:* 28 March 2019 13:06 *To:* Observium observium@observium.org *Cc:* Andrew Lemin AndrewL@4d-dc.com *Subject:* Re: [Observium] Low dbm sensor alerts for shutdown interfaces
That bothered me too. I have a small patch for that if you want it.
Luis
On Fri, Mar 22, 2019, 12:46 Andrew Lemin via observium < observium@observium.org> wrote:
Hi,
Has anyone else seen the issue where after enabling an alert checker for transceiver optics with sensor_value greater @sensor_limit and sensor_value less @sensor_limit_low, alerts are still received for shutdown interfaces?
For example, on a cisco switch when running ‘show interfaces transceiver detail’, we can see;
Optical High Alarm High Warn Low Warn Low Alarm Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
Te1/1/25 -40.0 1.9 -1.0 -9.9 -13.9
Te2/1/1 -40.0 1.9 -1.0 -9.9 -13.9
Etc..
Te1/1/25 admin down down
Te2/1/1 admin down down
Etc
The sensors page shows the correct thresholds etc, but shows the interface in Red (and hence is generating alerts through the checker), rather than grey (as the port is shutdown and has no fibre connected – hence -40dbm.).
The same port on the Ports page does show the interface as being grey/shutdown
Have no idea how to resolve this and stop getting transceiver alerts for shutdown interfaces? This sounds like a potential bug?
Thanks, Andy.
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
![](https://secure.gravatar.com/avatar/3bbbd945c333b8013d0dfa23058f65b9.jpg?s=120&d=mm&r=g)
Storer, Darren via observium wrote on 29/03/2019 01:50:
*BLUSH* - Just found Mike's post about port groups - please ignore the query.
However, if anyone else can comment, the query about 3650 and 3850 SFPs not showing up still stands.
Mostly this is firmware case, I know randomly changes (by mistakes) in new firmwares, when previously was dom sensors, but not in new firmmware (for this cisco devices).
But also need to see discovery debug, for know exactly: ./discovery.php -d -m ports,sensors -h <device>
Thanks again
Darren
On Thu, 28 Mar 2019 at 22:26, Storer, Darren <darren.storer@gmail.com mailto:darren.storer@gmail.com> wrote:
Hi Andrew, Thanks for sharing this alert technique; I'm trying to recreate it. Is "All NOT Shut Ports" something that you have defined elsewhere? Also, can you see dBm values from Cisco 3650 and 3850 SFPs? Here I can only see values returned from 6807 and Nexus family devices, Brocades return optical values too. Now that I check, I did see some 3650 SFP values a long time ago but only from one switch - very curious. Regards Darren On Thu, 28 Mar 2019 at 13:40, Andrew Lemin via observium <observium@observium.org <mailto:observium@observium.org>> wrote: Hey Luis, Oh wow, yes please. Could you share it here in the list so that Adam can review it also? If it makes sense and is not in conflict with other logic Adam may be able to integrate it J For now this (see below) does seem to work.. And there are other far more important things to worry about (choose your battles etc ;) – For us our No1 missing-feature is being able to generate alerts when the [CDR] threshold is breached on an interface. We have this fantastic mechanism for encoding the CDR’s on interfaces using ‘[]’, but no means of actually doing anything useful with it! L We desperately want to kill of Cacti, but we cannot until Observium supports interface threshold alerting based on the interface description’s [CDR] value. What do we have to do to make this happen Adam? It seems such a waste having [CDR] but not being able to use it? Thanks again, All the best, Andy. *From:*Luis Balbinot <luis@luisbalbinot.com <mailto:luis@luisbalbinot.com>> *Sent:* 28 March 2019 13:06 *To:* Observium <observium@observium.org <mailto:observium@observium.org>> *Cc:* Andrew Lemin <AndrewL@4d-dc.com <mailto:AndrewL@4d-dc.com>> *Subject:* Re: [Observium] Low dbm sensor alerts for shutdown interfaces That bothered me too. I have a small patch for that if you want it. Luis On Fri, Mar 22, 2019, 12:46 Andrew Lemin via observium <observium@observium.org <mailto:observium@observium.org>> wrote: Hi, Has anyone else seen the issue where after enabling an alert checker for transceiver optics with sensor_value greater @sensor_limit andsensor_value less @sensor_limit_low, alerts are still received for shutdown interfaces? For example, on a cisco switch when running ‘show interfaces transceiver detail’, we can see; Optical High Alarm High Warn Low Warn Low Alarm Receive Power Threshold Threshold Threshold Threshold Port (dBm) (dBm) (dBm) (dBm) (dBm) Te1/1/25 -40.0 1.9 -1.0 -9.9 -13.9 Te2/1/1 -40.0 1.9 -1.0 -9.9 -13.9 Etc.. Te1/1/25 admin down down Te2/1/1 admin down down Etc The sensors page shows the correct thresholds etc, but shows the interface in Red (and hence is generating alerts through the checker), rather than grey (as the port is shutdown and has no fibre connected – hence -40dbm.). The same port on the Ports page does show the interface as being grey/shutdown Have no idea how to resolve this and stop getting transceiver alerts for shutdown interfaces? This sounds like a potential bug? Thanks, Andy. _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org <mailto: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
![](https://secure.gravatar.com/avatar/d93c92d9a424f4e69345438bd6a3b084.jpg?s=120&d=mm&r=g)
Hi Mike,
Many thanks, I have replied off-list with some example SNMP walks.
Regards
Darren
On Fri, 29 Mar 2019 at 21:19, Mike Stupalov mike@observium.org wrote:
Storer, Darren via observium wrote on 29/03/2019 01:50:
*BLUSH* - Just found Mike's post about port groups - please ignore the query.
However, if anyone else can comment, the query about 3650 and 3850 SFPs not showing up still stands.
Mostly this is firmware case, I know randomly changes (by mistakes) in new firmwares, when previously was dom sensors, but not in new firmmware (for this cisco devices).
But also need to see discovery debug, for know exactly: ./discovery.php -d -m ports,sensors -h <device>
Thanks again
Darren
On Thu, 28 Mar 2019 at 22:26, Storer, Darren darren.storer@gmail.com wrote:
Hi Andrew,
Thanks for sharing this alert technique; I'm trying to recreate it. Is "All NOT Shut Ports" something that you have defined elsewhere?
Also, can you see dBm values from Cisco 3650 and 3850 SFPs? Here I can only see values returned from 6807 and Nexus family devices, Brocades return optical values too. Now that I check, I did see some 3650 SFP values a long time ago but only from one switch - very curious.
Regards
Darren
On Thu, 28 Mar 2019 at 13:40, Andrew Lemin via observium < observium@observium.org> wrote:
Hey Luis,
Oh wow, yes please. Could you share it here in the list so that Adam can review it also?
If it makes sense and is not in conflict with other logic Adam may be able to integrate it J
For now this (see below) does seem to work.. And there are other far more important things to worry about (choose your battles etc ;) – For us our No1 missing-feature is being able to generate alerts when the [CDR] threshold is breached on an interface.
We have this fantastic mechanism for encoding the CDR’s on interfaces using ‘[]’, but no means of actually doing anything useful with it! L
We desperately want to kill of Cacti, but we cannot until Observium supports interface threshold alerting based on the interface description’s [CDR] value.
What do we have to do to make this happen Adam? It seems such a waste having [CDR] but not being able to use it?
Thanks again,
All the best, Andy.
*From:* Luis Balbinot luis@luisbalbinot.com *Sent:* 28 March 2019 13:06 *To:* Observium observium@observium.org *Cc:* Andrew Lemin AndrewL@4d-dc.com *Subject:* Re: [Observium] Low dbm sensor alerts for shutdown interfaces
That bothered me too. I have a small patch for that if you want it.
Luis
On Fri, Mar 22, 2019, 12:46 Andrew Lemin via observium < observium@observium.org> wrote:
Hi,
Has anyone else seen the issue where after enabling an alert checker for transceiver optics with sensor_value greater @sensor_limit and sensor_value less @sensor_limit_low, alerts are still received for shutdown interfaces?
For example, on a cisco switch when running ‘show interfaces transceiver detail’, we can see;
Optical High Alarm High Warn Low Warn Low Alarm Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
Te1/1/25 -40.0 1.9 -1.0 -9.9 -13.9
Te2/1/1 -40.0 1.9 -1.0 -9.9 -13.9
Etc..
Te1/1/25 admin down down
Te2/1/1 admin down down
Etc
The sensors page shows the correct thresholds etc, but shows the interface in Red (and hence is generating alerts through the checker), rather than grey (as the port is shutdown and has no fibre connected – hence -40dbm.).
The same port on the Ports page does show the interface as being grey/shutdown
Have no idea how to resolve this and stop getting transceiver alerts for shutdown interfaces? This sounds like a potential bug?
Thanks, Andy.
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 listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov Observium Limited, http://observium.org
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
If the data isn’t available, it’s likely because Cisco haven’t populated this MIB on that platform.
The sensors will be either from CISCO-ENTITY-SENSORS-MIB or from some other Cisco MIB.
Adam.
From: observium observium-bounces@observium.org On Behalf Of Storer, Darren via observium Sent: 28 March 2019 22:26 To: Observium observium@observium.org Cc: Storer, Darren darren.storer@gmail.com Subject: Re: [Observium] Low dbm sensor alerts for shutdown interfaces
Hi Andrew,
Thanks for sharing this alert technique; I'm trying to recreate it. Is "All NOT Shut Ports" something that you have defined elsewhere?
Also, can you see dBm values from Cisco 3650 and 3850 SFPs? Here I can only see values returned from 6807 and Nexus family devices, Brocades return optical values too. Now that I check, I did see some 3650 SFP values a long time ago but only from one switch - very curious.
Regards
Darren
On Thu, 28 Mar 2019 at 13:40, Andrew Lemin via observium <observium@observium.org mailto:observium@observium.org > wrote:
Hey Luis,
Oh wow, yes please. Could you share it here in the list so that Adam can review it also?
If it makes sense and is not in conflict with other logic Adam may be able to integrate it :)
For now this (see below) does seem to work.. And there are other far more important things to worry about (choose your battles etc ;) – For us our No1 missing-feature is being able to generate alerts when the [CDR] threshold is breached on an interface.
We have this fantastic mechanism for encoding the CDR’s on interfaces using ‘[]’, but no means of actually doing anything useful with it! :(
We desperately want to kill of Cacti, but we cannot until Observium supports interface threshold alerting based on the interface description’s [CDR] value.
What do we have to do to make this happen Adam? It seems such a waste having [CDR] but not being able to use it?
Thanks again,
All the best, Andy.
From: Luis Balbinot <luis@luisbalbinot.com mailto:luis@luisbalbinot.com > Sent: 28 March 2019 13:06 To: Observium <observium@observium.org mailto:observium@observium.org > Cc: Andrew Lemin <AndrewL@4d-dc.com mailto:AndrewL@4d-dc.com > Subject: Re: [Observium] Low dbm sensor alerts for shutdown interfaces
That bothered me too. I have a small patch for that if you want it.
Luis
On Fri, Mar 22, 2019, 12:46 Andrew Lemin via observium <observium@observium.org mailto:observium@observium.org > wrote:
Hi,
Has anyone else seen the issue where after enabling an alert checker for transceiver optics with sensor_value greater @sensor_limit and sensor_value less @sensor_limit_low, alerts are still received for shutdown interfaces?
For example, on a cisco switch when running ‘show interfaces transceiver detail’, we can see;
Optical High Alarm High Warn Low Warn Low Alarm
Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
Te1/1/25 -40.0 1.9 -1.0 -9.9 -13.9
Te2/1/1 -40.0 1.9 -1.0 -9.9 -13.9
Etc..
Te1/1/25 admin down down
Te2/1/1 admin down down
Etc
The sensors page shows the correct thresholds etc, but shows the interface in Red (and hence is generating alerts through the checker), rather than grey (as the port is shutdown and has no fibre connected – hence -40dbm.).
The same port on the Ports page does show the interface as being grey/shutdown
Have no idea how to resolve this and stop getting transceiver alerts for shutdown interfaces? This sounds like a potential bug?
Thanks, Andy.
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (5)
-
Adam Armstrong
-
Andrew Lemin
-
Luis Balbinot
-
Mike Stupalov
-
Storer, Darren