Ticket #250 (new enhancement)
Opened 3 years ago
CheckMultiple, user defined labels
| Reported by: | JVC | Owned by: | mickem |
|---|---|---|---|
| Priority: | 2 | Milestone: | 0.4.0 |
| Component: | CheckSystem | Version: | 0.3.4 |
| Severity: | Feature Requests | Keywords: | |
| Cc: |
Description
I use CheckMultiple to do several basic checks in one go. The command i use and the output it returns in nagios is below. Uptime and page file have a clear beginning in the output but other commands are not so clear. Is there a way (a caption or label argument of some sort) i can pass to CheckMultiple so that i can make my output more readable?
Your response in the forum was right on the money. In this case you would want a label like maybe so: ... command:MEM=checkMem ... command:CPU=checkcpu ... and the result would be: MEM=OK.... ,CPU=OK: 15m: average load 0%, 5m: average load 0%
thanks in advance,
check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckMultiple -a command=CheckVersion command=CheckUpTime ShowAll command=CheckMeM MaxWarn=80% MaxCrit=90% type=page ShowAll=long command=CheckCPU warn=80% crit=90% time=15m time=5m time=30s ShowAll=long command=CheckDriveSize MinWarnFree??=10% MinCritFree??=5% ShowAll=long CheckAll?? FilterType??=FIXED
0.3.4.32 2008-09-18, OK: uptime: 6d 23:28, OK: page file: Total: 5.83G - Used: 184M (3%) - Free: 5.65G (97%), OK: 15m: average load 0%, 5m: average load 0%, 30s: average load 0%, OK: C:: Total: 12G - Used: 4.89G (40%) - Free: 7.11G (60%), D:: Total: 941G - Used: 30.7G (3%) - Free: 910G (97%)







