Still getting Alerts while removed hosts
Still getting Alerts while removed hosts
Hi Team,
I have been removed two hosts from Nagios xi with the help of CCM for last week. but still i am getting alerts about those hosts. while i rechecked couple of time with the help of command mode in /usr/local/nagios/etc/hosts and /usr/local/nagios/services. but there are no any existence of those hosts.
Please help me as soon as possible.
Thanks
I have been removed two hosts from Nagios xi with the help of CCM for last week. but still i am getting alerts about those hosts. while i rechecked couple of time with the help of command mode in /usr/local/nagios/etc/hosts and /usr/local/nagios/services. but there are no any existence of those hosts.
Please help me as soon as possible.
Thanks
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Still getting Alerts while removed hosts
What version of XI are you currently running? Can you pm one of us with the latest good config snapshot, and tell us what host\services are having issues.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Still getting Alerts while removed hosts
Nagios XI 2012R2.2 is a version of Nagios xi.
Actually before 2 weak, i removed the two host (RADshare 27 and 172.25.24.27) with the help of CCM. but still getting Alerts of them. while i also removed the configuration files from /usr/local/nagios/etc/hosts and /usr/local/nagios/etc/services .
Alerts are following:
Nagios URL: http://169.131.130.107/nagiosxi/
***** Nagios XI Alert *****
Notification Type: PROBLEM
Host: 172.25.24.27
State: DOWN
Address: 172.25.24.27
Info: CRITICAL - 172.25.24.27: rta nan, lost 100%
Date/Time: 2013-08-28 04:58:58
Actually before 2 weak, i removed the two host (RADshare 27 and 172.25.24.27) with the help of CCM. but still getting Alerts of them. while i also removed the configuration files from /usr/local/nagios/etc/hosts and /usr/local/nagios/etc/services .
Alerts are following:
Nagios URL: http://169.131.130.107/nagiosxi/
***** Nagios XI Alert *****
Notification Type: PROBLEM
Host: 172.25.24.27
State: DOWN
Address: 172.25.24.27
Info: CRITICAL - 172.25.24.27: rta nan, lost 100%
Date/Time: 2013-08-28 04:58:58
You do not have the required permissions to view the files attached to this post.
Re: Still getting Alerts while removed hosts
This is strange. I don't see these two hosts in your configs. You shouldn't be getting alerts. Have you tried restarting services?
Do you see any config errors, when you run the Write Config Tool?
Code: Select all
service nagios stop
killall -9 nagios
service ndo2db stop
service ndo2db start
service nagios startCode: Select all
CCM->Tools->Write Config FilesBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Still getting Alerts while removed hosts
I restarted nagios service couple of times but not ndo2db service. so, as of now i have executed all command what you have mentioned.
and following are the output when i do write Config Files. i don't think it's showing any kind of error.
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!
and following are the output when i do write Config Files. i don't think it's showing any kind of error.
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!
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Still getting Alerts while removed hosts
Can you try to re-create that host with the same information you are receiving in the notifications? Then apply configuration? I'm curious to see if it errors out.
Re: Still getting Alerts while removed hosts
Actually the two hosts(RADshare 27 and 172.25.24.27) have same host address which i removed. so,is that caused this problem?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Still getting Alerts while removed hosts
Yes that would have caused an issue, is that present elsewhere?
Re: Still getting Alerts while removed hosts
It's possible. BTW, when you ran the Write Config Tool, did you click only on the "Write" button? Do you get any config errors, when you click on the "Verify" button (warnings are OK)?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Still getting Alerts while removed hosts
When i run this command: grep -r "RADshare 27" /usr/local/nagios
it still presence in following area:
/usr/local/nagios/var/archives/nagios-06-02-2013-00.log:[1370059200] CURRENT SERVICE STATE: RADshare 27;Explorer;OK;HARD;1;Explorer.EXE: Running
/usr/local/nagios/var/archives/nagios-06-02-2013-00.log:[1370059200] CURRENT SERVICE STATE: RADshare 27;FaxComm;OK;HARD;1;FAXComm V2.0b_80.exe: Running
/usr/local/nagios/var/archives/nagios-06-02-2013-00.log:[1370059200] CURRENT SERVICE STATE: RADshare 27;IIS Web Server;OK;HARD;1;W3SVC: Started
/usr/local/nagios/var/archives/nagios-06-02-2013-00.log:[1370059200] CURRENT SERVICE STATE: RADshare 27;Memory Usage;OK;HARD;1;Memory usage: total:5971.96 Mb -
is It creating problem from here?
and when i ran the Write Config Tool, and cleck "Write" button, there is no any errors only one warning is there
it still presence in following area:
/usr/local/nagios/var/archives/nagios-06-02-2013-00.log:[1370059200] CURRENT SERVICE STATE: RADshare 27;Explorer;OK;HARD;1;Explorer.EXE: Running
/usr/local/nagios/var/archives/nagios-06-02-2013-00.log:[1370059200] CURRENT SERVICE STATE: RADshare 27;FaxComm;OK;HARD;1;FAXComm V2.0b_80.exe: Running
/usr/local/nagios/var/archives/nagios-06-02-2013-00.log:[1370059200] CURRENT SERVICE STATE: RADshare 27;IIS Web Server;OK;HARD;1;W3SVC: Started
/usr/local/nagios/var/archives/nagios-06-02-2013-00.log:[1370059200] CURRENT SERVICE STATE: RADshare 27;Memory Usage;OK;HARD;1;Memory usage: total:5971.96 Mb -
is It creating problem from here?
and when i ran the Write Config Tool, and cleck "Write" button, there is no any errors only one warning is there