ncpa - check multiple services, disk in one command?
Posted: Wed Nov 05, 2014 1:00 pm
We are evaluating NCPA 1.7.2 as a replacement for NSClient++, v 0.3.9.
There are a some handy features from check_nt/check_nrpe that
we'd like to implement in ncpa that I'm not finding in the ncpa docs.
- We'd like to check for multiple services in a single check?
Here's a sample of the check_nt command we'd like to convert to ncpa.
/usr/local/nagios/libexec/check_nt -H <HostAddress> -t 30 -s "TOKEN" -p 12489
-v SERVICESTATE -l IMAService,cpsvc,"Citrix SMA Service",CtxHttp,Spooler,RpcSs,Netlogon -d SHOWFAIL
- Similarly, checks all disks in a single check?
Here's the command:
/usr/local/nagios/libexec/check_nrpe -H <HostAddress> -t 30 -c CheckDriveSize -a ShowFail MaxWarn=95% MaxCrit=98%
Any ideas?
thanks,
Penny
Penny Karr | IT Infrastructure Monitoring
Harvard Vanguard Medical Associates, an Affiliate of Atrius Health
254 Second Avenue | Needham, MA 02494
P (781) 292-1853 | F (781 292-1980 | http://www.harvardvanguard.org
Email: [email protected]
There are a some handy features from check_nt/check_nrpe that
we'd like to implement in ncpa that I'm not finding in the ncpa docs.
- We'd like to check for multiple services in a single check?
Here's a sample of the check_nt command we'd like to convert to ncpa.
/usr/local/nagios/libexec/check_nt -H <HostAddress> -t 30 -s "TOKEN" -p 12489
-v SERVICESTATE -l IMAService,cpsvc,"Citrix SMA Service",CtxHttp,Spooler,RpcSs,Netlogon -d SHOWFAIL
- Similarly, checks all disks in a single check?
Here's the command:
/usr/local/nagios/libexec/check_nrpe -H <HostAddress> -t 30 -c CheckDriveSize -a ShowFail MaxWarn=95% MaxCrit=98%
Any ideas?
thanks,
Penny
Penny Karr | IT Infrastructure Monitoring
Harvard Vanguard Medical Associates, an Affiliate of Atrius Health
254 Second Avenue | Needham, MA 02494
P (781) 292-1853 | F (781 292-1980 | http://www.harvardvanguard.org
Email: [email protected]