Updated 26-11-2023
This is a How-To regarding GroupWise and monitoring its processes via Local checks.
This local script is still under development by me, both to flex my Bash scripting skills as well as getting more familiar to Local Checks.
General warning
With all my work, this is a proof-of-concept as to how to monitor specific products, and unless you are fully aware of what you are getting into while i am trying to get full monitoring on something it should NOT be used in a production environment.
Intro
The GroupWise system is a product from (now called) OpenText, providing an on-premise mail solution with its own postoffice, transfer-agents and internet gateway.
Even tho the (via buy-over) the name of the supplier changed the product itself has not changed that much, and imho is rock-solid, as to why i am still using it.
The works
GroupWise consists of several components/services which for obvious reasons should be monitored:
- GroupWise AdminService ( adminservice)
- GroupWise Mail Transfer Agent(s) ( gwmta)
- Groupwise Post Office Agent(s) (gwpoa)
- GroupWise Internet Agent(s) (gwia)
Additional when using Groupwise WebAccess things which should be monitored are :
- GroupWise Webaccess Agent
- GroupWise Document Viewer Agent (gwdva)
The current code:
As of current the script will successfully monitor, and report the status of a/the processes of:
- AdminService PID
- Mail Transfer Agent PID, process listeners
- Post Office Agent PID, process listeners
- Internet Agent PID, process listeners
As a process is either running or not, its quite simple, so a status of 0 (OK) is sent to CheckMK when its running, and a status of 2 (CRIT) when not running.
The Actual script as to what i have made so far is available on my own git server (instead of keep editing this post)
This script should be saved in the /usr/lib/check_mk_agent/local
- folder, in my case i named it appropriately groupwise.sh
, and made it executable with chmod +x groupwise.sh
The plan:
I am planning to create more depth in this, as to also be able to expose more details of a/the running processes, but this will take time, collaboration is always appreciated to speed up development.
- Glowsome