Any one have experience installing CISCO UCSM plugin?
I am having problem with
2.2 Install Nagios Monitoring Plugin
Check and add the following property to nagios.cfg in the Nagios home etc directory
cfg_dir= NAGIOS_HOME/cisco
The instructions are unclear with whats suppose to be in this directory? and where the file is suppose to come from.
Installing Cisco UCSM Plugin for Nagios 3.x
Re: Installing Cisco UCSM Plugin for Nagios 3.x
Are you referring to this doc?
https://cisco-marketing.hosted.jivesoft ... _guide.pdf
If so you are just editing the nagios.cfg file in the same directory where the rest of your nagios config files are (for hosts, services, commands, etc.).
https://cisco-marketing.hosted.jivesoft ... _guide.pdf
If so you are just editing the nagios.cfg file in the same directory where the rest of your nagios config files are (for hosts, services, commands, etc.).
Former Nagios employee
Re: Installing Cisco UCSM Plugin for Nagios 3.x
tmcdonald wrote:Are you referring to this doc?
https://cisco-marketing.hosted.jivesoft ... _guide.pdf
If so you are just editing the nagios.cfg file in the same directory where the rest of your nagios config files are (for hosts, services, commands, etc.).
Do you have the UCS plugin working?
I am really struggling with this.
Re: Installing Cisco UCSM Plugin for Nagios 3.x
I don't have it working but I can try to help out. It should be just like any other plugin. Did you find the nagios.cfg file? You will need to enter in the full path in place of "NAGIOS_GOME" when defining the cfg_dir line.
Former Nagios employee
Re: Installing Cisco UCSM Plugin for Nagios 3.x
tmcdonald wrote:I don't have it working but I can try to help out. It should be just like any other plugin. Did you find the nagios.cfg file? You will need to enter in the full path in place of "NAGIOS_GOME" when defining the cfg_dir line.
I am trying to get it working. The problem is that the instructions does not tell you to copy any particular files to the directory
the instructions states that you should update the nagios.cfg with the entry "cfg_dir= NAGIOS_HOME/cisco". in my case cfg=/etc/nagios/cisco
However the instructions does not tell you to create a directory called "cicsco" nor to copy any files to it.
so when I tried to restart nagios I receive the error:
[root@nagiostest autodiscovery]# service nagios restart
Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration.
[root@nagiostest autodiscovery]# nagios -v /etc/nagios/nagios.cfg
Nagios Core 3.5.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-30-2013
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config file '/etc/nagios/objects/commands.cfg'...
Processing object config file '/etc/nagios/objects/contacts.cfg'...
Processing object config file '/etc/nagios/objects/timeperiods.cfg'...
Processing object config file '/etc/nagios/objects/templates.cfg'...
Processing object config file '/etc/nagios/objects/localhost.cfg'...
Processing object config directory '/etc/nagios/conf.d'...
Processing object config directory '/etc/nagios/cisco'...
Error: Could not open config directory '/etc/nagios/cisco' for reading.
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.
[root@nagiostest autodiscovery]#
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Installing Cisco UCSM Plugin for Nagios 3.x
What are the permissions of the cisco directory related to the other directories?
Code: Select all
ls -al /etc/nagiosAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.