NAgios Stopped checking services, hosts and sending notifications
What action need to be taken now, i have rebooted nagios server thinking that if it will be ok, but did not work
Nagios Stopped checking services and hosts
-
srikanth.kallu
- Posts: 243
- Joined: Thu Jul 26, 2012 10:48 am
Nagios Stopped checking services and hosts
You do not have the required permissions to view the files attached to this post.
Re: Nagios Stopped checking services and hosts
To rule out a database corruption, you can run in terminal:
Can you check if these services are running?
Code: Select all
/usr/local/nagiosxi/scripts/repairmysql.sh nagiosCode: Select all
service nagios status
service crond status
service ndo2db statusBe sure to check out our Knowledgebase for helpful articles and solutions!
-
srikanth.kallu
- Posts: 243
- Joined: Thu Jul 26, 2012 10:48 am
Re: Nagios Stopped checking services and hosts
i ran this command
/usr/local/nagiosxi/scripts/repairmysql.sh nagios
at the end it shows repair complete.
[root@nagiosxi ~]# service nagios status
nagios is not running
[root@nagiosxi ~]# service crond status
crond (pid 5212) is running...
[root@nagiosxi ~]# service ndodb status
ndodb: unrecognized service
[root@nagiosxi ~]# service ndo2db status
ndo2db (pid 5287) is running...
/usr/local/nagiosxi/scripts/repairmysql.sh nagios
at the end it shows repair complete.
[root@nagiosxi ~]# service nagios status
nagios is not running
[root@nagiosxi ~]# service crond status
crond (pid 5212) is running...
[root@nagiosxi ~]# service ndodb status
ndodb: unrecognized service
[root@nagiosxi ~]# service ndo2db status
ndo2db (pid 5287) is running...
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Stopped checking services and hosts
lets run
Code: Select all
service nagios start-
srikanth.kallu
- Posts: 243
- Joined: Thu Jul 26, 2012 10:48 am
Re: Nagios Stopped checking services and hosts
[root@nagiosxi ~]# service nagios start
Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.
Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Stopped checking services and hosts
In the Web UI go to Configure -> CCM -> Tools -> Write config files
Click Write
Click Verify
Report errors or fix them in the CCM and then repeat until errors = 0
Then
Click Write
Click Verify
Report errors or fix them in the CCM and then repeat until errors = 0
Then
Code: Select all
service nagios start-
srikanth.kallu
- Posts: 243
- Joined: Thu Jul 26, 2012 10:48 am
Re: Nagios Stopped checking services and hosts
This is fixed, This happened because when i tried to add a new service to one of my host and i made a mistake there.
I was looking hard to find a document to learn how to add a new service to any host. Can you help
I was looking hard to find a document to learn how to add a new service to any host. Can you help
Re: Nagios Stopped checking services and hosts
Start with the manuals. There are so many possible host/service configurations that it is nearly impossible to document all permutations.
http://library.nagios.com/library/produ ... xi/manuals
http://library.nagios.com/library/produ ... xi/manuals
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.