How to get vmstat5 to show on Trends page
Hey all, I'm trying to figure out how to get the vmstat5 graph to show up on the trends page for a 4.3.3 installation. I've tried adding vmstat5 to the GRAPHS statement in xymonserver.cfg, as well as vmstat::1, vmstat::5, etc with no success.
Suggestions?
Thanks! --Patrick
Hi,
Anyone using double combo messages? I was following the man pages, which state they are possible, but my tests calculate "-1" and the color comes out $unknown.
Thu Jun 30 18:43:24 2011
(iam.db&&gam.db) = (-1&&-1) = 1 &unknown iam.db &unknown gam.db
Sample config from combo.cfg. I have changed hostnames to protect the innocent...combos based on the values returned by dbcheck.pl...our DB's are served on 4 node Oracle Grid clusters, which is why we have alias' for the DB, such as servername_dbname.
Hostnames are defined in hosts.d as "0.0.0.0 gam # noconn nonongreen noproppurple:*" gam/iam/impact all defined the same in hosts.
iam.db = (servername\_iam.audit && servername\_iam.conn && servername\_iam.extent && servername\_iam.info && servername\_iam.invobj && servername\_iam.locks && servername\_iam.rollback && servername\_iam.session && servername\_iam.tblspace && servername\_iam.trends && servername\_iam.uptime)
gam.db = (servername\_gam.audit && servername\_gam.conn && servername\_gam.extent && servername\_gam.info && servername\_gam.invobj && servername\_gam.locks && servername\_gam.rollback && servername\_gam.session && servername\_gam.tblspace && servername\_gam.trends && servername\_gam.uptime)
These two above work fine. They are single layer combo tests...All my single layer combo tests work.
The double combo is this:
impact.db = (iam.db && gam.db) - same with our without parenthesys...if I use single ampersand, color propogates up, but staus still shows &unknown.
We have tried multiple combinations taking the combo down to barest form, and still get the errors (&unknown).
Log doesn't really help...
combostatus.log.1:21316 2011-06-30 03:58:03 Symbolic 'event.db&&gam.db&&iam.db&&jbpm.db' converted to '-1&&-1&&-1&&-1'
I put the --debug on the cmd in tasks, and not logging much else helpful.
Appreciate some thoughs or suggestions.
Rich Rager VZB
Does anyone out there using double leveled combos, combos of combos that work? If so perhaps you could share an example from your config that works? Thanks in advance,
Here is the example from the man pages:
WebCluster.http = (Web1.http || Web2.http) AppSrvCluster.procs = (AppSrv1.conn && AppSrv1.procs) || (AppSrv2.conn && AppSrv2.procs) Customer.cluster = WebCluster.http && AppSrvCluster.procs
The first line defines a new test, with hostname "WebCluster" and the columnname "http". It will be green if the http test on either the "Web1" or the "Web2" server is green.
The second line defines a "procs" test for the "AppSrvCluster" host. Each of the AppSrv1 and AppSrv2 hosts is checked for "conn" (ping) and their "procs" test. On each host, both of these must be green, but the combined test is green if that condition is fulfilled on just one of the hosts.
The third line uses the two first tests to build a "double combined" test, defining a test that shows the overall health of the system.
So in theory it should work? For reference we are using Xymon 4.3.3 on RedHat Linux Enterprise 5.7.
~David
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Rager, Richard R (Rich) Sent: Thursday, June 30, 2011 19:02 To: xymon at xymon.com Subject: [Xymon] Double combo's - returning -1 - xymon 4.3.3
Hi, Anyone using double combo messages? I was following the man pages, which state they are possible, but my tests calculate "-1" and the color comes out $unknown. Thu Jun 30 18:43:24 2011 (iam.db&&gam.db) = (-1&&-1) = 1 &unknown iam.db &unknown gam.db Sample config from combo.cfg. I have changed hostnames to protect the innocent...combos based on the values returned by dbcheck.pl...our DB's are served on 4 node Oracle Grid clusters, which is why we have alias' for the DB, such as servername_dbname. Hostnames are defined in hosts.d as "0.0.0.0 gam # noconn nonongreen noproppurple:*" gam/iam/impact all defined the same in hosts. iam.db = (servername\_iam.audit && servername\_iam.conn && servername\_iam.extent && servername\_iam.info && servername\_iam.invobj && servername\_iam.locks && servername\_iam.rollback && servername\_iam.session && servername\_iam.tblspace && servername\_iam.trends && servername\_iam.uptime) gam.db = (servername\_gam.audit && servername\_gam.conn && servername\_gam.extent && servername\_gam.info && servername\_gam.invobj && servername\_gam.locks && servername\_gam.rollback && servername\_gam.session && servername\_gam.tblspace && servername\_gam.trends && servername\_gam.uptime) These two above work fine. They are single layer combo tests...All my single layer combo tests work. The double combo is this: impact.db = (iam.db && gam.db) - same with our without parenthesys...if I use single ampersand, color propogates up, but staus still shows &unknown. We have tried multiple combinations taking the combo down to barest form, and still get the errors (&unknown). Log doesn't really help... combostatus.log.1:21316 2011-06-30 03:58:03 Symbolic 'event.db&&gam.db&&iam.db&&jbpm.db' converted to '-1&&-1&&-1&&-1' I put the --debug on the cmd in tasks, and not logging much else helpful. Appreciate some thoughs or suggestions. Rich Rager VZB
This message was created by the sender using your @mci.com address. If you wish to continue to receive messages from this sender, please respond informing them to use your @verizonbusiness.com email address.
The mci.com email domain will be decommissioned October 31, 2010. Please inform sender to use your @verizonbusiness.com address, if you desire to continue to receive messages from them.
Thank You
Verizon Business Messaging
Henrik,
In regards to double combobs, since no one is replying I suppose either no one is using this feature or it is broken?
As a side note:
xymoncmd xymond_alert --test host service --duration=29 --color=red
00002332 2011-08-07 12:57:58 *** Match with 'EXHOST=$HOSTS_EXCLUDED HOST=* SERVICE=service COLOR=red' *** 00002332 2011-08-07 12:57:58 Matching host:service:page 'host:service:Site/Platform,Place' against rule line 432 00002332 2011-08-07 12:57:58 Failed 'SCRIPT=$SENDPAGE $PAGE_NMS DURATION>30m REPEAT=365d' (min. duration 1740<1800)
The duration above is in minutes when clearly the documentation specifies seconds?
--test HOST SERVICE [options]
Shows which alert rules matches the given HOST/SERVICE combination. Useful to debug configu-
ration problems, and see what rules are used for an alert.
The possible options are:
--color=COLORNAME The COLORNAME parameter is the color of the alert: red, yellow or purple.
--duration=SECONDS The SECONDS parameter is the duration of the alert in seconds.
--group=GROUPNAME The GROUPNAME paramater is a groupid string from the analysis.cfg file.
~David
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of David W Gore Sent: Friday, July 29, 2011 19:17 To: xymon at xymon.com Subject: Re: [Xymon] Double combo's - returning -1 - xymon 4.3.3
Does anyone out there using double leveled combos, combos of combos that work? If so perhaps you could share an example from your config that works? Thanks in advance,
Here is the example from the man pages:
WebCluster.http = (Web1.http || Web2.http) AppSrvCluster.procs = (AppSrv1.conn && AppSrv1.procs) || (AppSrv2.conn && AppSrv2.procs) Customer.cluster = WebCluster.http && AppSrvCluster.procs
The first line defines a new test, with hostname "WebCluster" and the columnname "http". It will be green if the http test on either the "Web1" or the "Web2" server is green.
The second line defines a "procs" test for the "AppSrvCluster" host. Each of the AppSrv1 and AppSrv2 hosts is checked for "conn" (ping) and their "procs" test. On each host, both of these must be green, but the combined test is green if that condition is fulfilled on just one of the hosts.
The third line uses the two first tests to build a "double combined" test, defining a test that shows the overall health of the system.
So in theory it should work? For reference we are using Xymon 4.3.3 on RedHat Linux Enterprise 5.7.
~David
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Rager, Richard R (Rich) Sent: Thursday, June 30, 2011 19:02 To: xymon at xymon.com Subject: [Xymon] Double combo's - returning -1 - xymon 4.3.3
Hi, Anyone using double combo messages? I was following the man pages, which state they are possible, but my tests calculate "-1" and the color comes out $unknown. Thu Jun 30 18:43:24 2011 (iam.db&&gam.db) = (-1&&-1) = 1 &unknown iam.db &unknown gam.db Sample config from combo.cfg. I have changed hostnames to protect the innocent...combos based on the values returned by dbcheck.pl...our DB's are served on 4 node Oracle Grid clusters, which is why we have alias' for the DB, such as servername_dbname. Hostnames are defined in hosts.d as "0.0.0.0 gam # noconn nonongreen noproppurple:*" gam/iam/impact all defined the same in hosts. iam.db = (servername\_iam.audit && servername\_iam.conn && servername\_iam.extent && servername\_iam.info && servername\_iam.invobj && servername\_iam.locks && servername\_iam.rollback && servername\_iam.session && servername\_iam.tblspace && servername\_iam.trends && servername\_iam.uptime) gam.db = (servername\_gam.audit && servername\_gam.conn && servername\_gam.extent && servername\_gam.info && servername\_gam.invobj && servername\_gam.locks && servername\_gam.rollback && servername\_gam.session && servername\_gam.tblspace && servername\_gam.trends && servername\_gam.uptime) These two above work fine. They are single layer combo tests...All my single layer combo tests work. The double combo is this: impact.db = (iam.db && gam.db) - same with our without parenthesys...if I use single ampersand, color propogates up, but staus still shows &unknown. We have tried multiple combinations taking the combo down to barest form, and still get the errors (&unknown). Log doesn't really help... combostatus.log.1:21316 2011-06-30 03:58:03 Symbolic 'event.db&&gam.db&&iam.db&&jbpm.db' converted to '-1&&-1&&-1&&-1' I put the --debug on the cmd in tasks, and not logging much else helpful. Appreciate some thoughs or suggestions. Rich Rager VZB
This message was created by the sender using your @mci.com address. If you wish to continue to receive messages from this sender, please respond informing them to use your @verizonbusiness.com email address.
The mci.com email domain will be decommissioned October 31, 2010. Please inform sender to use your @verizonbusiness.com address, if you desire to continue to receive messages from them.
Thank You
Verizon Business Messaging
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
I was doing some testing of this feature today and notice the same problem. I am testing with 4.3.3. Will be upgrading to 4.3.5 this week and will let you know what I find. If that doesn't work I have an older 4.3.0 that I can test on just to see if maybe something got broken along the way... This is the first time I have ever tested double level combos.
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of David W Gore Sent: Friday, July 29, 2011 3:17 PM To: xymon at xymon.com Subject: Re: [Xymon] Double combo's - returning -1 - xymon 4.3.3
Does anyone out there using double leveled combos, combos of combos that work? If so perhaps you could share an example from your config that works? Thanks in advance,
Here is the example from the man pages:
WebCluster.http = (Web1.http || Web2.http) AppSrvCluster.procs = (AppSrv1.conn && AppSrv1.procs) || (AppSrv2.conn && AppSrv2.procs) Customer.cluster = WebCluster.http && AppSrvCluster.procs
The first line defines a new test, with hostname "WebCluster" and the columnname "http". It will be green if the http test on either the "Web1" or the "Web2" server is green.
The second line defines a "procs" test for the "AppSrvCluster" host. Each of the AppSrv1 and AppSrv2 hosts is checked for "conn" (ping) and their "procs" test. On each host, both of these must be green, but the combined test is green if that condition is fulfilled on just one of the hosts.
The third line uses the two first tests to build a "double combined" test, defining a test that shows the overall health of the system.
So in theory it should work? For reference we are using Xymon 4.3.3 on RedHat Linux Enterprise 5.7.
~David
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Rager, Richard R (Rich) Sent: Thursday, June 30, 2011 19:02 To: xymon at xymon.com Subject: [Xymon] Double combo's - returning -1 - xymon 4.3.3
Hi, Anyone using double combo messages? I was following the man pages, which state they are possible, but my tests calculate "-1" and the color comes out $unknown. Thu Jun 30 18:43:24 2011 (iam.db&&gam.db) = (-1&&-1) = 1 &unknown iam.db &unknown gam.db Sample config from combo.cfg. I have changed hostnames to protect the innocent...combos based on the values returned by dbcheck.pl...our DB's are served on 4 node Oracle Grid clusters, which is why we have alias' for the DB, such as servername_dbname. Hostnames are defined in hosts.d as "0.0.0.0 gam # noconn nonongreen noproppurple:*" gam/iam/impact all defined the same in hosts. iam.db = (servername\_iam.audit && servername\_iam.conn && servername\_iam.extent && servername\_iam.info && servername\_iam.invobj && servername\_iam.locks && servername\_iam.rollback && servername\_iam.session && servername\_iam.tblspace && servername\_iam.trends && servername\_iam.uptime) gam.db = (servername\_gam.audit && servername\_gam.conn && servername\_gam.extent && servername\_gam.info && servername\_gam.invobj && servername\_gam.locks && servername\_gam.rollback && servername\_gam.session && servername\_gam.tblspace && servername\_gam.trends && servername\_gam.uptime) These two above work fine. They are single layer combo tests...All my single layer combo tests work. The double combo is this: impact.db = (iam.db && gam.db) - same with our without parenthesys...if I use single ampersand, color propogates up, but staus still shows &unknown. We have tried multiple combinations taking the combo down to barest form, and still get the errors (&unknown). Log doesn't really help... combostatus.log.1:21316 2011-06-30 03:58:03 Symbolic 'event.db&&gam.db&&iam.db&&jbpm.db' converted to '-1&&-1&&-1&&-1' I put the --debug on the cmd in tasks, and not logging much else helpful. Appreciate some thoughs or suggestions. Rich Rager VZB
This message was created by the sender using your @mci.com address. If you wish to continue to receive messages from this sender, please respond informing them to use your @verizonbusiness.com email address.
The mci.com email domain will be decommissioned October 31, 2010. Please inform sender to use your @verizonbusiness.com address, if you desire to continue to receive messages from them.
Thank You
Verizon Business Messaging
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
I've done a bit of testing with this, and for me, if the double-combo test is BEFORE the combo tests it uses, then I get "1" instead of "-1". So try putting your "impact.db" definition first.
J
This patch works for me: --- combostatus.c.orig 2011-08-01 07:01:52.000000000 +1000 +++ combostatus.c 2011-09-15 14:57:00.000000000 +1000 @@ -309,6 +309,10 @@ tname = gettname(symbol); if (hname && tname) { oneval = getvalue(gethname(symbol), gettname(symbol), &onecolor, errbuf); + if (oneval == -1) { + dbgprintf("Forward lookup of '%s.%s' pending for '%s'\n", hname, tname, symbolicexpr); + return -1; + } } else { errprintf("Invalid data for symbol calculation - missing host/testname: %s\n",
On Thursday 30 June 2011, Patrick Nixon wrote:
Hey all, I'm trying to figure out how to get the vmstat5 graph to show up on the trends page for a 4.3.3 installation. I've tried adding vmstat5 to the GRAPHS statement in xymonserver.cfg, as well as vmstat::1, vmstat::5, etc with no success. You can add this in the bb-hosts file per server: TRENDS:*vmstat:vmstat|vmstat5
Stef
participants (7)
-
david.gore@one.verizon.com
-
david.gore@verizon.com
-
jlaidman@rebel-it.com.au
-
pnixon@gmail.com
-
rich.rager@verizonbusiness.com
-
stef.coene@docum.org
-
wrichardson@llbean.com