my script not run through nrpe but can run it without nrpe
Posted: Mon Jun 10, 2019 6:37 am
Dear friend
Hi
i have write script but when i run it in my os the out put is ok but while run that through nrpe it cannot show correct output
i have attache the script
this is my output
Hi
i have write script but when i run it in my os the out put is ok but while run that through nrpe it cannot show correct output
i have attache the script
this is my output
Code: Select all
[root@rac1 tmp]# ./check_my_hwclock.sh
Hardware clock is OK
[root@rac1 tmp]# /usr/local/nagios/libexec/check_nrpe -H localhost -c check_my_hwclock
Hardware clock has Problem
[root@rac1 tmp]#