Nagios Updated a host but old host is still pinged

Jason Payne - iland Internet Solutions jason.payne at iland.com
Fri May 27 22:56:11 CEST 2005


It seems that many people have a problem with multiple instances of nagios running.  How difficult would it be to setup a check for an instance already running based on a flag in the nagios.cfg?  I suppose this would be one for the dev list.
-Jason

Jason Payne
Network Operations
jason.payne at iland.com
voice: 1.800.697.7088
fax: 713.868.2268
http://www.iland.com/
iLand Internet Solutions Corporation
__________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.



-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Marc
Powell
Sent: Friday, May 27, 2005 3:34 PM
To: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Nagios Updated a host but old host is still
pinged




> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Jim B
> Sent: Friday, May 27, 2005 3:31 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Nagios Updated a host but old host is still
pinged
> 
> I have a nagios item which is a switch that I have changed the IP on
in
> hosts.cfg but the old host keeps getting pinged insted.
> 
> Is hosts.cfg the correct file to edit to update an item when the IP
has
> changed.

If that's the file that it's defined in, then yes. Did you restart
Nagios? Did it really restart? You may (probably) have multiple nagios
processes running at the same time. Stop nagios, kill any processes that
remain and restart.

> 
> Also Nagios is installed on Red Hat and I would like to migrate it to
> Debian, I have tried to copy the required files but the versions in
Nagios
> are too different to accept the nagios.cfg file, what would be the
best
> way to migrate a Nagios install from Red Hat to Debian?

Nagios.cfg has been pretty consistent for almost all pre 1.0->1.x
versions. I believe the only major additions have been the illegal_*
entries --

illegal_object_name_chars=`~!$%^&*"|'<>?,()
illegal_macro_output_chars=`~$^&"|'<>

What specific problem are you encountering? If you're trying to move
from 1.x to 2.x, you'll probably need to do a line-by-line between the
two versions of nagios.cfg. I don't think that even that much has
changed between 1.x and 2.x to make that a difficult prospect.


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list