> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Brian Loe > Sent: Tuesday, January 23, 2007 3:01 PM > To: Marc Powell > Cc: Nagios Users mailinglist > Subject: Re: [Nagios-users] external notification commands > > On 1/23/07, Brian Loe <[EMAIL PROTECTED]> wrote: > > On 1/23/07, Marc Powell <[EMAIL PROTECTED]> wrote: > > > > > # 'notify-by-pager' command definition > > > define command{ > > > command_name notify-by-pager > > > command_line echo '/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 > > > } > > > > Well, I really don't get this. That worked. If I just copy and paste > > that output (from echo) to the command line it works fine... > > > What permissions would that application need to have for Nagios to run it? > drwxr-xr-x /usr/local/pager > -rwxrwxrwx client
These look fine (probably). Is 'client' a script or program that you wrote or have visibility into? What does it do exactly. -- Marc ------------------------------------------------------------------------- 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@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