![]() |
![]() |
Subject: | Collecting String data from SNMP during performance cycle? |
Author: | Pheripheral Pheripheral |
Posted: | 2017-08-14 10:47 |
Hi,
I'm creating an snmp zenpack to monitor a device and have the performance data update the component info when things change.
The device returns in its data for each component:
A status integer – 1,2, or 3 (representing Up, Down or Degraded)
A status string that contains further info on the status when the status is not 1 ( i.e. not Up)
I've successfully retrieved the status integer via a SNMP motinoring datasource and a minmax threshold, which fires an event which then updates the value of the status data on the component and alters the event severity depending on the status. This works fine and my component display updates when the atstus changes and suitable events are raised.
I'm struggling to work out how to also collect the status string information to be able update the component when it changes.
I did try using the value change threshold to track when the status string data changes, but this seems to only work if the status string contains numbers as the threshold seems to assume it's a number.
Help or guidance of how this can be achieved is welcome.
I guess the question is ultimately how do you collect strings from snmp during the performance cycle rather than at monitoring time.
(I can get the status string at monitoring time ok!)
Thanks
Dafydd
Subject: | RE: Collecting String data from SNMP during performance cycle? |
Author: | Jane Curry |
Posted: | 2017-08-14 12:34 |
Subject: | RE: Collecting String data from SNMP during performance cycle? |
Author: | Patrick McMahon |
Posted: | 2017-08-15 10:26 |
Subject: | RE: Collecting String data from SNMP during performance cycle? |
Author: | Pheripheral Pheripheral |
Posted: | 2017-08-15 14:26 |
Subject: | RE: Collecting String data from SNMP during performance cycle? |
Author: | Jane Curry |
Posted: | 2017-08-16 06:32 |
Subject: | RE: Collecting String data from SNMP during performance cycle? |
Author: | Pheripheral Pheripheral |
Posted: | 2017-08-17 13:03 |
Hi,
I'm creating an snmp zenpack to monitor a device and have the performance data update the component info when things change.
The device returns in its data for each component:
A status integer – 1,2, or 3 (representing Up, Down or Degraded)
A status string that contains further info on the status when the status is not 1 ( i.e. not Up)
I've successfully retrieved the status integer via a SNMP motinoring datasource and a minmax threshold, which fires an event which then updates the value of the status data on the component and alters the event severity depending on the status. This works fine and my component display updates when the atstus changes and suitable events are raised.
I'm struggling to work out how to also collect the status string information to be able update the component when it changes.
I did try using the value change threshold to track when the status string data changes, but this seems to only work if the status string contains numbers as the threshold seems to assume it's a number.
Help or guidance of how this can be achieved is welcome.
I guess the question is ultimately how do you collect strings from snmp during the performance cycle rather than at monitoring time.
(I can get the status string at monitoring time ok!)
Thanks
Dafydd
Subject: | RE: Collecting String data from SNMP during performance cycle? |
Author: | Jane Curry |
Posted: | 2017-08-18 03:53 |
< |
Previous SNMP traps no longer being reported after installing Cisco MIB zenpack |
Next Can I add the trigger to the notification body? |
> |