Page 2 of 2

Re: check_iferrors_percent

Posted: Mon Oct 05, 2015 9:32 am
by hsmith
Oops, forgot to change the -w field as well to reflect this. End of the day on a Friday, you know how that goes! :geek: Try adding another zero after the decimal on the -w field.

Re: check_iferrors_percent

Posted: Wed Oct 07, 2015 3:50 am
by PolleroM
Hello.
Then I've try this command:
[root@localhost libexec]# ./check_iferrors_percent -H 10.236.4.170 -C public -w 0.00075 -c 0.001 -i 19
IFERRORS CRITICAL - Interface error rates for host 10.236.4.170 | 19_out_discards=0%;0.00075;0.001 19_in_discards=0%;0.00075;0.001 19_out_errors=0%;0.00075;0.001 19_in_errors=0%;0.00075;0.001


But result is always the same...
It seems that meausured value is not considered.
For example:
19_out_discards=0%
0% is less than warning level (0.00075). Result should be OK instead of CRITICAL...
Thanks

Re: check_iferrors_percent

Posted: Wed Oct 07, 2015 5:12 pm
by hsmith
It looks like the thresholds may be hardcoded into the script. Can you try to run the command without the -w and -c parameters and see what happens?

Re: check_iferrors_percent

Posted: Thu Oct 08, 2015 5:04 am
by PolleroM
Hello
[root@localhost libexec]# ./check_iferrors_percent -H 10.236.4.170 -C public - i 19 IFERRORS CRITICAL - Interface error rates for host 10.236.4.170 | 19_out_discards=0%;0.0075;0.01 19_in_discards=0%;0.0075;0.01 19_out_errors=0%;0.0075;0.01 19_in_errors=0%;0.0075;0.01
Thanks

Re: check_iferrors_percent

Posted: Thu Oct 08, 2015 10:34 am
by hsmith
Can you try to edit the hardcoded values in the plugin to meet your needs and potentially trigger a warning/critical?

Re: check_iferrors_percent

Posted: Fri Oct 09, 2015 1:15 am
by PolleroM
OK.
I'll do this last test and in case of bad result I'll change strategy.
I'm not sure to follow the right method for my need...
You can close the ticket.
Thanks a lot for all Your assistance.