Hosts where frequently turned off

Tedman Eng teng at dataway.com
Mon Aug 30 23:05:27 CEST 2004


Use the "check_dummy" plugin.

define command{
        command_name   check_dummy
        command_line   $USER1$/check_dummy $ARG1$
        }

define host{
        host_name       blah
        parents         blah-dad
        check_command   check_dummy!0
        }

The arguments to use correspond to:
0 = OK
1 = WARNING
2 = CRITICAL 
3 = UNKNOWN


-----Original Message-----
From: Chrigi Hartmann [mailto:chrigi.hartmann at gmx.net]
Sent: Monday, August 30, 2004 1:51 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Hosts where frequently turned off


Hi Everybody

First, I'm new in your Mailing List. My english isn't perfect cause I'm
from switzerland.
I've installed nagios on my server and it works great. But I have one
issue: I have some hosts which are frequently turned off. but I want,
that nagios always assume the host is up. The manual says, i can leave
the argument 'check_command' blank for that. this works but it
doesn't work, when this host has a parent host. the
problem is, I have some host's behind a other vpn-firewall and this
firewall is the parent for those hosts. when i leave the parent host
argument, then the host is always up but he's on the wrong place on my
status map. do you have some ideas, how I can set parents for some hosts
and that they are always up?


thx and greets from switzerland

chrigi hartmann


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&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


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&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