[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Repeat paging without REPEAT
- To: hobbit (at) hswn.dk
- Subject: Repeat paging without REPEAT
- From: "Pat Vaughan" <hobbit (at) pvaughan.us>
- Date: Fri, 16 Sep 2005 08:51:12 -0400 (EDT)
- Importance: Normal
- User-agent: SquirrelMail/1.4.6 [CVS]-0.cvs20050812.1.fc4
I have some hosts that were set to repeatedly page every 20 minutes for 2
hours. Of course, when an entire team got into a meeting and they all got
the same page every 20 minutes for an hour, I was told to turn that
"feature" off.
But, after removing the REPEAT keyword in the hobbit-alerts.cfg file I got
the pages this morning at 8:00 AM and 8:30 AM. The time restriction
keywords worked perfectly, but I don't see where I'm getting the repeats
from. I also stopped and restarted hobbitd after editing the file.
Here are the relevant lines from my hobbit-alerts.cfg:
HOST=%(cnpe|cnpf|cnpg|cnph).pri.xxx.net|hnae.ro.xxx.net
SCRIPT /usr/local/bin/scripts/hobbit-mailpage $UNIX_PAGERMAIL
SERVICE=%(cpu|disk|errpt|msgs|procs|ssh|telnet|vmio) COLOR=red
TIME=12345:0800:1700
SCRIPT /usr/local/bin/scripts/hobbit-mailpage
$MIDDLEWARE_PAGERMAIL
SERVICE=%(cpu|disk|errpt|msgs|procs|ssh|telnet|vmio) COLOR=red
TIME=12345:0800:1700