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
201610271327
2016-10-27
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
GPL
8892
File | Description |
---|---|
check_snmp_printer.sh | check_snmp_printer.sh |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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!