Hi,
I am new to NagiosXI and in the midst of evaluating the product. I am interested with monitoring a cisco switch using nagios to see the network bandwidth.
I am using the fresh installation provided by Nagios and try to monitor one of my Cisco Switch.
I have configure my switch to enable snmp v1. And when I try to configure using the Network Switch / Router Monitoring Wizard, I am getting error after finishing the wizard saying Configuration verification failed.
May I know if there are any pre-requisite that needs to be done for this?
Thanks,
Rudy
Nagios XI Monitoring Cisco Switch
Nagios XI Monitoring Cisco Switch
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI Monitoring Cisco Switch
Lets see what is failing. Go to --> Configure --> Core Config Manager (CCM) --> Tools --> Write Config Files. Click "Write" and then "Verify". Post the results of these two buttons in code wraps.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Nagios XI Monitoring Cisco Switch
Hi abrist,
Thanks for your reply, here is the requested results:
Write config
verify config
Thanks for your reply, here is the requested results:
Write config
Code: Select all
Write host configurations ...
Host configuration files successfully written!
Write service configurations ...
Service configuration files successfully written!
Configuration file: hostgroups.cfg successfully written!
Configuration file: servicegroups.cfg successfully written!
Configuration file: hosttemplates.cfg successfully written!
Configuration file: servicetemplates.cfg successfully written!
Configuration file: timeperiods.cfg successfully written!
Configuration file: commands.cfg successfully written!
Configuration file: contacts.cfg successfully written!
Configuration file: contactgroups.cfg successfully written!
Configuration file: contacttemplates.cfg successfully written!
Configuration file: servicedependencies.cfg successfully written!
Configuration file: hostdependencies.cfg successfully written!
Configuration file: serviceescalations.cfg successfully written!
Configuration file: hostescalations.cfg successfully written!
Configuration file: serviceextinfo.cfg successfully written!
Configuration file: hostextinfo.cfg successfully written!Code: Select all
Error: Invalid max_check_attempts value for host 'Fortigate Firewall'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/Fortigate Firewall.cfg', starting on line 14)
Nagios Core 3.5.0
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-15-2013
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/app.singapore.sg.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/192.168.1.91.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/www.dsta.gov.sg.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/schhtml.dynawebsite.com.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/192.168.1.28.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/192.168.1.6.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/192.168.1.2.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/192.168.1.77.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/192.168.1.240.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Fortigate Firewall.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/192.168.1.10.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/app.singapore.sg.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.1.91.cfg'...
Processing object config file '/usr/local/nagios/etc/services/www.dsta.gov.sg.cfg'...
Processing object config file '/usr/local/nagios/etc/services/schhtml.dynawebsite.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.1.28.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.1.6.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.1.2.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Check Fortigate CPU.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.1.77.cfg'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.1.240.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.1.10.cfg'...
Error: Invalid max_check_attempts value for host 'Fortigate Firewall'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/Fortigate Firewall.cfg', starting on line 14)
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. -
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios XI Monitoring Cisco Switch
What do you have defined in the Fotigate Firewall host for max_check_attempts? This will need to be changed to a valid value and then you should be able to apply config.Error: Invalid max_check_attempts value for host 'Fortigate Firewall'