Page 1 of 1

Cisco UCS Manager plugin not creating objects in console

Posted: Tue Oct 03, 2017 2:20 pm
by george.m
Trying to get the "Cisco UCS Manager Plugin Release 0.9.4 for Nagios" working.

The problem: plugin is installed and auto-discover run but no hosts or map added in web console on XI server.

What was done:
Installed the all prerequisites (UcsSdk-0-8-3) no issues
Installed UCS Manager plugin with the auto-discover portion no issues
Added my entries into the UCSHostInfo.csv file
Ran NagiosAutoDiscoveryUCS.py without issue (saw connection to UCS and inventory all devices etc.)
Verified all .cfg files were created
Was also able to run a query to pull all processor information from the command line so no issue communicating with the UCS domain from XI

The environment:
Nagios XI (version 5)
UCS FW 3
using UCS local credentials to authenticate with
both reside on the same subnet

Re: Cisco UCS Manager plugin not creating objects in console

Posted: Tue Oct 03, 2017 4:00 pm
by scottwilkerson
I am not familiar with this addon, but you mentioned you verified all the configuration files were created, where is the addon placing these files?

In XI, config files that aren't created through the GUI need to be placed in /usr/local/nagios/etc/static/

and then the config needs to be verified

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
And if there are no errors restarted

Code: Select all

service nagios restart
Then they should show up in the UI

Re: Cisco UCS Manager plugin not creating objects in console

Posted: Thu Oct 05, 2017 10:27 am
by george.m
So I found where I erred.
I followed Cisco recommendation and installed the latest ucsmsdk because UcsSdk-0.8.3 is deprecated. Then installed the requested version 8.3
after removing the latest version and re-installing UcsSdk-0-8.3 my issue was resolved.

Thank you for the insight on verifying the config.

Re: Cisco UCS Manager plugin not creating objects in console

Posted: Thu Oct 05, 2017 11:34 am
by kyang
Glad you were able to solve this! We will be closing this topic as resolved!

If you have more questions, feel free to create another thread!

Thank you for using the Nagios Support Forum!