I am trying to pipe email going to ng_recycle but I am getting an error and it won't fire off the script...
Code:
hamster1 sendmail[24762]: [ID 801593 mail.info] o0FHcmj9024761: to="|/usr/home/chrish/scripts/ng_recycle.sh", ctlad
dr=<hamster1_ng@hamster1> (1/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30842, dsn=5.3.0, stat=unknown mailer error 1
Here is the aliases file
Code:
hamster1_ng: "|/usr/home/chrish/scripts/ng_recycle.sh"
Currently all the script is doing is this
Code:
#!/bin/ksh -fuh
#
#
#
logger -p local5.info -t APACHE_RECYCLE "Nagios triggerd an apache recycle"
#
exit 0
#
#-30-
Any ideas?
-C