Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com


Remember Me

Directory Tree



byjpcozar, August 10, 2022
SNMP Printer Check
It is a very complete plugin, working in 2022 with Nagios Core 4.4.6.
Most of options were working except for partial searchings like "CONSUM ". I was getting no output.

I had to change line 670 from:
for MARKER_ID in $(echo "$MARKERS_MATCHED" | awk -F. '{print $8}' | awk -F= '{print $1}')

for MARKER_ID in $(echo $MARKERS_MATCHED|sed 's/Printer/\nPrinter/g'|sed '/^$/d'|awk -F= '{print $1}'|awk -F. '{print $NF}')

So I got the MARKER_IDs and got the match.

byjpcozar, March 26, 2012
Working nicely :-) Ty for your contribution
byjpcozar, August 2, 2011
0 of 1 people found this review helpful
Exactly, it was what I was looking for. It works really as expected. Thank you so much!
byjpcozar, July 7, 2010
2 of 2 people found this review helpful
The file is damaged. Cant be uncompressed