Hello Community,
Can someone let me know if its possible convert a Trap, see below to an OID? Possibly with the Universal Device Poller?
Hello Community,
Can someone let me know if its possible convert a Trap, see below to an OID? Possibly with the Universal Device Poller?
Not directly the way you are thinking. Traps (which, as a point of correction, are also "OIDS") are configured within the SNMP agent running on every system to send outbound messages when a threshold is breached. It can't be polled.
In some cases, there is an equivalent poll-OID value that will give you the current value.
If that's not the case, then your next best option is to have NPM receive the trap and turn it into a message that you can view in the MessageCenter (and additionally an alert).
If you are more specific with which trap you are trying to get status for, we might be able to dig in a little deeper and answer your specific issue.
It is outside your control to convert a trap OID to a poller OID. It is a function of whether the MIB has a pollable OID that provides the information equivalent to the trap OID, i.e., it is up to the vendor's implementation of the SNMP Agent.
With respect to your main objective of being able to trigger an NCM action in response to a trap, that is standard functionality of NCM. You will need to define a rule from the Trap Viewer on the NCM server to define under what condition you want to trigger this NCM action. There is a section in the admin guide for Real-time Config Change Detection that covers that.
Holy,
As regards converting Trap to Poller - thanks for that - you have saved me a lot of time.
As regards Trap Viewer - I didn't know there was a Trap Viewer on the NCM Server.
Just to sure, are you referring to the image below?
Cheers
Holy,
You're not given the option to execute an NCM action from here:
You can only execute an external program, see below:
However, in Alerts, you are given the option, see below:
See page 113 onwards http://www.solarwinds.com/documentation/orionNCM/docs/orionNCMAdministratorGuide.pdf . You will need to execute an external action. BTW, this is to trigger an NCM config download, not to execute any commands via NCM. Apologies if I mus-understood.
Hi Holy,
And therein lies the problem - I would like the Trap to trigger an external command with NCM the same way it does with Alerts as highlighted above ....
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.