- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Using evweb to send e-mails like EMS
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2008 12:43 PM
тАО12-10-2008 12:43 PM
By following what's documented in evweb_subscribe(1), this should work just by creating a subscription like this:
# evweb subscribe -C -n "test" -t email:to:root@localhost
It creates the subscription as expected, but when I initiate a test event using "/opt/sfm/bin/sfmconfig -t -m", the event is logged correctly in the event viewer but root never gets any e-mail.
Anybody has been able to make this work?
P.S.: Yes, the CMS can send emails (and it works) but I don't trust it; I just want something similar to what EMS does/did as a backup.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2009 04:43 PM
тАО01-04-2009 04:43 PM
SolutionYes, I verified this works for me on the following two environments:
* SysFaultMgmt B.04.00.06.02 (11.23)
* SysFaultMgmt C.04.00.05.01 (11.31)
NOTE: SFM diag mode is enabled on both servers.
I can read a test event mail with the serverity 2 and Event# 103 through mailx.
Can you see a problem in /var/adm/syslog/mail.log ? Can you see the test event through evweb eventviewer -E -n xxxxx ?
Best Regards,
Shinji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2009 05:34 PM
тАО01-04-2009 05:34 PM
Re: Using evweb to send e-mails like EMS
I am almost certain that the following could be your problem:
Dec 12 12:05:06 ia641 sm-mta[2494]: n05156dZ002494: ruleset=check_mail, arg1=
By default, evweb creates alerts by
using Sender's address evweb@hp.com. If your
HP-UX server is not configured to accept
messages from external sources, or DNS
is not resolving exernal domains, simply add
support for /etc/mail/access database in
sendmail and lines like:
hp.com OK
.hp.com OK
then:
# cd /etc/mail
# makemap dbm access < access
# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start
Then, it works. So, your commands are OK,
Your email services are probably not.
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2009 08:57 PM
тАО01-04-2009 08:57 PM
Re: Using evweb to send e-mails like EMS
Thank you for giving us a good information.
If your suggestion resolves Oliver's problem, customizing the
from address specified in evweb.conf should be another solution.
Don't forget to make the changes valid by issuing the following
command:
(11.23)# /opt/sfm/bin/sfmconfig -c /opt/sfm/conf/evweb.conf
or
(11.31)# /opt/sfm/bin/sfmconfig -c /var/opt/sfm/conf/evweb.conf
I hope this helps all of you.
Shinji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 09:46 AM
тАО01-05-2009 09:46 AM