Calculation in events/notifications
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <[email protected]> |
All I'm wondering if it's possible to do calculation on parameters in events? I'm generating events on StrafePings and putting %parm[value]% and %parm[threshold]% information into the event description. Problem is the threshold and polled value appear to be in microseconds which when displayed are bit numbers. For example, a recent notification stated the value 244650.8 exceeded the threshold of 100000.0. I would like to do some math so I could display the value 244.7ms exceeded the threshold of 100ms. Is this possible and if yes, can someone give me an example of how to go about it? Thanks Bill Nelson [email protected] ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss