Cisco UCSM Plugin Discovery
Posted: Mon Jun 01, 2015 6:51 pm
I've install the UCS plugin and addon. Trying to run the Auto discovery which places cfg files in /usr/local/nagios/etc/cisco/ucsObjs/. However once it does that, I can no longer verify the configurations. It is complaining about a contactgroup that it cannot find. I created the contactgroup and made sure it was there. Any idea what is happening here? I ran some tests with an earlier version of Nagios XI before with this plugin and didn't run into this problem. I however at the time did have to manually import the host/servers cfg and the service groups, which I get why. But I can no longer get the configuration working and I suspect it has something to do with the plugin directly placing files in the Nagios configuration folders?
Right after I run the discovery, I get errors when I click on Verify Configuration in the Write Config Files section.
Error Message:
My contact groups:
Any suggestions? Perhaps I have to move all the configuration files from the Nagios folder and import everything?
Right after I run the discovery, I get errors when I click on Verify Configuration in the Write Config Files section.
Error Message:
Code: Select all
Error: Contactgroup '"UCS admins"' is not defined anywhere
Error: Could not add contactgroup '"UCS admins"' to host (config file '/usr/local/nagios/etc/cisco/ucsObjs/kdcbchucs03/kdcbchucs03_fi_A.cfg', starting on line 1)
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/usr/local/nagios/etc/cisco/ucsObjs/cisco_ucs_host.cfg', starting at line 1)
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/usr/local/nagios/etc/cisco/ucsObjs/cisco_ucs_service.cfg', starting at line 1)
Error: Contactgroup '"UCS admins"' is not defined anywhere
Error: Could not add contactgroup '"UCS admins"' to host (config file '/usr/local/nagios/etc/cisco/ucsObjs/ucs03/ucs03_fi_A.cfg', starting on line 1)
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.