Using MRTGEXT with Nagios

Davor Grgicevic Davor.Grgicevic at osce.org
Thu Jul 27 15:07:29 CEST 2006


the commands:
 
 
 
define command{
        command_name    check_nwstat_l1
        command_line    $USER1$/check_nwstat -H $HOSTADDRESS$ -v LOAD1
        }
 
define command{
        command_name    check_nwstat_l5
        command_line    $USER1$/check_nwstat -H $HOSTADDRESS$ -v LOAD5
        }
 
define command{
        command_name    check_nwstat_l15
        command_line    $USER1$/check_nwstat -H $HOSTADDRESS$ -v LOAD15
        }
 
define command{
        command_name    check_nwstat_uptime
        command_line    $USER1$/check_nwstat -H $HOSTADDRESS$ -v UPTIME
        }
 
define command{
        command_name    check_nwstat_ofiles
        command_line    $USER1$/check_nwstat -H $HOSTADDRESS$ -v OFILES
        }
 

define command{
        command_name    check_nwstat_cdbuff
        command_line    $USER1$/check_nwstat -H $HOSTADDRESS$ -v CDBUFF
        }
 
define command{
        command_name    check_nwstat_vpfsys
        command_line    $USER1$/check_nwstat -H $HOSTADDRESS$ -v VPFSYS
        }
 
define command{
        command_name    check_nwstat_vpfdata
        command_line    $USER1$/check_nwstat -H $HOSTADDRESS$ -v VPFDATA
        }
 
define command{
        command_name    check_nwstat_vpfgw
        command_line    $USER1$/check_nwstat -H $HOSTADDRESS$ -v VPFGW
        }
 
define command{
        command_name    check_nwstat_vpftech
        command_line    $USER1$/check_nwstat -H $HOSTADDRESS$ -v VPFTECH
        }
 
define command{
        command_name    check_nwstat_vpfspool
        command_line    $USER1$/check_nwstat -H $HOSTADDRESS$ -v VPFSPOOL
        }
 
define command{
        command_name    check_nwstat_conns
        command_line    $USER1$/check_nwstat -H $HOSTADDRESS$ -v CONNS
        }

 
#####################
 
 
 
[root at netnms libexec]# ./check_nwstat --help
check_nwstat (nagios-plugins 1.4.3) 1.31
Copyright (c) 1999 Ethan Galstad <nagios at nagios.org>
Copyright (c) 2000-2004 Nagios Plugin Development Team
        <nagiosplug-devel at lists.sourceforge.net>
 
This plugin attempts to contact the MRTGEXT NLM running on a
Novell server to gather the requested system information.
 
Usage: check_nwstat -H host [-p port] [-v variable] [-w warning] [-c critical]
                    [-t timeout].
 
Options:
 -h, --help
    Print detailed help screen
 -V, --version
    Print version information
 -H, --hostname=ADDRESS
    Host name, IP Address, or unix socket (must be an absolute path)
 -p, --port=INTEGER
    Port number (default: 9999)
 -v, --variable=STRING
    Variable to check.  Valid variables include:
      LOAD1     = 1 minute average CPU load
      LOAD5     = 5 minute average CPU load
      LOAD15    = 15 minute average CPU load
      CSPROCS   = number of current service processes (NW 5.x only)
      ABENDS    = number of abended threads (NW 5.x only)
      UPTIME    = server uptime
      LTCH      = percent long term cache hits
      CBUFF     = current number of cache buffers
      CDBUFF    = current number of dirty cache buffers
      DCB       = dirty cache buffers as a percentage of the total
      TCB       = dirty cache buffers as a percentage of the original
      OFILES    = number of open files
      VPF<vol>  = percent free space on volume <vol>
      VKF<vol>  = KB of free space on volume <vol>
      VPP<vol>  = percent purgeable space on volume <vol>
      VKP<vol>  = KB of purgeable space on volume <vol>
      VPNP<vol> = percent not yet purgeable space on volume <vol>
      VKNP<vol> = KB of not yet purgeable space on volume <vol>
      LRUM      = LRU sitting time in minutes
      LRUS      = LRU sitting time in seconds
      DSDB      = check to see if DS Database is open
      DSVER     = NDS version
      UPRB      = used packet receive buffers
      PUPRB     = percent (of max) used packet receive buffers
      SAPENTRIES = number of entries in the SAP table
      SAPENTRIES<n> = number of entries in the SAP table for SAP type <n>
      TSYNC     = timesync status 
      LOGINS    = check to see if logins are enabled
      CONNS     = number of currently licensed connections
      NLM:<nlm> = check if NLM is loaded and report version
                  (e.g. "NLM:TSANDS.NLM")
 -w, --warning=INTEGER
    Threshold which will result in a warning status
 -c, --critical=INTEGER
    Threshold which will result in a critical status
 -o, --osversion
    Include server version string in results
 -t, --timeout=INTEGER
    Seconds before connection times out (default: 10)
 
Notes:
- This plugin requres that the MRTGEXT.NLM file from James Drews' MRTG
  extension for NetWare be loaded on the Novell servers you wish to check.
  (available from http://www.engr.wisc.edu/~drews/mrtg/)
- Values for critical thresholds should be lower than warning thresholds
  when the following variables are checked: VPF, VKF, LTCH, CBUFF, DCB, 
  TCB, LRUS and LRUM.
 
Send email to nagios-users at lists.sourceforge.net if you have questions
regarding use of this software. To submit patches or suggest improvements,
send email to nagiosplug-devel at lists.sourceforge.net 
[root at netnms libexec]# 
 
 
 
###########################################################################
 
 

>>> "Ron Jenkins" <rjenkins at dibr.net> 7/26/2006 9:04 PM >>>

Is anyone using this to check Netware volume stats and notify used space warnings and critical alerts?  If so, how are you integrating it in the Nagios configuration.  Thanks* Ron Jenkins (SnortCP, MCNE, CNE6, MCP, CCNA, CCEA)
Senior Architect
Data Integrity, LLC
"We Integrate People with Solutions"
1724 Dallas Drive
Suite 11
Baton Rouge, La 70806
Office. 225.927.8030
Fax. 225.927.8033
Cell225.931.1632Email. rjenkins at dibr.net 
Web. http://www.dibr.net(Aanval Reseller and Technology Partner)http://www.aanval.com/tour/dibr 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060727/5bd2cbea/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list