Hello everyone,
I have a little problem with some services.
Some of them were in alert , for some reasons, I disactivated them.
Now, when I go in "open services problem" or in my "services status summary" they are still there.
So I decided to delete them, restart my nagios service, but they are still there !
When i check my .cfg files under ......./etc/services/ the services aren't in the config files.
Did I miss something ?
Thanks for your help.
Regards
Ghost alerts for deleted services
Re: Ghost alerts for deleted services
Are these services still showing up in the web interface?
Do you have a lot of messages backed up in your mail queue? /var/spool/mqueue
Do you have a lot of messages backed up in your mail queue? /var/spool/mqueue
Re: Ghost alerts for deleted services
Make sure you "write files" and then "verify configuration" before you restart the nagios service, if you get any errors, you must resolve them first. Can you "apply configuration" without any errors?
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: Ghost alerts for deleted services
For abrist, yes i have no problem to apply configuration.
For Mguthrie, Yes I can still see them in my web interface.
But when i go in CCM, services and make a search with their name they aren't there.
How can I see how much message do I have in my mqueue ?
Thanks for your answers !
For Mguthrie, Yes I can still see them in my web interface.
But when i go in CCM, services and make a search with their name they aren't there.
How can I see how much message do I have in my mqueue ?
Thanks for your answers !
Re: Ghost alerts for deleted services
If you can see these services in the web interface, they must be somewhere... If you can't see them in the configs in "/usr/local/nagios/etc/services/", they must be in the database. Try searching for these services again in the CCM. Maybe you used a different config name, etc. Make sure you don't have multiple nagios instances running - try running:
You can also send us your latest configuration snapshot at [email protected], so that we can review it.
Code: Select all
service nagios stop
killall -9 nagios
service ndo2db stop
servce ndo2db start
service nagios startBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Ghost alerts for deleted services
Hi,
I try your commands to stop and restart services, but my ghost services are always there.
In CCM i search for those services by using their configuration name or service name but I didn't find them.
Even on the server, I try to find them, for exemple, one of my service is "MSSQL Log Growths", by using the command : in /usr/local/nagios/etc/services directory.
And still didn't find them...
I will send you my last configuration snapshot with the name of the ghost services (I didn't find them neither in it).
I try your commands to stop and restart services, but my ghost services are always there.
In CCM i search for those services by using their configuration name or service name but I didn't find them.
Even on the server, I try to find them, for exemple, one of my service is "MSSQL Log Growths", by using the command :
Code: Select all
grep -lR "Log Growths" *And still didn't find them...
I will send you my last configuration snapshot with the name of the ghost services (I didn't find them neither in it).
Re: Ghost alerts for deleted services
Ok I find it...
The users who create those services failed with create service for the host and for the HOST (one in maj , other in min).
That's why I didn't find them in CCM, but on my server it will create 2 .cfg files for the same host.
Hope this can help.
Thanks for your time,
regards
The users who create those services failed with create service for the host and for the HOST (one in maj , other in min).
That's why I didn't find them in CCM, but on my server it will create 2 .cfg files for the same host.
Hope this can help.
Thanks for your time,
regards