Cisco UCSM Plugin with Mod Gearman

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Cisco UCSM Plugin with Mod Gearman

Post by CFT6Server »

Just wanted to get some guidance here. We are going to using a mod gearman worker setup and we will be using the Cisco UCSM Plugin (as well as the VMware one). Other than copying the plugins to the workers, would I need to install the SDKs and the whole plugin package on the workers?
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Cisco UCSM Plugin with Mod Gearman

Post by jolson »

Other than copying the plugins to the workers, would I need to install the SDKs and the whole plugin package on the workers?
The workers will be taking checks from the mod_gearman job server and running them locally. The plugins your gearman workers are running will be dependant on SDKs, libraries, etc. Anything that the plugins are dependent on must be installed on the workers.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: Cisco UCSM Plugin with Mod Gearman

Post by CFT6Server »

Thanks. The UCSM plugin requires Nagios to be installed. When running the installer, it prompts for the nagios folders and will fail if the folders are present. Any advice for this situation?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Cisco UCSM Plugin with Mod Gearman

Post by Box293 »

I did some reading and there seems to be two parts to this. I suspect the auto discovery part will not work on the mod gearman workers however the installer.py does have a --plugin option that only installs the monitoring plugin, have you given this a try?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: Cisco UCSM Plugin with Mod Gearman

Post by CFT6Server »

Unfortunately it stills gives the same prompt for the Nagios folder. So what I end up doing is just installed the prerequisite SDK and then manually copied the plugins over from the XI instance. I then tested a single check with the worker node. Checks are running on the worker node for the Cisco UCS checks!

Below is what shows up if you run the installer

Code: Select all

# ./installer.py --plugin
Searching for Nagios installation path...
No default path found...

Please provide an absolute path : /usr/local/nagios/etc
Your suggested path not found.
Failed to find Nagios installation.
Exiting now.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Cisco UCSM Plugin with Mod Gearman

Post by jolson »

Awesome news! Thanks for sharing the solution - anything else you'd like to add before we lock this up?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: Cisco UCSM Plugin with Mod Gearman

Post by CFT6Server »

That's it. Lock it up, thanks.
Locked