Xymon Mailing List Archive search

memswap not alerting

8 messages in this thread

list Kevin Kelly · Mon, 15 Aug 2011 09:50:32 -0500 ·
Running xymon on Solaris 10

Version 4.2.3

 
Hobbit-clients.cfg has the following:

HOST=srv1

        MEMSWAP 70 80 GROUP=bkpsupport

        DISK    /nbimages 95 98 GROUP=bkpsupport

        DISK    /images 75 80 GROUP=bkpsupport

 
Hobbit-alerts.cfg has the following:

GROUP=bkpsupport

        MAIL user-1ab6e62f6486@xymon.invalid FORMAT=PLAIN

 
And 

 
HOST=%(srv1|srv3|srv4|srv5) COLOR=red

        MAIL user-1ab6e62f6486@xymon.invalid FORMAT=PLAIN
SERVICE=cpu,memswap,conn,disk,procs,meta,prtdiag,zfs DURATION>5

 
I can run the following and it appears the configs are correct:

bbcmd hobbitd_alert --test srv1 memswap 301

 
part of the result output:

00002848 2011-08-15 08:59:11 Matching host:service:page
'srv1:memswap:bksrv' against rule line 183

00002848 2011-08-15 08:59:11 *** Match with 'MAIL user-1ab6e62f6486@xymon.invalid
FORMAT=PLAIN SERVICE=cpu,memswap,conn,disk,procs,meta,p

rtdiag,zfs DURATION>5' ***

00002848 2011-08-15 08:59:11 Mail alert with command 'mailx -s "Hobbit
[12345] srv1:memswap CRITICAL (RED)" user-1ab6e62f6486@xymon.invalid'

 
But it I change memswap to 40 60 to trigger an alert, nothing is sent
for either yellow or red.

 
Thanks in advance!

 
-Kevin 

 
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
list Asif Iqbal · Mon, 15 Aug 2011 11:21:29 -0400 ·
quoted from Kevin Kelly
On Mon, Aug 15, 2011 at 10:50 AM, Kevin Kelly <user-46671a9fcf56@xymon.invalid> wrote:
Running xymon on Solaris 10

Version 4.2.3


Hobbit-clients.cfg has the following:

HOST=srv1

        MEMSWAP 70 80 GROUP=bkpsupport

        DISK    /nbimages 95 98 GROUP=bkpsupport

        DISK    /images 75 80 GROUP=bkpsupport


Hobbit-alerts.cfg has the following:

GROUP=bkpsupport

        MAIL user-1ab6e62f6486@xymon.invalid FORMAT=PLAIN


And


HOST=%(srv1|srv3|srv4|srv5) COLOR=red

        MAIL user-1ab6e62f6486@xymon.invalid FORMAT=PLAIN
SERVICE=cpu,memswap,conn,disk,procs,meta,prtdiag,zfs DURATION>5

you have service column name memswap?
quoted from Kevin Kelly

I can run the following and it appears the configs are correct:

bbcmd hobbitd_alert --test srv1 memswap 301


part of the result output:

00002848 2011-08-15 08:59:11 Matching host:service:page 'srv1:memswap:bksrv'
against rule line 183

00002848 2011-08-15 08:59:11 *** Match with 'MAIL user-1ab6e62f6486@xymon.invalid FORMAT=PLAIN
SERVICE=cpu,memswap,conn,disk,procs,meta,p

rtdiag,zfs DURATION>5' ***

00002848 2011-08-15 08:59:11 Mail alert with command 'mailx -s "Hobbit
[12345] srv1:memswap CRITICAL (RED)" user-1ab6e62f6486@xymon.invalid'


But it I change memswap to 40 60 to trigger an alert, nothing is sent for
either yellow or red.


Thanks in advance!


-Kevin


This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email

-- 

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
list Henrik Størner · Mon, 15 Aug 2011 18:28:28 +0200 ·
On 15-08-2011 17:21, Asif Iqbal wrote:
On Mon, Aug 15, 2011 at 10:50 AM, Kevin Kelly<user-46671a9fcf56@xymon.invalid>  wrote:
HOST=srv1
         MEMSWAP 70 80 GROUP=bkpsupport
quoted from Asif Iqbal

