results showing differently
Posted: Tue Sep 29, 2020 5:36 am
Hi,
When we run a script on the remote machine (which is a Linux machine) we are getting expected output whereas when we invoke it from the nagios server it is giving different output.
[host1]#/usr/lib64/nagios/plugins/ce/cleanup_transaction_manager.sh
Cleanup is normal
[nagios root]#pwd
/opt/nagios/libexec
[nagios root]#./check_nrpe -H <host1> -c check_transaction_manager_cleanup
Clean up file has errors.
What could be the reason?
When we run a script on the remote machine (which is a Linux machine) we are getting expected output whereas when we invoke it from the nagios server it is giving different output.
[host1]#/usr/lib64/nagios/plugins/ce/cleanup_transaction_manager.sh
Cleanup is normal
[nagios root]#pwd
/opt/nagios/libexec
[nagios root]#./check_nrpe -H <host1> -c check_transaction_manager_cleanup
Clean up file has errors.
What could be the reason?