Threshold SPAN and persistent-alarms is not working
"Naveen Baldeo" <[email protected]>
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
Hi All,
I have configured cricket thresholds as below.
config standard-interface-hc
monitor-thresholds =
"ifHCOutOctets:quotient:>45pct::%rrd-max-octets%::EXEC:/srv/cricket/scri
pts/threshold-add-warning.pl:/srv/cricket/scripts/threshold-clear-warnin
g.pl:SPAN:24,
ifHCInOctets:quotient:>45pct::%rrd-max-octets%::EXEC:/srv/cricket/script
s/threshold-add-warning.pl:/srv/cricket/scripts/threshold-clear-warning.
pl:SPAN:24,
ifHCOutOctets:quotient:>80pct::%rrd-max-octets%::EXEC:/srv/cricket/scrip
ts/threshold-add-critical.pl:/srv/cricket/scripts/threshold-clear-critic
al.pl:SPAN:24,
ifHCInOctets:quotient:>80pct::%rrd-max-octets%::EXEC:/srv/cricket/script
s/threshold-add-critical.pl:/srv/cricket/scripts/threshold-clear-critica
l.pl:SPAN:24"
I can not get it working. I have 2 problems.
1. The above generates alarm every 5 min (persistent-alarms =
false does not work).
I have tried putting this in target -default--
target --default--
mail-pgm = /usr/bin/mailx
persistent-alarms = false
also tried under
config standard-interface-hc
persistent-alarms = false
monitor-thresholds =
"ifHCOutOctets:quotient:>45pct::%rrd-max-octets%::EXEC:/srv/cricket/scri
pts/threshold-add-warning.pl:/srv/cricket/scripts/threshold-clear-warnin
g.pl:SPAN:24,
ifHCInOctets:quotient:>45pct::%rrd-max-octets%::EXEC:/srv/cricket/script
s/threshold-add-warning.pl:/srv/cricket/scripts/threshold-clear-warning.
pl:SPAN:24,
ifHCOutOctets:quotient:>80pct::%rrd-max-octets%::EXEC:/srv/cricket/scrip
ts/threshold-add-critical.pl:/srv/cricket/scripts/threshold-clear-critic
al.pl:SPAN:24,
ifHCInOctets:quotient:>80pct::%rrd-max-octets%::EXEC:/srv/cricket/script
s/threshold-add-critical.pl:/srv/cricket/scripts/threshold-clear-critica
l.pl:SPAN:24"
and also not putting in persistent-alarm as by default it is false.
2. An alarm is generated as soon as it happens (SPAN:24 does not
work).
Can you please help?
Regards,
Naveen Baldeo
Technical Specialist
Network Growth
Mailto: [email protected]
<mailto:Mailto:[email protected]>
****DISCLAIMER****
This e-mail may contain confidential information. If you are not the
intended recipient, please notify the sender immediately and delete this
e-mail from your system. You must not disclose this e-mail to anyone
without express permission from the sender. The contents of all e-mails
sent to and received from Optus may be scanned, stored, or disclosed to
others at Optus' discretion.
Optus has exercised care to avoid errors in the information contained in
this e-mail but does not warrant that the information is error or
omission free. The information (including any pricing information)
contained in this e-mail is subject to change. This e-mail is not a
quotation or proposal and no contractual obligations arise until you and
Optus sign a formal written contract or formal variation to your
existing contract.
Any pricing contained in this e-mail is exclusive of GST unless
otherwise stated.
-------------------------------------------------------------------------
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