Page 1 of 1

check_nwc_health pools down

Posted: Tue Jun 12, 2018 5:30 am
by firanagios
Hi.
I am working with this plugin check_nwc_health and if I execute the command

./check_nmw_health --hostname x.x.x.x --mode pool-connections --community XXXX

It shows me all the pool connections. The problem is that I have hundreds of pools and I just want you to show me the pools that are down.

Please help

Thank you

Re: check_nwc_health pools down

Posted: Wed Jun 13, 2018 3:34 pm
by cdienger
Can you share the output of the command? I don't have a device to test this third party plugin against and the output may give us some clues as to what options to run with it that may give the desired output.

That said, I see there is a --report option to give a shortened output. Does this give you what you're looking for?

Re: check_nwc_health pools down

Posted: Thu Jun 14, 2018 5:43 am
by firanagios
Hello
That may be a good option, but I add --report 100 for example and it gives me the same output as if I do not write --report
I do not know if I'm doing it right ... this is the command that I execute

./check_nmw_health --hostname x.x.x.x --mode pool-connections --community XXXX --report 100

Thank you very much for the help

Re: check_nwc_health pools down

Posted: Thu Jun 14, 2018 4:08 pm
by tgriep
I took a look at the plugin and there is not an option to just output the pools that are down.
You would have to modify the plugin to get that functionality or ask the author to do that for you.

Re: check_nwc_health pools down

Posted: Thu Jun 21, 2018 2:44 am
by firanagios
Ok, thank you

Re: check_nwc_health pools down

Posted: Thu Jun 21, 2018 10:41 am
by scottwilkerson
Locking