monitor-thresholds not triggering properly

Jared Gillis <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
Hello,

I'm trying to set up some monitor thresholds on our cricket install, and
I don't see anything amiss in the config, but I'm not getting any alerts
at all. Here's the target def, and the threshold is set to a value so
low it should always match:

target custsql.sonic.net
        target-type = mysql-stats
        short-desc = "custsql.sonic.net MySQL Server"
        order = 900
        monitor-thresholds =
"ucdload1min:value:n:0.1:MAIL:%mail-pgm%:jared\\\@sonic.net"

As you can see, I've tried lowercasing the DS name and removing all
extraneous spaces, to no effect. I've run the collector in debug mode
and got the following output:

[09-May-2006 12:33:20 ] Processing /servers/sql/custsql.sonic.net...
[09-May-2006 12:33:20 ] target custsql.sonic.net
        auto-base = /opt/cricket/cricket-config
        auto-root = /../..
        auto-target-path = /servers/sql
        datadir = /opt/cricket/cricket-config/../cricket-data//servers/sql
        directory-desc = custsql.sonic.net MySQL Server
        inst =
        mail-pgm = /bin/mail
        monitor-thresholds =
ucdload1min:value:n:0.1:MAIL:/bin/mail:jared\@sonic.net
        order = 900
        persistent-alarms = true
        private = 0
        rrd-datafile =
/opt/cricket/cricket-config/../cricket-data//servers/sql/custsql.sonic.net.rrd
        rrd-poll-interval = 300
        short-desc = custsql.sonic.net MySQL Server
        show-path = no
        snmp = [email protected]:161:2.0:5:1.0:1
        snmp-backoff = 1.0
        snmp-community = public
        snmp-host = custsql.sonic.net
        snmp-port = 161
        snmp-retries = 5
        snmp-timeout = 2.0
        snmp-version = 1
        summary-loc = top
        target-type = mysql-stats

