I am guessing ever since I started using the PAGE variable in my hobbit-alerts.cfg file I have been seeing more disable action failing to generate an alert notification
Not sure if there is a way to debug the failure.
On Tue, Feb 14, 2006 at 05:55:18PM, Asif Iqbal wrote:
I am still having this issue. I see the info and alert page shows that the disable has been done. But I do not NOTICE email. According to the info page I should receive notification alerts. Also I do not see any entry in the acknowledgement page either. I did not see any email generated related to this notice either. Also no entry for troubled hosts in the enadis.log or notification log. It works for other hosts. The following log files from previous emails are still true as well.
This is the part that is responsible for sending NOTICE
HOST=%(.*) MAIL myemail at here.com SYSTEMS NOTICE NOALERT
Again only few hosts that are having trouble. Rest of them when disabled generates an email and I receive it fine.
Should this be posted as bug or there is some debug trick I can follow to find the real issue?
Thanks
On Fri, Dec 02, 2005 at 07:03:12PM, Asif Iqbal wrote:
Hi All
I just realized that we are not receiving NOTICE alerts anymore when disable or enable host.service through the web.
tail -10 /var/log/hobbit/enadis.log. I have always seen them but not showing the host whose service I disabled and then enabled.
2005-11-30 07:52:15 Could not remove disable-file '/export/home/hobbit/data/disabled/maskit,inet,here,net.scanmsg':No such file or directory 2005-11-30 07:52:15 Could not remove disable-file '/export/home/hobbit/data/disabled/maskit,inet,here,net.top':No such file or directory 2005-11-30 07:52:15 Could not remove disable-file '/export/home/hobbit/data/disabled/maskit,inet,here,net.netinfo':No such file or directory
Also not receiving any email related to NOTICE.
./bin/bbcmd hobbitd_alert --dump-config
[..] HOST=%(.*) MAIL groupemail at here.net FORMAT=TEXT REPEAT=30 NOTICE NOALERT
Version:
./bin/bbgen --version bbgen version 4.1.2
I do not think I made any recent changes.
Thanks
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "..there are two kinds of people: those who work and those who take the credit...try to be in the first group;...less competition there." - Indira Gandhi