check_nwc_health pools down

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
firanagios
Posts: 6
Joined: Wed Feb 07, 2018 7:07 am

check_nwc_health pools down

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: check_nwc_health pools down

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
firanagios
Posts: 6
Joined: Wed Feb 07, 2018 7:07 am

Re: check_nwc_health pools down

Post 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
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: check_nwc_health pools down

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
firanagios
Posts: 6
Joined: Wed Feb 07, 2018 7:07 am

Re: check_nwc_health pools down

Post by firanagios »

Ok, thank you
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_nwc_health pools down

Post by scottwilkerson »

Locking
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked