Monitor Dynamic OID's via SNMP
Posted: Mon Oct 07, 2019 6:34 am
Hello all,
We have nagios XI running in our team and we have few crestron devices which run automation in our building. We would like to monitor those devices via SNMP and there are few OID's which have the connection states.
We would like to monitor the crestron devices connection to a master device we check connection state being established on the OID. The problem is that if we set to monitor those OID's they usually change each time there is a disconnection/re-connection as the dynamic ports are changing.
For example the entry might be like below before disconnection
After re-connection it changes ports for example to:
Is there a way we can monitor those dynamic OID's using something already built into Nagios? should we create a custom script for the logic?
Thanks in advance
We have nagios XI running in our team and we have few crestron devices which run automation in our building. We would like to monitor those devices via SNMP and there are few OID's which have the connection states.
We would like to monitor the crestron devices connection to a master device we check connection state being established on the OID. The problem is that if we set to monitor those OID's they usually change each time there is a disconnection/re-connection as the dynamic ports are changing.
For example the entry might be like below before disconnection
Code: Select all
TCP-MIB::tcpConnState.172.17.1.202.8000.172.16.7.100.52886 = INTEGER: stablished(5)
Code: Select all
TCP-MIB::tcpConnState.172.17.1.202.8000.172.16.7.100.42286 = INTEGER: stablished(5)Thanks in advance