Hi Benjamin,
Thanks for the reply. This partially fixes the issue, as mainly there are two things:
The
main issue is if there is a way to make this trigger an unknown (3) instead. Reason being that we will never know about any change since an "Ok" is returned even though there is an incompatibility between versions.
The next one is that I added the "-2" option but for some, it fails with "Failed to validate filter see log for details"
For example, check_uptime and check_drivesize fail when adding thresholds:
Capture.PNG
Capture2.PNG
Strangely enough when running for example the check_cpu directly from the cli it works, even when changing the threshold:
Code: Select all
[nagios@am1-sha-nagios1-p ~]$ /usr/local/nagios/libexec/check_nrpe -2 -H am1-sha-VeeamBKP01-p -t 60 -c check_cpu -a 'warn=load>90' 'crit=load>95'
OK: CPU load is ok.|'total 5m'=13%;90;95 'total 1m'=14%;90;95 'total 5s'=9%;90;95
[nagios@am1-sha-nagios1-p ~]$ /usr/local/nagios/libexec/check_nrpe -2 -H am1-sha-VeeamBKP01-p -t 60 -c check_cpu -a 'warn=load>90' 'crit=load>99' OK: CPU load is ok.|'total 5m'=13%;90;99 'total 1m'=7%;90;99 'total 5s'=5%;90;99
Not sure maybe we need to change something in the parameters for thresholds here?
Rgds,
Matthew
You do not have the required permissions to view the files attached to this post.