Hobbit-alerts.cfg has the following:

GROUP=bkpsupport
         MAIL user-1ab6e62f6486@xymon.invalid FORMAT=PLAIN
HOST=%(srv1|srv3|srv4|srv5) COLOR=red
         MAIL user-1ab6e62f6486@xymon.invalid FORMAT=PLAIN
SERVICE=cpu,memswap,conn,disk,procs,meta,prtdiag,zfs DURATION>5

you have service column name memswap?
Good catch. I think you're right - it should be "memory" in that SERVICE 
setting, not "memswap".


Regards,
Henrik
list Daniel L Attsi Lozovsky · Mon, 15 Aug 2011 16:31:43 +0000 ·
I am trying to get to the xymon.com site but it is down.  It has some instruction on how to install xymon and migrate BB's stuff to Xymon.  Does anyone have another copy of these instructions?
list Daniel L Attsi Lozovsky · Mon, 15 Aug 2011 17:08:30 +0000 ·
Can I also replicate data from my BB Server to Xymon Server. I wanted to run it in parallel before turning off BB Server completely. 
quoted from Daniel L Attsi Lozovsky

-----Original Message-----
From: LOZOVSKY, DANIEL L (ATTSI) 
Sent: Monday, August 15, 2011 9:32 AM
To: 'Henrik Størner'; xymon at xymon.com
Subject: Installing Xymon and migrating BB to Xymon

I am trying to get to the xymon.com site but it is down.  It has some instruction on how to install xymon and migrate BB's stuff to Xymon.  Does anyone have another copy of these instructions?
list Kevin Kelly · Mon, 15 Aug 2011 12:10:16 -0500 ·
That fixed the second rule when it turns red, but now need to figure out why when it turns yellow the Group doesn't get an email.
quoted from Henrik Størner


-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner
Sent: Monday, August 15, 2011 11:28 AM
To: xymon at xymon.com
Subject: Re: [Xymon] memswap not alerting

On 15-08-2011 17:21, Asif Iqbal wrote:
On Mon, Aug 15, 2011 at 10:50 AM, Kevin Kelly<user-46671a9fcf56@xymon.invalid>  wrote:
HOST=srv1
         MEMSWAP 70 80 GROUP=bkpsupport

Hobbit-alerts.cfg has the following:

GROUP=bkpsupport
         MAIL user-1ab6e62f6486@xymon.invalid FORMAT=PLAIN
HOST=%(srv1|srv3|srv4|srv5) COLOR=red
         MAIL user-1ab6e62f6486@xymon.invalid FORMAT=PLAIN
SERVICE=cpu,memswap,conn,disk,procs,meta,prtdiag,zfs DURATION>5

you have service column name memswap?
Good catch. I think you're right - it should be "memory" in that SERVICE 
setting, not "memswap".


Regards,
Henrik


This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
list Josh Luthman · Mon, 15 Aug 2011 15:10:43 -0400 ·
You can't have Xymon run on 1984 when BB is, but xymon.com is up for me.

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


2011/8/15 LOZOVSKY, DANIEL L (ATTSI) <user-5085da3588ee@xymon.invalid>
quoted from Daniel L Attsi Lozovsky
Can I also replicate data from my BB Server to Xymon Server. I wanted to
run it in parallel before turning off BB Server completely.

-----Original Message-----
From: LOZOVSKY, DANIEL L (ATTSI)
Sent: Monday, August 15, 2011 9:32 AM
To: 'Henrik Størner'; xymon at xymon.com
Subject: Installing Xymon and migrating BB to Xymon

I am trying to get to the xymon.com site but it is down.  It has some
instruction on how to install xymon and migrate BB's stuff to Xymon.  Does
anyone have another copy of these instructions?

list Jerald Sheets · Mon, 15 Aug 2011 15:11:10 -0400 ·
Looks good from here…

Maybe you're having some reachability issues?

--j
quoted from Josh Luthman


On Aug 15, 2011, at 12:31 PM, LOZOVSKY, DANIEL L (ATTSI) wrote:
I am trying to get to the xymon.com site but it is down.  It has some instruction on how to install xymon and migrate BB's stuff to Xymon.  Does anyone have another copy of these instructions?