Tool

Monitor ZLM queue entries with Nagios

Author Info

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

tool
Reads:

2132

Score:
5
5
1
 
Comments:

1

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

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.


Author Info

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




User Comments

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

© 2009 Novell, Inc. All Rights Reserved.