Random Project

Great Plugin!!!

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}’)

to:
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.

Congrats!