Antwort: RE: [Possible Spam] - Re: host down but up problem [Virus scanned]

Andreas Ericsson ae at op5.se
Sat Feb 12 12:06:51 CET 2005


Christopher Smith wrote:
> BTW, this is running as daemon (default SuSE user account for
> Nagios). Does this have anything to do with it?
> 

Only if there are some restrictions on the daemon account to execute 
setuid programs. SuSE does a lot of things in a paranoid manner, so that 
might be it. You also need to check that the disk the check_icmp plugin 
resides on is mounted without the nosuid option, using the 'mount' command.

> 
> 
> 
> 
> -----Original Message----- From:
> nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sascha
> Runschke Sent: Friday, February 11, 2005 7:48 AM To:
> nagios-users at lists.sourceforge.net Subject: Antwort: RE: [Possible
> Spam] - Re: [Nagios-users] host down but up problem [Virus scanned]
> 
> Yes, set the permissions properly. Judging from your error message, I
> guess it isn't set suid root.
> 
> chown root check_icmp chmod 4755 check_icmp
> 
> regards sash
> 
> -------------------------------------------------- Sascha Runschke 
> Netzwerk Administration IT-Services
> 
> ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch
> 
> Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de
> 
> http://www.abit.net http://www.abit-epos.net 
> http://www.my-academy.net 
> -------------------------------------------------- Der Inhalt dieser
> Email sowie die Anhänge sind ausschließlich für den bezeichneten
> Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser
> Email oder dessen Vertreter sein sollten, so beachten Sie bitte, daß
> jede Form der Kenntnisnahme, Veröffentlichung,  Vervielfältigung oder
> Weitergabe des Inhalts dieser Email unzulässig ist. Wir möchten Sie
> außerdem darauf hinweisen, daß die Kommunikation per Email über das
> Internet unsicher ist, da fuer unberechtigte Dritte grundsätzlich die
> Möglichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie
> diese Nachricht versehentlich erhalten, informieren Sie bitte den
> Absender und löschen diese Nachricht mit den Anhängen. Herzlichen
> Dank
> 
> The information and any attachments contained in this email are
> intended solely for the addressee. Access to this email by anyone
> else is unauthorized. If you are not the intended recipient, any form
> of disclosure, reproduction, distribution or any action taken or
> refrained from in reliance on it, is prohibited and may be unlawful.
> We also like to inform you that communication via email over the
> internet is insecure because third parties may have the possibility
> to access and manipulate emails. If you have received the message in
> error, please advise the sender and delete the message and any
> attachments. Thank you very much.
> 
> 
> 
> 
> "Christopher Smith" <csmith at RadioFrameNetworks.com> Gesendet von:
> nagios-users-admin at lists.sourceforge.net 11.02.2005 16:18
> 
> 
> An:     "Andreas Ericsson" <ae at op5.se>,
> <nagios-users at lists.sourceforge.net> Kopie: Thema:  RE: [Possible
> Spam] - Re: [Nagios-users] host down but up problem [Virus scanned]
> 
> 
> Okay, so I am having this problem with the Check_Icmp plugin.
> 
> If I run the check_icmp as the default nagios user account, I receive
> a status information message in Nagios stating that 'Root access
> needed (for raw sockets)' is necessary. Yet, as stipulated by
> another's post, it runs as root, no problem. I have verified that the
> permissions (from Linux) are set correctly.
> 
> This is 1.4.x of the plugins running on SuSE 9.1 and Nagios 1.2.
> 
> How does one get around this?
> 
> 
> 
> 
> -----Original Message----- From:
> nagios-users-admin at lists.sourceforge.net 
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of
> Andreas Ericsson Sent: Wednesday, February 09, 2005 7:38 AM To:
> nagios-users at lists.sourceforge.net Subject: [Possible Spam] - Re:
> [Nagios-users] host down but up problem
> 
> Serveur-Faucon Surveillance wrote:
> 
>> Hi all,
>> 
>> I have been using Nagios for quite a while now over 2 years, so I
>> am pretty familiar with it.
>> 
>> One of my host recently went to a down state on the network status,
>>  but is actually UP. This is not FAQ F0015 or F0016 related, since
>> the same command is used by all other hosts (and they are just
>> fine).
>> 
>> I use the check_host_alive default command to check on hosts status
>>  (yeah I know, I dont use the hip (new, cool) check_icmp from
>> Andreas Ericsson for now. Later)
>> 
> 
> 
> Don't know about hip and cool, but you're probably better off without
>  it. "Don't fix it if it ain't broken".
> 
> 
>> So I went to my console to try a couple of things... ping myhost =
>> ok!
> 
> 
>> check_ping -H myhost etc etc = ok! (exactly like the 
>> check_host_alive)
>> 
>> So... my next theory would be to erase everything from that host in
>>  the history, and start over. But before that, is there someone who
>>  actually had something like that?
>> 
>> There was the bug witch two nagios process could run at the same
>> time,
> 
> 
>> but that's not it. Thanks!
>> 
> 
> 
> This can happen properly when the host starts flapping while down and
>  comes out OK on the other end of the flapping. Assuming you aren't 
> running 2.0 with f among your notification_options, ofcourse.
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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