Hello,
I need to change returned SNMP values from numbers 1,4,6,... to names. For example this is an APC OID with possible answers:
.1.3.6.1.4.1.318.1.1.1.4.1.1.0
Syntax INTEGER {unknown(1), onLine(2), onBattery(3), onSmartBoost(4), timedSleeping(5), softwareBypass(6), off(7), rebooting(8), switchedBypass(9), hardwareFailureBypass(10), sleepingUntilPowerReturn(11), onSmartTrim(12) }
It's very good to see 2 as normal, 3 as warning and upper than 3 as alarm. But as you can see there are a lot of different values will be missed if i use this settings. We have 4 big monitors which show us real time statistics and maps. But when HDD Controller change status from 2 to 3 and become as alarm status I just only guess that it down and not rebuild or somethig else.
I read that you recommed use EXE/Script in this case. But I use SNMP and I have to install external SNMP-poller as I understand it. Can I use internal SNMP PRTG NM poller? For example powershell command:
$value = "cmd /c <PRTG_SUPER_POLLER>.exe -oid .1.3.6.1.4.1.318.1.1.1.4.1.1.0"; and use returned value in this file for change it to name.
OR
Can I use some XML file with name/ID as my sensor for change returned values?
Thank you.
Add comment