Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Printer Toner Cartridge Level via SNMP with local cache
Current Version
201610271327
Last Release Date
2016-10-27
Compatible With
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
Owner
License
GPL
Hits
7722
Files:
File | Description |
---|---|
check_snmp_printer.sh | check_snmp_printer.sh |
Nagios Plugin to check the remaining pages (toner) of printer SNMPv1
The Plugin supports printers that are offline. To prevent errors the plugin creates a log file to be able to display the last known status about the remaining pages even the printer is switched off. The log file is stored at "/var/log/printerpages_[Host-IP].log"
If the printer is offline, the cached entry from the log file will be pulled. If the printer is online, the live data is used and the log file updated.
The Plugin is using the community strings of common printer models. Tested with a Samsung ML-1865W using SyNagios on a Synology DS116.
Sample output:
1020/1500 pages left in Black Toner S/N :CRUM-15090766415
Usage: ./check_snmp_printer.sh $HOSTADDRESS$ $ARG1$ $ARG2$
$ARG1$ = Warning-Level
$ARG2$ = Critical-Level
The Plugin supports printers that are offline. To prevent errors the plugin creates a log file to be able to display the last known status about the remaining pages even the printer is switched off. The log file is stored at "/var/log/printerpages_[Host-IP].log"
If the printer is offline, the cached entry from the log file will be pulled. If the printer is online, the live data is used and the log file updated.
The Plugin is using the community strings of common printer models. Tested with a Samsung ML-1865W using SyNagios on a Synology DS116.
Sample output:
1020/1500 pages left in Black Toner S/N :CRUM-15090766415
Usage: ./check_snmp_printer.sh $HOSTADDRESS$ $ARG1$ $ARG2$
$ARG1$ = Warning-Level
$ARG2$ = Critical-Level
Reviews (0)
Be the first to review this listing!