problem with custom notifcation

Colin Murray raven at paradise.net.nz
Mon Jul 21 09:47:47 CEST 2003


At 09:53 p.m. 20/07/2003 -0700, Tedman Eng wrote:
>login as the nagios user and try running it from the command line from
>there.  Maybe something in your environment that the script needs to set for
>itself?  I'm not familiar with the vicq application, but make sure it works
>in the nagios user's environment too.
>
>
><raven at paradise.net.nz> wrote in message
>news:1058743991.3f1b26b7af3ca at www.paradise.net.nz...
> > Greetings
> >
> > i have a small problem with a custom notification(vicq).
> > the command seems to run from the command line but not from nagios.
> >
> > /usr/bin/printf "%b" "msg icqnumber\nNotification Type:
> > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:
> > $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
>$DATETIME$\n\nAdditional
> > Info:\n\n$OUTPUT$"\n.\n" | /usr/local/bin/vicq -b -o
> >
> > has any body have any ideas how to get this to work?
> >
> > Thanks for any help
> >
> > Colin

Hi
Tired that even tired as the apache user works fine from the command line 
but no go from Nagios

Colin



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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