New nagios user - I'm having problems
Brandon Ewing
marlboro at warningg.com
Sun Apr 20 01:42:13 CEST 2003
Greetings,
I'm having some issues configuring Nagios for the first time. I've been
working off the config docoumentation and the sample files, and thought
I had something that works put together. As an inital test, I setup one
host (localhost), and one monitor (ping). I was able to start nagios
successfully, and log into the web frontend. However, no matter what I
do, it never lists the one monitor I have setup as anything other than
failed.
monitor PING UNKNOWN 04-19-2003 18:34:55 0d 0h 1m 53s 1/3 /bin/ping -n
-U -c 5 127.0.0.1
I've even ran the ping command it says its executing - it works fine.
I've ran the actual monitor script from the command line,
libexec/check_ping -H 127.0.0.1 -w 100.0,20% -c 500.0,60%
PING OK - Packet loss = 0%, RTA = 0.10 ms
I've confirmed that the checkcommands.cfg is setup correctly, and that
the correct variables in correct order are being passed by the
services.cfg file.
in services.cfg:
check_command check_ping!100.0,20%!500.0,60%
in checkcommand.cfg:
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
-p 5
Also, I've confirmed that $USER1$ is defined in resources.cfg, and
resources.cfg is being loaded by nagios.cfg
$USER1$=/usr/local/nagios/libexec
What gives? Am I missing something?
-------------
Regards,
Brandon Ewing
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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