check_zlm_zen_queue (Visit this link)

rating from 0 votes
This program is used to check the zen_queue of the Novell Zenworks Linux Management (ZLM) solution.
The check program connects to the zlm datastore (postgresql database) and reads all entries from the zen_queue table. It checks the results against warning, critical and limit values and reports back the status.

As a result you will get an output like this:

OK: In Prog: 0, New: 0, Failed: 2, Succeeded: 176|In Prog: 0, New: 0, Failed: 2, Succeeded: 176

This check program can run either directly on the zlm server or otherwise it requires a postgresql client to be installed on that system.

Something zlm administrators have to know is that most modifications in the zlm web console will result in an entry in the zen queue, where a different process will take and process them. So if something is wrong with the queue it can result in high utilization of the zlm server, slow device refreshes, bundles are note getting updated and such things.


Here is the help output from the check program:

Usage: check_zlm_zen_queue.sh -p
[-H host] [-d database] [-u database user]
[-w warning] [-c critical] [-l limit] [-h]

Required parameters:
-p ... postgresql password (no default)

-> this password can be found at the zlm server in the file
/etc/opt/novell/zenworks/hibernate.cfg.xml stored as
xml tag connection.password

Optional parameters:
-H ... hostname (default = localhost)
-d ... datbase (default = zenworks)
-u ... database user (default = zenadmin)
-w ... warning level for new state entries (default = 10)
-c ... critical level for new state entries (default = 20)
-l ... limit for in progress state entries (default = 5)
-h ... help (this page)

This check program was written by Rainer Brunold, 19.9.2007,
Rainer.Brunold@Allianz.AT

This check program is written to check the ZEN Linux Management (ZLM)
software from Novell. It watches the zen_queue for it\\\'s entries and
reports the result back to nagios.

This program handles right now only the postgresql database from zlm.

Just a note on the -l: there are 5 threads available for processing
actions in zlm, so if there are mote then 5 entries in \\\'in progress\\\'
state somethings going wrong !

This scripts also provides performance data output for usage in a
nagios grpah tool like nagiosgraph.

ATTENTION: the postgresql command line interface does not allow to
specify the password as a comamnd parameter. Therefor I
I have to write it to the home directory of the user
running this script (.pgpass). If that file exists, I check
if a host entry for this host is in, otherwise I append a
line with it. If the file doesn\\\'t exists I create it with
permissions 600 and leave it there after the check program
has finished ! Take care of this ! But running the script
the second time does not need the password to be provided
because it\\\'s in that file


-----------------------------
CHANGELOG:

V1.1 - problems with the nagios home directory, verify the $HOME and
if it doesn\'t seem to be okay set it to /home/nagios

Submitted by: RainerBrunold
Hits: 490
Overall downloads: 63
Added: 2007-09-19 00:00:00
Last Modified: 2009-10-30 15:08:01

Filename Preview Size Description DL
check_zlm_zen_queue.sh Preview 6 kb V 1.1 - check_zlm_zen_queue.sh 227

Comments


Be the first to comment this project.

Leave a reply

If you just want to rate the project leave the other field empty.
Even though it would be nice if you would drop a line.

Allowed tags: blockquote, strong, a, b, i, u, code

Captcha Reload Image


  • check oes linux nss volume usage

    rating1.5 from 3 votes
    This check programs allows you to check the volume usage of nss volumes running on OES linux systems and monitor several other parameters.
  • check_dxml_drvstate

    rating from 0 votes
    Novell DirXML 1.1 and Identity Manager 2.x/3.x driver state detector plugin for Nagios
  • Check eDirectory LDAP Statistics

    rating from 0 votes
    Check the number of different searches and errors from your LDAP server.
  • Groupwise Checks

    rating from 0 votes
    Some scripts we use to monitor our groupwise integrations. All written in php, yet the logic may be interesting for some.
  • GroupWise

    rating from 0 votes
    Check the status of the POA, MTA, GWIA and GWWEB agents by SNMP.
  • Novell OES2 (Linux) check NSS directory quota usage

    rating from 0 votes
    Novell OES2 (Linux) nss directory quota check
  • check_ndslogin

    rating from 0 votes
    check_ndslogin can used by Nagios to check every configured Server for eDirectory Login
  • check_nwstat with Performancedata

    rating from 0 votes
    patched Version of check_nwstat ( codebase of check_nwstat.c from Nagios Plugins 1.4.2 ) Published in Nagios-Plugins CVS and so in the next release of Nagios Plugins.
  • check_ipp

    rating from 0 votes
    A check-plugin for NDPS and IPP Printer Queue Size.
  • check_gwiarl

    rating from 0 votes
    check_gwiarl is a Bash script to parse Novell GroupWise XML Log Files that are created by Redline from Beginfinate including Performance Data.
Catalot 1.3.0 (appkit/v0.9.0-dev, Agavi/1.0.0) | www.netways.de | Legal
© 2009 NETWAYS GmbH. The Program is provided AS IS, without warranty. Licensed under GPLv3.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3.