Opsview Server:
Code:
fabz@megathron:~$ /usr/local/nagios/libexec/check_nrpe -H localhost
NRPE v2.12
Remote Host:
Code:
fabz@megathron:~$ /usr/local/nagios/libexec/check_nrpe -H 10.1.75.199
NRPE v2.14 (OpsviewAgent 4.3.2.224; osname=Linux; osvers=2.6.24-30-server; desc=Ubuntu 8.04.4 LTS)
Opsview Server running command on remote host:
Code:
fabz@megathron:~$ /usr/local/nagios/libexec/check_nrpe -H 10.1.75.199 -c check_ps.sh -a '-p LabelPrinter1Server'
NRPE: Unable to read output
Remote Host running command locally:
Code:
arctec@arctec-feol01:~$ /usr/local/nagios/libexec/check_ps.sh -p LabelPrinter1Server
OK - Process: LabelPrinter1Server, User: arctec, CPU: 0.4%, RAM: 1.7%, Start: Mar20, CPU Time: 5303 min | 'cpu'=0.4 'memory'=1.7 'cputime'=5303
Opsview agent was installed as on Opsview documentation site. And no, I have not yet put this particular check on any other hosts but this one.
So am I being silly or what? :P
Also, the script being used is just a shell script.
http://exchange.nagios.org/directory...s-2Esh/details
Thank you in advance!