check_iferrors_percent
Re: check_iferrors_percent
Oops, forgot to change the -w field as well to reflect this. End of the day on a Friday, you know how that goes!
Try adding another zero after the decimal on the -w field.
Former Nagios Employee.
me.
me.
Re: check_iferrors_percent
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
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
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?
Former Nagios Employee.
me.
me.
Re: check_iferrors_percent
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
[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
Can you try to edit the hardcoded values in the plugin to meet your needs and potentially trigger a warning/critical?
Former Nagios Employee.
me.
me.
Re: check_iferrors_percent
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.
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.