On Mon, Mar 19, 2007 at 08:10:18PM +0000, Thomas wrote:
> What is the difference between an alarm rule and a pager rule?
> Are pager rules required or do they just help to limit the scope of alarms?
> Is it possible to only use pager rules or to only use alarm rules? Are both
> required or just one?
If by pager-rule you mean rules in bb_event_generator.cfg like
PAGER{$pager eq "sendmail" and $mail eq "test"} mail=addr1,addr2,addr3
then I can tell you that they are not needed.
So, just as an example I can show you what I have in bb_event_generator.cfg:
#-------------------------------------------------------------
*.* prio=40 down=yellow up=green delay=5 \
check="$host.conn and ((not '$router') or $router.conn)" \
norepeat=20 keep=1 repeatprio=10 msgmax=120 \
suppressed,suppressed
#-------------------------------------------------------------
netmusik.* down=red
netmus-count.* down=red
netmus-auth.* down=red
netmus-tomcat.* down=red
netmusws-tomcat.* down=red
zeus.* down=red
zeus.cpu down=never
zeus.net down=never
zeus.ZServer down=never
#-------------------------------------------------------------
*.*{daytime 22:00-08:00} postpone_to=08:00
*.*{daytime 20:00-10:00 and weekday Fri-Sat} postpone_to=10:00
*.*{daytime 20:00-08:00 and weekday Sun} postpone_to=08:00
*.cpu{daytime 18:00-08:00} postpone_to=08:00
@pub.*{daytime 18:00-09:00} postpone_to=09:00
@pub.*{weekday Sun} down=never
@Printere.*{daytime 18:00-09:00} postpone_to=09:00
@Modulex.* down=red suppressed
*.conn prio=80 check="not '$router' or $router.conn"
*.disk prio=60 check="1" delay=10
*.cpu prio=20 check="1" delay=10
io.cpu down=never
*.ups delay=0
#-------------------------------------------------------------
/Niels
--
Niels Baggesen -- @home -- Århus -- Denmark -- suppressed
The purpose of computing is insight, not numbers -- R W Hamming
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.