Results showing differently
Posted: Thu Jan 23, 2025 9:24 am
Hi,
We are using Nagios core 4.4.4
When we run a script on the remote machine (which is a Linux machine, RHEL 7.8 ) we are getting expected output whereas when we invoke it from the nagios server it is giving different output.
On Remote Host :
nagios@dd2ukytp201>/usr/bin/sudo /usr/lib64/nagios/plugins/check_all_fs.py 81 91
WARNING -- /opt filesystem breached warning level 18% free
df -k /opt
it is 82% full and showing correct results.
where as on Nagios server when we execute it is showing different results.(executed with nagios user)
./check_nrpe -H dd2ukytp201 -n -t 300 -c check_root_df -a 81 91
WARNING - /opt/opnv/netebackup filesystem breached warning level 12% free
However /opt/opnv/netbackup is 70% free on the remote host.
Not sure why it is showing differently on Nagios server.
We are using Nagios core 4.4.4
When we run a script on the remote machine (which is a Linux machine, RHEL 7.8 ) we are getting expected output whereas when we invoke it from the nagios server it is giving different output.
On Remote Host :
nagios@dd2ukytp201>/usr/bin/sudo /usr/lib64/nagios/plugins/check_all_fs.py 81 91
WARNING -- /opt filesystem breached warning level 18% free
df -k /opt
it is 82% full and showing correct results.
where as on Nagios server when we execute it is showing different results.(executed with nagios user)
./check_nrpe -H dd2ukytp201 -n -t 300 -c check_root_df -a 81 91
WARNING - /opt/opnv/netebackup filesystem breached warning level 12% free
However /opt/opnv/netbackup is 70% free on the remote host.
Not sure why it is showing differently on Nagios server.