I want to monitor a sequence of OID's of printers. As of yet monitoring a range of OID's (i.e. 1.3.6.1.4.1.1602.1.5.5.3.1.1.5.x where x is anything between 1 to 65535) is not possible in the default PRTG sensors.
So I wrote a Powershell script utilizing snmpwalk.exe something along the lines of:
snmpwalk.exe -L n: -v 1 -c $CommunityString $PrinterIP SNMPv2-SMI::enterprises.1602.1.5.5.3.1.1.5 | Where-Object { $_ -like "*The waste toner container is full."""}
This will return a result when the "waste toner container is full" error is on the display of the printer.
Now I want to create a sensor that will generate a error when this snmpwalk gives output. Is this possible within PRTG?
Add comment