external notification commands
Brian Loe
knobdy at gmail.com
Wed Jan 24 18:21:24 CET 2007
On 1/24/07, Marc Powell <marc at ena.com> wrote:
>
> Try this to see if the program is reporting any errors --
>
> # 'notify-by-pager' command definition
> define command{
> command_name notify-by-pager
> command_line /usr/local/pager/client $CONTACTADDRESS1$
> "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress:
> $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $SERVICEOUTPUT$\nDate:
> $LONGDATETIME$ $NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is
> $SERVICESTATE$"'>> /tmp/nagios_notification.log 2>&1
>
Okay, did that, it created the file but didn't put anything in it.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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