
Hi Gerry,
We recently added the ability to do this with custom 'status' checkers.
Assuming that there is already support for Mitel PBXes, you simply need to create discovery module to "detect" the status, and an array entry to translate the return values to something observium will understand.
Examples would be :
includes/discovery/status/ns-root-mib.inc.php
and the status_states in :
includes/definitions/sensors.inc.php
It shouldn't be that complex if you can follow the examples. We could do it for you, but that is, of course, not free :)
adam.
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 07/05/2015 19:42:22, Gerry Armstrong bajangerry@gmail.com wrote: Hi Guys, I am not sure if this is possible but I would like to be able to add a check in Observium that will monitor the state of a Mitel PBX Alarm state and then report what the state actually is. I know what the snmp variables are that I will have to use to achieve this and I can snmpwalk the PBX to get the correct results but I don't understand as yet how to apply this knowledge to Observium. I actually have a perl script that works with Nagios to do this but I prefer the Observium interface.
The check the alarm state on the Mitel PBX we can use "snmpwalk -v 2c -c public HOST 1.3.6.1.4.1.1027.4.1.1.2.2.1.0".
If the response in INTEGER: 1 then there is no alarm, 2 is MINOR, 3 is MAJOR and 4 is CRITICAL
We can then use "snmpwalk -v 2c -c public HOST 1.3.6.1.4.1.1027.4.1.1.2.2.4.1.8" to retrieve the actual alarm details.
Any advice welcomed!
Thanks, Gerry
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium