Novell is now a part of Micro Focus

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.


Product Categories:
  • ZENworks
  • ZENworks Linux Management
  • Functional Categories:
  • BASH
  • Monitoring
  • ZENworks
  • Posted:20 Sep 2007
    File Size:6KB
    Publisher:Rainer Brunold


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


    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.

    © Copyright Micro Focus or one of its affiliates