Page 2 of 2

Re: Status critical

Posted: Mon Sep 18, 2017 12:50 pm
by Rovendra
I'm not sure if this helps but here is a screenshot of the debug log file:
debbug_haproxy.png
Thanks!

Re: Status critical

Posted: Mon Sep 18, 2017 3:45 pm
by Rovendra
Hi friends,

I've found a workaround for my issue, instead of using -r for the regex I'm using -c 1: which sets a threshold range that states that anything equals to 1 or bigger is OK while a 0 gives me a critical status (that's the behavior i wanted to achieve).

That still doesn't explain why the regex expression wouldn't work in the first place with the interface. I'm still curious as to why this is happening so I will keep the post open.

Any suggestions are welcome and thanks again for all the help.

Re: Status critical

Posted: Mon Sep 18, 2017 8:02 pm
by dwhitfield
Can you post your commands.cfg (or wherever you have your commands defined)?

Re: Status critical

Posted: Tue Sep 19, 2017 8:32 am
by Rovendra
Here is a print screen of the check_snmp command definition:
commands.cfg.PNG
commands.cfg.PNG (3.79 KiB) Viewed 2232 times

Thanks!

Re: Status critical

Posted: Thu Sep 21, 2017 9:48 am
by scottwilkerson
I believe the -r is for matching sting values, but that OID returns an INTEGER32