See this link for examples.
https://support.nagios.com/kb/article/s ... s-775.html
Code: Select all
./check_nrpe -H xxx.xxx.xxx.xxx -c check_service -a service='eSPNaniConnector$MN'
Code: Select all
./check_nrpe -H xxx.xxx.xxx.xxx -c check_service -a service='eSPNaniConnector$MN'
tgriep wrote:You can try and use the check_nrpe plugin to run the check_service check on the Windows system to see if that service is running.
See this link for examples.
https://support.nagios.com/kb/article/s ... s-775.html
Code: Select all
./check_nrpe -H xxx.xxx.xxx.xxx -c check_service -a service='eSPNaniConnector$MN'
Code: Select all
-t 60
Code: Select all
#dnf install compat-openssl10
Code: Select all
]# ldd /usr/local/nagios/libexec/check_nrpe
linux-vdso.so.1 (0x00007fff5a6c7000)
libssl.so.10 => /lib64/libssl.so.10 (0x00007f2455b8c000)
libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f2455729000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f2455510000)
libc.so.6 => /lib64/libc.so.6 (0x00007f245514d000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f2454f49000)
libz.so.1 => /lib64/libz.so.1 (0x00007f2454d32000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2455dfb000)