Repeat paging without REPEAT
Pat Vaughan
hobbit at pvaughan.us
Fri Sep 16 14:51:12 CEST 2005
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
More information about the Xymon
mailing list