On 07/05/2015 19:42:22, Gerry Armstrong <bajangerry@gmail.com> wrote:
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumHi 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 CRITICALWe 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