Tool

brunold's picture
tool
Reads:

5556

Score:
5
5
1
 
Comments:

1

Monitor ZLM queue entries with Nagios

Author Info

20 September 2007 - 1:52pm
Submitted by: brunold

(View Disclaimer)

download url: 
http://www.nagiosexchange.org/Novell.113.0.html?&tx_netnagext_pi1[p_view]=1094
license: 
Free

Nagios is a powerful service monitoring tool that is easily extensible using scripts and programs of nearly any language. So we decided to write a short bash script that helps us to monitor the ZLM zen_queue entries with it.

That short script uses a local postgresql client, connects to the zlm data store (postgresql by default) and queries all entries of it. It counts all entries by the different types and compares the "New" state entries against a warning and critical value as well as the "In Progress" actions against a limit.

Based on that values the check program reports the state of the queue.

With this solution we are able to get a notification when there is something going wrong and we do not have to wait till the managed devices by zlm recognize some problems.


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

rsmccain's picture

Rainer rules...

Submitted by rsmccain on 25 September 2008 - 12:30pm.

This guy better not die anytime soon. He's helped me out of quite a few ZLM jams..

© 2013 Novell