I've been trying to get diagela to use my notification script instead
of trying to send alerts to certain groups on the machine itself. We
use Lotus Notes (LN) in-house as our E-mail package and thus the
machines try to send to a group name on LN which doesn't exist, thus
throwing out delivery errors on the LN servers.
I've added the following stanza to the ODM database like the
directions instructed but diagela is still not using my script for
notification.
PDiagAtt:
DClass = ""
DSClass = ""
DType = ""
attribute = "diag_notify"
value = "/utilities/diagela.mailer.sh $1 $2 $3 $4 $5"
rep = "s"
After adding the stanza to ODM, I then disabled and enabled diagela
and created a hardware issue (pulled plug on a redundant power supply)
and diagela still didn't use my script. My next thought to try would
be to put the diagela.mailer.sh script into /usr/bin.
I'm wondering if anyone has tried this technique with diagela's
notification and have gotten it to work who could point me in the
right direction. Is there anything I need to uncomment in the diagela
code itself? Any ideas? My OS is 4.3.3 I have also tested my mailer
script and it works like I want it.
Thanks in advance for any help,
Ritchie