Hi

ok one more problem, so i changed the host check from "check-passiv" to 
"check-host-alive" , so that works 
for some domains with a really FQDN, but we have some domains with f.e. 
*.local. So how can I get an answer
from these hosts? 

check_ping: Ungültige(r) Hostname/Adresse - sbs-server.fuerstliche.local
Usage:check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>%
[-p packets] [-t timeout] [-4

Regards Olly


Mit freundlichen Gruessen

Oliver Klein
System Engineer 

Tel:    02506 / 93 20 214
Mobil:  0163-5932004
E-Mail: [email protected]



NCC
Noethen Computer Center GmbH
Wolbecker Windmuehle 55
48167 Muenster

Tel: 02506 93 20 0
FAX: 02506 93 20 20

E-Mail:   [email protected]
Homepage: www.nccms.de






                                        
Amtsgericht Muenster HRB 5036    Geschaeftsfuehrer: Ralf Bakenecker
                                                 Uwe-Christian Surma


_____________________________________________________________________
Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet
ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes
Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs-
aeusserung ist die des Autors und stellt nicht notwendigerweise die
Ansicht oder Meinung von NCC GmbH dar.
Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich
erhalten und jegliche Verwendung, Veroeffentlichung, Weiterleitung,
Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt.

Weder NCC GmbH noch der Absender (Oliver Klein)
uebernehmen die Haftung fuer Viren; es obliegt Ihrer Verantwortung,
die E-Mail und deren  Anhaenge auf Viren zu pruefen.
 Anhaenge:

_____________________________________________________________________
Versand am 22.04.2010 12:35 von Klein Oliver
Validation-Code: 3152203752163

-----Urspruengliche Nachricht-----
Von: Klein, Oliver [mailto:[email protected]] 
Gesendet: Donnerstag, 22. April 2010 12:03
An: Nagios Users List
Betreff: Re: [Nagios-users] passive host alive check?

Hi Assaf

ok so i change the default check command fort he host to "check-host-alive" in 
the templates.cfg  but host is still "down" 
in the webinterface. So where I have to do these changes? Can you give a short 
explain?

regards olly


Mit freundlichen Gruessen

Oliver Klein
System Engineer 

Tel:    02506 / 93 20 214
Mobil:  0163-5932004
E-Mail: [email protected]



NCC
Noethen Computer Center GmbH
Wolbecker Windmuehle 55
48167 Muenster

Tel: 02506 93 20 0
FAX: 02506 93 20 20

E-Mail:   [email protected]
Homepage: www.nccms.de






                                        
Amtsgericht Muenster HRB 5036    Geschaeftsfuehrer: Ralf Bakenecker
                                                 Uwe-Christian Surma


_____________________________________________________________________
Dieses E-Mail ist nur fuer den Empfaenger bestimmt, an den es gerichtet ist und 
kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. 
Jegliche darin enthaltene Ansicht oder Meinungs- aeusserung ist die des Autors 
und stellt nicht notwendigerweise die Ansicht oder Meinung von NCC GmbH dar.
Sind Sie nicht der Empfaenger, so haben Sie diese E-Mail irrtuemlich erhalten 
und jegliche Verwendung, Veroeffentlichung, Weiterleitung, Abschrift oder 
jeglicher Druck dieser E-Mail ist strengstens untersagt.

Weder NCC GmbH noch der Absender (Oliver Klein) uebernehmen die Haftung fuer 
Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren  Anhaenge auf Viren 
zu pruefen.
 Anhaenge:

_____________________________________________________________________
Versand am 22.04.2010 12:02 von Klein Oliver
Validation-Code: 3152203752122

-----Urspruengliche Nachricht-----
Von: Assaf Flatto [mailto:[email protected]]
Gesendet: Donnerstag, 22. April 2010 10:57
An: [email protected]
Betreff: Re: [Nagios-users] passive host alive check?

Klein, Oliver wrote:
>       
>
> Hi
>
> i have a questions about passive checks, we use this option to monitor 
> some servers from our customers.
>
> Now our problem is, that the services are in the state "OK" but the 
> hosts are "down", but the host is "alive".
>
> How can I solve this? I read some docs about this issue, but I didn´t 
> really understand what to do now. Can anyone
>
> give a short howto about this issue?
>
> Big thx in advance
>
> Regards Olly
>
>
>       
>

AFAIK nagios passive checks ( defined usually by the users )are for services ( 
most users do not enable passive checks for hosts) - hence the host is never 
getting a status update as it is not check as a "service" per say.
you may need to set active checks on the host , and passive test for the 
host-related services , or you can change the host status manually with the use 
of the external commands.

if you are using the PING test for the host - then that should be the indicator 
for if the host is "alive" - as the check_host_alive is using ping to make that 
determination .

Assaf

--
Never,Ever Cut A Deal With a Dragon 


I am doing a Charity Bike ride On the 27 of June for the Capital to Coast 
Charity. Please help by Donating 
http://www.justgiving.com/Lovefilm-capital-to-coast



------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
[email protected]
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


------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
[email protected]
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


------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to