Hi,
I created many services for a particular host through CCM. Some of them had 'Pending status' in the console and some had 'Unknown status'. I tried to change the values of check settings, misc settings for the services which showed 'Unknown status' . After that I am not able to apply configuration for those services. Even if I delete those services in CCM, it is not reflected in the console. I tried deleting from the backend (config file). But not able to add new service, it is always rolling back to the old configuration. I am not able to add new service for any host. I tried the below command.
killall nagios
service nagios restart
But there is only single instance running. Please can you let me know what can be the issue?
Configuration files getting rolled back
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Configuration files getting rolled back
If your apply configuration fails the configs are rolled back to the last good configuration, however, you can still edit the configurations that were incorrectly defined and caused the issues through the CCM. I suggest running CCM > Tools > Write Config files to see where the problems lie.
-
deepavaidya
- Posts: 80
- Joined: Sun Oct 06, 2013 8:23 am
Re: Configuration files getting rolled back
The status shows 'Unknown' and status information says 'SNMP problem - No data received from host'. Port 161 and 162 are open. What are the other things which we need to check to resolve this ?
Re: Configuration files getting rolled back
Is snmptrapd configured and running on the remote host?
Code: Select all
service snmptrapd statusFormer 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.
-
deepavaidya
- Posts: 80
- Joined: Sun Oct 06, 2013 8:23 am
SNMP Polling
Hi,
Is it possible to do snmp polling for a particular OID for cisco switches and routers ? How do we do it when we have already discovered the host and created few snmp traps services for it.
Is it possible to do snmp polling for a particular OID for cisco switches and routers ? How do we do it when we have already discovered the host and created few snmp traps services for it.
-
deepavaidya
- Posts: 80
- Joined: Sun Oct 06, 2013 8:23 am
SNMP Polling
We have discovered the routers (cisco 3925) using the Network Switch/Router monitoring wizard. How to monitor the port and bandwidth status of router ? How to do snmp polling ?
Re: Configuration files getting rolled back
If you wish to poll an oid, you should check it with check_snmp. If you wish to use traps, refer to:
http://assets.nagios.com/downloads/nagi ... ith_XI.pdf
You will need to configure your devices to send traps to the nagios server IP and configure nagios as mentioned in the document above.
http://assets.nagios.com/downloads/nagi ... ith_XI.pdf
You will need to configure your devices to send traps to the nagios server IP and configure nagios as mentioned in the document above.
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.