Page 1 of 1

Nagiosgraph viewing area

Posted: Fri Jul 22, 2011 3:14 pm
by dbar
Hi,
How can I change the graph properties so that all the information is displayed? I have this set up to ping a device through a vpn tunnel using a custom command.

Code: Select all

define command{
        command_name    check_ping_s01_tunnel
        command_line    $USER1$/check_ping -H 192.168.38.3 -w $ARG1$ -c $ARG2$ -p 5
        }
Then the service is set up

Code: Select all

define service{
        use                     generic-service
        host_name               s01
        service_description     Tunnel Status
        check_command           check_ping_s01_tunnel!200.0,20%!500.0,60%
        action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$
        }
Is this the correct way to do this? The hostname above uses a different (public) ip address. I wanted the ping to keep going regardless of whether the s01 host is down.