Notification and check-host-alive problem
Marc Powell
marc at ena.com
Wed Jul 7 21:29:11 CEST 2004
Roy Kartadinata <mailto:drhonk at gmail.com> wrote:
> It works fine when I tested from command line. Below is the setting
> from checkcommands.cfg
>
> # 'check-host-alive' command definition
> define command{
> command_name check-host-alive
> command_line $USER1$/check_ping -H $HOSTADDRESS$ -w
> 3000.0,80% -c 5000.0,100% -p 1
> }
>
> This is the result when I ran it from command prompt.
>
> PING OK - Packet loss = 0%, RTA = 83.65 ms
>
>
> So that works fine.
Did you run it as root or the nagios user? There _is_ a difference.
--
Marc
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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