Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4401Themes and Skins12Add-ons754Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Databases check_neo4j_readonly.pl (Advanced Nagios Plugins Collection)
0.0 (0)
22K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)Julien DESMAREST (6)Davide Lemma (4)deskwork_itunes142 (4)Chad Columbus (3)
See More
Newest Contributors
Sanna Glue (2)fisherrs (1)juanfertor (1)zsoltaire (1)RavuAlHemio (1)
See More

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > Hannes Happle
HH

Hannes Happle

@shiz0

User Stats

Member Since: September 25, 2014

Favorites0

Views

Projects0

No Projects Found
SNMP Printer Check

Great script

Great script, all is working well, except for STATUS. It kept returning WARNINGS: # snmpget -v 1 x.x.x.x -c xxxx 1.3.6.1.2.1.25.3.5.1.1.1 HOST-RESOURCES-MIB::hrPrinterStatus.1 = INTEGER: idle(3) # ./check_snmp_printer -H x.x.x.x -C xxxx -x "STATUS" WARNING: Printer status is idle It seems like the script didnt trigger the idle case (line 268), but jumped stright to *) (line 277). I'm not that familiar with bash scripting but I played around a bit when I changed line 268 from "idle(3)") to idle) it worked as expected and now I got: # ./check_snmp_printer -H x.x.x.x -C xxxx -x "STATUS" OK: Printer status is idle I think maybe the output is different for different printers, so I changed it again to idle|3|"idle(3)") --> idle OR 3 OR idle(3) and it still works like a charm (at least on our 3 DELL printers, tests on the big Xerox machine are up later). Regards, shiz0

Reviewed 11 years ago

No Favorites Found

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile