check oes linux nss volume usage (Visit this link)

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.

This check programs allows you to check the volume usage of nss volumes running on OES linux systems and monitor several other parameters. I used the nss command file to query not only volume usage information, it also provides the number of files and some purgeable and compression information. Maybe not all information is interesting to be monitored, but just having it to generate additional graphs is very helpful.

As this is a perl based program it needs to have a few perl modules installed. Beside the perl packages already installed for several OES componentes I needed to install perl-XML-RegExp and perl-XML-DOM.

This check program was tested with OES 2 SP1/SP2 i586 and OES 2 SP2 x86-64.

Here is a sample output of the check program:

# check_oesnss_vol.pl -V DATA1 -w 10000 -c 5000 -M
or
# check_oesnss_vol.pl -V DATA1 -w 10G -c 5G -M

# check_oesnss_vol.pl -V DATA1 -w 20% -c 10%
CRITICAL - 0% used, NSS Vol: DATA1, Pool: POOL1, Size: 554 MB, Used: 1 MB, Free: 553 MB, Files: 13, Purgeable: 0 MB, addComp: 0 MB|VolumeSize=579862528B UsedSpaceTotal=569344B;10475520000;5237760000 FreeSpaceTotal=579293184B NumberOfFiles=13 PurgeableSpace=16384B WonByCompression=0B UsedSpacePercent=0% FreeSpacePercent=100%


Please take in mind that depending on your nagios configuration you must run this check program via sudo because the normal nagios user might not have rights to access the nss management file in /_admin.

If you want to see any enhancements, feel free to contact me.
The email address is in the source code available.

Rainer Brunold

 

Changelog:

1.0 - initial version

1.1 - error in free space calculation was fixed, added volume usage in percent to service output

1.2 - added value type k,M,G or % for the warning and critical level

1.3 - modified the performance output to follow the official plugin rules

1.4 - modified the performance output to follow the official plugin rules from http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201

Submitted by: RainerBrunold
Hits: 1650
Overall downloads: 354
Added: 2009-10-17 00:00:00
Last Modified: 2010-09-01 21:16:57

Filename Preview Size Description DL
check_oesnss_vol.pl Preview 14 kb v 1.2 - check_oesnss_vol.pl 127
check_oesnss_vol.pl Preview 15 kb v 1.3 - check_oesnss_vol.pl 115
check_oesnss_vol.pl Preview 15 kb v 1.4 - check_oesnss_vol.pl 108

Comments


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_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.
  • check_idm_sync

    rating from 0 votes
    Check Novell Identity Manager synchronization between eDirectory trees using ldap.
  • check_zlm_zen_queue

    rating from 0 votes
    This program is used to check the zen_queue of the Novell Zenworks Linux Management (ZLM) solution.
  • 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.
  • Plugin/Agent for Netware 5.0 - 6.5

    rating from 0 votes
    NWNAGMON is an NLM plugin for Netware 5.0 .. 6.5 checks some basic server props and sends them directly to a nagios server (nsca v3 packets)
  • 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.
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.