I know this has been discussed before, possibly even by me, but I can't find the proper threads so I'll start a new one. ;-)
Anyway, I'm running v9.1 SP4 and MSSQL Standard. I am working with a new Advanced Alert triggering from a UnDP. This poller polls the output status of my UPS systems - the OID returns an enumerated value for things like normal operation, on battery, reducing, boosting, etc. When testing, the OID returns proper values and I am able to display these values correctly in the web pages (displaying the text values). Keep in mind these are all TrippLite UPS's, different models with SNMP cards of two different hardware/SW versions.
However, when I set up the alert I have issues. Everything works fine, except when using the Test button, then the message that gets sent out to email is messed up, but only the variables are incorrect. I am using ${CustomPollerStatus.Status} to send the text string out to email. In some messages I get sent the value from another poller (ie. input voltage or battery capacity values), and sometimes I simply get the variable string ${CustomerPollerStatus.Status} instead of a value - this changes for each UPS I test with, but is consistent for each device. Again, when I test this manually by removing power from the UPS (the only local one I can test with is in our server room) it triggers fine and the messages are fine. The issue only pops up when using the test button.
My trigger looks like this:
Trigger Alert when all of the following apply
Poller Name is equal to upsPowerSource
Numeric Status is not equal to 3
And my trigger message looks like this:
Orion Alert: ${NodeName} Output Power Source is ${CustomPollerStatus.Status}
Just an interesting bit of info that has been driving me nuts for a couple of hours until I tried manually triggering by removing power - I wanted to make sure it triggered fine bfore asking for help with the messages, and, just my luck, it worked fine. Using the Test button again right after gives me a different variable output again - consistently reproduced. I have restarted all services, as well as restarted the server itself. The issue remains.
After all of that, does anyone know if I can display the values of other pollers in the output messages? For example, when this alert triggers, can I send out the status of this poller, the input voltage, and the input frequency (to see if the frequency is out of range and that's why the unit went on battery). Would I need to build a table for that? Or....?
Thanks.