[09-May-2006 12:33:20 ] Retrieving data for target custsql.sonic.net ()
(mysql-stats)
[09-May-2006 12:33:20 ] ds0 is:
//[email protected]:161:2.0:5:1.0:1/ucdCpuUser
[09-May-2006 12:33:20 ] ds1 is:
//[email protected]:161:2.0:5:1.0:1/ucdCpuNice
[09-May-2006 12:33:20 ] ds2 is:
//[email protected]:161:2.0:5:1.0:1/ucdCpuIdle
[09-May-2006 12:33:20 ] ds3 is:
//[email protected]:161:2.0:5:1.0:1/ucdCpuSystem
[09-May-2006 12:33:20 ] ds4 is:
//[email protected]:161:2.0:5:1.0:1/ucdLoad1Min
[09-May-2006 12:33:20 ] ds5 is:
//[email protected]:161:2.0:5:1.0:1/ucdLoad5Min
[09-May-2006 12:33:20 ] ds6 is:
//[email protected]:161:2.0:5:1.0:1/ucdLoad15Min
[09-May-2006 12:33:20 ] ds7 is:
//[email protected]:161:2.0:5:1.0:1/ucdMemSwapFree
[09-May-2006 12:33:20 ] ds8 is:
//[email protected]:161:2.0:5:1.0:1/ucdMemRealFree
[09-May-2006 12:33:20 ] ds9 is:
//[email protected]:161:2.0:5:1.0:1/ucdMemTotalFree
[09-May-2006 12:33:20 ] ds10 is:
//[email protected]:161:2.0:5:1.0:1/sonicSharedMem
[09-May-2006 12:33:20 ] ds11 is:
//[email protected]:161:2.0:5:1.0:1/sonicBufferMem
[09-May-2006 12:33:20 ] ds12 is:
//[email protected]:161:2.0:5:1.0:1/sonicCachedMem
[09-May-2006 12:33:20 ] ds13 is:
//[email protected]:161:2.0:5:1.0:1/sonicPageIns
[09-May-2006 12:33:20 ] ds14 is:
//[email protected]:161:2.0:5:1.0:1/sonicPageOuts
[09-May-2006 12:33:20 ] ds15 is:
//[email protected]:161:2.0:5:1.0:1/sonicSwapIns
[09-May-2006 12:33:20 ] ds16 is:
//[email protected]:161:2.0:5:1.0:1/sonicSwapOuts
[09-May-2006 12:33:20 ] ds17 is:
//[email protected]:161:2.0:5:1.0:1/sonicTotalInts
[09-May-2006 12:33:20 ] ds18 is:
//[email protected]:161:2.0:5:1.0:1/sonicTimerInts
[09-May-2006 12:33:20 ] ds19 is:
//[email protected]:161:2.0:5:1.0:1/sonicContxtSw
[09-May-2006 12:33:20 ] ds20 is:
//[email protected]:161:2.0:5:1.0:1/sonicTtlForks
[09-May-2006 12:33:20 ] ds21 is:
//[email protected]:161:2.0:5:1.0:1/ifInOctets
[09-May-2006 12:33:20 ] ds22 is:
//[email protected]:161:2.0:5:1.0:1/ifOutOctets
[09-May-2006 12:33:20 ] ds23 is:
//[email protected]:161:2.0:5:1.0:1/ifInUcastPkts
[09-May-2006 12:33:20 ] ds24 is:
//[email protected]:161:2.0:5:1.0:1/ifOutUcastPkts
[09-May-2006 12:33:20 ] ds25 is:
//[email protected]:161:2.0:5:1.0:1/mysqlUptime
[09-May-2006 12:33:20 ] ds26 is:
//[email protected]:161:2.0:5:1.0:1/mysqlThreads
[09-May-2006 12:33:20 ] ds27 is:
//[email protected]:161:2.0:5:1.0:1/mysqlQuestions
[09-May-2006 12:33:20 ] ds28 is:
//[email protected]:161:2.0:5:1.0:1/mysqlSlowQueries
[09-May-2006 12:33:20 ] ds29 is:
//[email protected]:161:2.0:5:1.0:1/mysqlOpens
[09-May-2006 12:33:20 ] ds30 is:
//[email protected]:161:2.0:5:1.0:1/mysqlFlushes
[09-May-2006 12:33:20 ] ds31 is:
//[email protected]:161:2.0:5:1.0:1/mysqlOpenTables
[09-May-2006 12:33:20 ] Getting from
[email protected]:161:2.0:5:1.0:1 1.3.6.1.4.1.2021.11.50.0
1.3.6.1.4.1.2021.11.51.0 1.3.6.1.4.1.2021.11.53.0
1.3.6.1.4.1.2021.11.52.0 1.3.6.1.4.1.2021.10.1.3.1
1.3.6.1.4.1.2021.10.1.3.2 1.3.6.1.4.1.2021.10.1.3.3
1.3.6.1.4.1.2021.4.4.0 1.3.6.1.4.1.2021.4.6.0 1.3.6.1.4.1.2021.4.11.0
1.3.6.1.4.1.8462.2.2.110.2.101.16 1.3.6.1.4.1.8462.2.2.110.2.101.17
1.3.6.1.4.1.8462.2.2.110.2.101.18 1.3.6.1.4.1.8462.2.2.110.2.101.5
1.3.6.1.4.1.8462.2.2.110.2.101.6 1.3.6.1.4.1.8462.2.2.110.2.101.7
1.3.6.1.4.1.8462.2.2.110.2.101.8 1.3.6.1.4.1.8462.2.2.110.2.101.9
1.3.6.1.4.1.8462.2.2.110.2.101.10 1.3.6.1.4.1.8462.2.2.110.2.101.11
1.3.6.1.4.1.8462.2.2.110.2.101.12 1.3.6.1.2.1.2.2.1.10.2
1.3.6.1.2.1.2.2.1.16.2 1.3.6.1.2.1.2.2.1.11.2 1.3.6.1.2.1.2.2.1.17.2
1.3.6.1.4.1.8462.2.2.110.5.101.1 1.3.6.1.4.1.8462.2.2.110.5.101.2
1.3.6.1.4.1.8462.2.2.110.5.101.3 1.3.6.1.4.1.8462.2.2.110.5.101.4
1.3.6.1.4.1.8462.2.2.110.5.101.5 1.3.6.1.4.1.8462.2.2.110.5.101.6
1.3.6.1.4.1.8462.2.2.110.5.101.7
[09-May-2006 12:33:20 ] Got: 146116204 4335 2571314957 61181392 2.54
2.01 1.44 1052232 67356 1119588 0 50425856 1368195072 820055425
441860133 1 4 3904187669 694654222 3842539612 1106197 2744505842
563844964 1738375907 1998151953 5949050 58 3542158835 65824 18815646 18 512
[09-May-2006 12:33:20 ] Retrieved data for
/servers/sql/custsql.sonic.net ():
146116204,4335,2571314957,61181392,2.54,2.01,1.44,1052232,67356,1119588,0,50425856,1368195072,820055425,441860133,1,4,3904187669,694654222,3842539612,1106197,2744505842,563844964,1738375907,1998151953,5949050,58,3542158835,65824,18815646,18,512

As you can see, the 5th DS value (ucdload1min) is well over 0.1, but no
alerts are triggered, no emails are sent, etc.
I've dug through the mailing list archives and nothing I've seen there
has been any use, unfortunately. There should be an entry in the logfile
if the threshold was hit, and an alert attempted to be sent, as far as I
know, and I'm not seeing any log entries like that.
Does anyone have any advice at all?

-- 
Jared Gillis - [email protected]       Sonic.net, Inc.
Network Operations                        2260 Apollo Way
707.522.1000 (Voice)                      Santa Rosa, CA 95407
707.547.3400 (Support)                    http://www.sonic.net/


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.