Nagios/Icinga GroupWise Plugin

0 Likes
Since GroupWise is not running under NetWare anymore and snmp is not the safest art of monitoring I wrote a plugin for nagios / icinga / shinken to monitor the GroupWise agents.

New download location: https://github.com/pdeneu/monitoringplugins

All checks are based on the http pages of the agent.

Based on different situations it's also possible to change port, enable/disable ssl, and use authentication pair.

In Version 0.9 the following options are available:
./check_groupwise.pl --help
Usage:
check_groupwise.pl -H <groupwise-server> [-S] [-u <user>] [-p <password]
[-P <port>] -m <mode> -l <command> [-w <warning>] [-c <critical>] [-V]
[-h]

Plugin to monitor GroupWise 2012 MTA, POA and GWIA
Options:
-H|--hostname
GroupWise Server Hostname or IP-Address

-S|--ssl
To use secure HTTPS connection

-u|--user
User for Agent HTTP Interface

-p|--password
Password for Agent HTTP Interface

-m|--mode
Type of agent to monitor: mta, poa, gwia

-P|--port
Port

-l|--command

Command for specified agent:
- MTA:
\- info
- process and version info
\- links
- status of mta links
\- uptime
- uptime of mta
\- msgprocessed
- messages processed since start
\- msgprocessed10
- messages processed last 10 minutes

- GWIA:
\- uptime
- uptime of gwia
\- queues
- e-mail queues of gwia
\- stats
- e-mail statistics of gwia since start
\- stats10
- e-mail statistics of gwia last 10 minutes

- POA:
\- uptime
- uptime of poa
\- users
- count of connected users

-h|--help
print help page

-V|--version
print plugin version

I've tested it with GroupWise 8 and GroupWise 2012, installed in english. If you've got problems or/and errors please report them to me with your GroupWise version and your language installed. It would also be nice to get the sourcecode from your http page.

I'm thankful for all your feedback and responses.

Labels:

How To-Best Practice
Comment List
Anonymous
Parents
  • This looks like what I need to monitor GW.

    However my GW version is 18.2. Does it work with this version?

    And running with perl5 (revision 5 version 16 subversion 3) gives

    # ./check_groupwise.pl -H gwpoa -u admin -p password -m poa -l uptime
    Use of uninitialized value $1 in multiplication (*) at ./check_groupwise.pl line 332.
    Use of uninitialized value $2 in multiplication (*) at ./check_groupwise.pl line 332.
    Use of uninitialized value $3 in multiplication (*) at ./check_groupwise.pl line 332.
    Use of uninitialized value $poaname in concatenation (.) or string at ./check_groupwise.pl line 333.
    OK - up since 0 seconds|uptime=0;;;;
    # ./check_groupwise.pl -H gwpoa -u admin -p password -m poa -l users
    Use of uninitialized value $users in concatenation (.) or string at ./check_groupwise.pl line 350.
    Use of uninitialized value $users in concatenation (.) or string at ./check_groupwise.pl line 350.
    OK - connected C/S Users|users=;0;

    other errors with the gwia and mta modes also

Comment
  • This looks like what I need to monitor GW.

    However my GW version is 18.2. Does it work with this version?

    And running with perl5 (revision 5 version 16 subversion 3) gives

    # ./check_groupwise.pl -H gwpoa -u admin -p password -m poa -l uptime
    Use of uninitialized value $1 in multiplication (*) at ./check_groupwise.pl line 332.
    Use of uninitialized value $2 in multiplication (*) at ./check_groupwise.pl line 332.
    Use of uninitialized value $3 in multiplication (*) at ./check_groupwise.pl line 332.
    Use of uninitialized value $poaname in concatenation (.) or string at ./check_groupwise.pl line 333.
    OK - up since 0 seconds|uptime=0;;;;
    # ./check_groupwise.pl -H gwpoa -u admin -p password -m poa -l users
    Use of uninitialized value $users in concatenation (.) or string at ./check_groupwise.pl line 350.
    Use of uninitialized value $users in concatenation (.) or string at ./check_groupwise.pl line 350.
    OK - connected C/S Users|users=;0;

    other errors with the gwia and mta modes also

Children
No Data
Related Discussions
Recommended