Novell Home

Monitor ZLM queue entries with Nagios

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

This program monitors the ZLM queue and reports problems back.

Vitals

Product Categories:
  • ZENworks
  • ZENworks Linux Management
  • Functional Categories:
  • BASH
  • Monitoring
  • ZENworks
  • Posted:20 Sep 2007
    File Size:6KB
    Download:http://www.nagiosexchange.org/Novell.113.0.html?&tx_netnagext_pi1[p_view]=1094
    Publisher:Rainer Brunold

    Disclaimer

    Please read the note from our friends in legal before using this file.


    Details

    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.

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

    © 2014 Novell