[Nagiosplug-help] ifoperstatus problem
Subhendu Ghosh
sghosh at sghosh.org
Fri Oct 25 12:32:04 CEST 2002
Are you running embedded perl? Is the script permissions correct?
Are you getting any other error other than "no output"?
Are there any related log messages?
FYI: your service description - check_command: the "!eth0" is not used
anywhere.
-sg
On 25 Oct 2002, Jake Colman wrote:
>
> >>>>> "SG" == Subhendu Ghosh <sghosh at sghosh.org> writes:
>
> SG> Please post the configs and command line output -sg
>
>
> Command Definition
> ------------------
> define command{
> command_name check_if
> command_line $USER1$/check_ifoperstatus -H 127.0.0.1 -k 2 -C public
> }
>
> Service Definition
> ------------------
> define service{
> use generic-service
> host_name firewall
> service_description eth0
> is_volatile 0
> check_period 24x7
> max_check_attempts 3
> normal_check_interval 5
> retry_check_interval 1
> contact_groups admins
> notification_interval 120
> notification_period 24x7
> notification_options w,u,c,r
> check_command check_if!eth0
> }
>
> Output from command-line
> ------------------------
> OK: host '127.0.0.1', eth0(2) is up
>
>
> SG> On 25 Oct 2002, Jake Colman wrote:
>
> >>
> >> I installed ifoperstatus but nagios status information says "no
> >> output". If I run it from the command-line against an interface it
> >> works fine. I edited the services.cfg file to not use arguments and
> >> simply hard-coded values (since I know that it works form the
> >> command-line) but still no joy. Any idea what I'm doing wrong?
> >>
> >>
>
> SG> --
>
>
>
--
More information about the Help
mailing list