Operating System - HP-UX
1752822 Members
4519 Online
108789 Solutions
New Discussion юеВ

Configure mail alerts through HIDS

 
SOLVED
Go to solution
chindi
Respected Contributor

Configure mail alerts through HIDS

Hi ,

Am not able to configure Mail alerts from System Manager HIDS tool to send alerts to our mail id.
Configured System Manager & 5 Agents , alerts getting generated in /var/opt/ids/alert.log for all respective servers.
How do i push those via HIDS tool .
Manual doesnt throw much light on it . ( Or Maybe am not able to understand it )

 

4 REPLIES 4
chindi
Respected Contributor

Re: Configure mail alerts through HIDS

Hi Dennis / Patrick / Steven ,

 

Waiting for your views / suggestions .

Steven Schweda
Honored Contributor

Re: Configure mail alerts through HIDS

> Waiting for your views / suggestions .

   Waiting for a useful problem description.

   I know nothing about HIDS, except that more than one version seems
to exist, and, with my weak psychic powers, I don't know which one yours
is.

> Am not able to configure Mail alerts from System Manager HIDS tool to
> send alerts to our mail id.

   "Am not able" is not a useful problem description.  It does not say
what you did.  It does not say what happened when you did it.  (But I
gather that you're not getting e-mail as you expected.)

   Can you send e-mail to the (unspecified) e-mail address from the same
system using "mail" (or "mailx", or any non-HIDS e-mail client program)?

In other words, does HIDS e-mail from this system fail, or does _all_
e-mail from this system fail?

chindi
Respected Contributor
Solution

Re: Configure mail alerts through HIDS

Hi Steven,

 

Have found that it requires a wrapper c & Shell  script/program  to enable alerts .

Its quite confusing , wonder why they didnt keep it simple like Nagios  , Any alert recieved just send a mail through smtp .

 

Thanks .

 

 

chindi
Respected Contributor

Re: Configure mail alerts through HIDS

In order to configure HIDS mail alerts  we need to carry out a small change in their Example script shown below ;

 

root #/opt/ids/response >cat scriptA.sh
#!/usr/bin/sh
RECIPIENT="xyz@com"
echo "${8}" | /usr/bin/mailx -s "$7" ${RECIPIENT}

 

Thats it done.

It took me a long time to get this working , even HP support team was not able to help me out.

They wanted money for the same   :-)  

I hope it will help all of you .

 

HIDS is best software that HP has designed , wish it would have been working along with other flavours as well.