I'm using ModGearman quite a lot now to monitor servers behind firewalls or on restricted networks.
As the Ping & TraceRoute actions are run locally from the NAgiosXI server, these of course are now failing or returning wrong results. Which of course confuses the users when they try to use it.
Is it possible to build a bit more intellegence into the actions to either submit the action via Nagios and then Mod-Gearman can handle it based on the Hostgroup or restrict the action link depending on the Hostgroup of the server that is being checked?
regards.... Fred
Ping & TraceRoute Actions
-
Fred Kroeger
- Posts: 588
- Joined: Wed Oct 19, 2011 11:36 pm
- Location: Perth, Western Australia
- Contact:
Re: Ping & TraceRoute Actions
I filed a feature request for this -
I believe it's a great idea, especially with a network as you've mentioned.
Code: Select all
NEW TASK ID 10926 created - Nagios XI Feature Request: Add option to ping or traceroute through gearman rather than local XI
Former Nagios Employee
-
Fred Kroeger
- Posts: 588
- Joined: Wed Oct 19, 2011 11:36 pm
- Location: Perth, Western Australia
- Contact:
Re: Ping & TraceRoute Actions
Thanks - the other module that I struggle using with ModGearman are the Config Wizards - especially those that connect to the device to create the monitors eg: Network Switch / Router where it makes an SNMP connection to detect the ports.
I end up firing up a free NagiosXI on the server that hosts the ModGearman Worker, run the config wizard for the Network Switch and then copy over all configs to the Nagios server. Tedious......
Fred
I end up firing up a free NagiosXI on the server that hosts the ModGearman Worker, run the config wizard for the Network Switch and then copy over all configs to the Nagios server. Tedious......
Fred
Re: Ping & TraceRoute Actions
I brought this up to our Developers, and also filed a feature request. It'd have quite a bit of overhead, but would really add an entire new functionality to XI.
Thanks for the idea!
Code: Select all
NEW TASK ID 10940 created - Nagios XI Feature Request: Add option to run wizard through gearman worker
Former Nagios Employee
-
bheden
- Product Development Manager
- Posts: 179
- Joined: Thu Feb 13, 2014 9:50 am
- Location: Nagios Enterprises
Re: Ping & TraceRoute Actions
Believe it or not, I've done this before: I used to have several ModGearman workers, a few specific ones performed bandwidth calculations ONLY. They were separated by logical networks however. I modified the switch wizard to add a drop down to select from a predefined host, and then using SSHKey magic would perform the appropriate cfgmaker command on the right server! It worked beautifully.
This is definitely do-able, and would definitely be an advantage. Thanks.
This is definitely do-able, and would definitely be an advantage. Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Nagios Enterprises
Senior Developer
Nagios Enterprises
Senior Developer
-
Fred Kroeger
- Posts: 588
- Joined: Wed Oct 19, 2011 11:36 pm
- Location: Perth, Western Australia
- Contact:
Re: Ping & TraceRoute Actions
Brilliant ! Thanks ! Exactly what I was looking for.
Fred
Fred
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Ping & TraceRoute Actions
It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
-
Fred Kroeger
- Posts: 588
- Joined: Wed Oct 19, 2011 11:36 pm
- Location: Perth, Western Australia
- Contact:
Re: Ping & TraceRoute Actions
Yes - all good - you can close this. Thanks for your help.
Fred
Fred