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
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 (4)
-
jlaidman@rebel-it.com.au
-
pnixon@gmail.com
-
rich.rager@verizonbusiness.com
-
stef.coene@docum.org