Nagios Threshold issue
Posted: Fri Jul 07, 2017 6:23 pm
Nagios XI
check_file_service!-C 'ssh nagios@$HOSTADDRESS$ ls -l /tmp' -F 'Filename*' -T 'files'! -w >1 -c <1
I am trying to setup a file check which will be OK for 1 file present, and basically warning/critical otherwise.
But I received this error 'Problem with warn theshold .....
Crux of it being the warning value needs to be lower than critical, but I need the opposite.
Where am I going wrong please?
check_file_service!-C 'ssh nagios@$HOSTADDRESS$ ls -l /tmp' -F 'Filename*' -T 'files'! -w >1 -c <1
I am trying to setup a file check which will be OK for 1 file present, and basically warning/critical otherwise.
But I received this error 'Problem with warn theshold .....
Crux of it being the warning value needs to be lower than critical, but I need the opposite.
Where am I going wrong please?