Big Brother to Hobbit vmstat, iostat, netstat purple
list James Wade
I've converted over from Big Brother to Hobbit. How do I get rid of my vmstat, iostat, netstat on the columns? I did have larrd running which put the columns on the main page. Thanks.James
list Jason Altrincham Jones
One way is the NOCOLUMNS option (see hobbit man pages for full details) Jason.
▸
From: James Wade [mailto:user-659655b2ea05@xymon.invalid]
Sent: 07 November 2006 16:48
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Big Brother to Hobbit vmstat, iostat, netstat purple
I've converted over from Big Brother to Hobbit.
How do I get rid of my vmstat, iostat, netstat on the columns?
I did have larrd running which put the columns on the main page.
Thanks...James
list Jeffrey Chandler
Taken from a previous post:
How can I remove all my conn tests? I tried this, but it didn't work: bb 127.0.0.1 "drop * testname conn"
From a message sent by Hendrik to the list dated: Tue, 5 Sep 2006 09:26:23 The command bb 127.0.0.1 "hobbitdboard" is your friend, combined with a bit of scripting. E.g:
Is it possible to remove a single test from *all* hosts?
bb 127.0.0.1 "hobbitdboard test=MYTEST fields=hostname" | while read H; do bb 127.0.0.1 "drop $H MYTEST"; done
Or all tests from all hosts?
bb 127.0.0.1 "hobbitdboard test=info fields=hostname" | while read H; do bb 127.0.0.1 "drop $H"; done
Or all tests that are purple?
bb 127.0.0.1 "hobbitdboard color=purple fields=hostname,testname" |
while read L; do
HOST=`echo $L | cut -d'|' -f1`
TEST=`echo $L | cut -d'|' -f2`
bb 127.0.0.1 "drop $HOST $TEST"
done
list Jason Altrincham Jones
Hi all, Has anyone had any luck setting up a graph for a devmon collected status? We are using devmon with a temperature monitor in our comms room but at the moment it show the exact message so: Temperature Probe: Jacarta - interseptor Average temperature: 21.65c Temperature at probe 1: 22.80c Temperature at probe 2: 20.50c (the message made via devmon) gets plotted as: Temperature at probe 1: 22.80c : nan(cur) : nan(max) : nan(min) ..... Temperature at probe 2: 20.50c : nan(cur) : nan(max) : nan(min) ..... And instead of using any of the values simply makes more entries i.e. Temp at probe 1 increases to 22.90 it plots Temperature at probe 1: 22.80c : nan(cur) : nan(max) : nan(min) ..... Temperature at probe 2: 20.50c : nan(cur) : nan(max) : nan(min) ..... Temperature at probe 1: 22.90c : nan(cur) : nan(max) : nan(min) ..... I have read the custom graph stuff from the help menu but that mainly seems aimed at scripts you make yourself and doesn't work when applied to this. Help :-) Thanks, Jason.
list James Wade
Use to you could just remove all the hist and histlogs and the column would go away. What's the way now? Where's it keeping the column info now? I've removed the iostat, netstat, and vmstat hist, histlogs, and rrd files, and it still shows them on the columns (purple). Thanks.James
▸
From: Jones, Jason (Altrincham) [mailto:user-ee957b46acd2@xymon.invalid]
Sent: Tuesday, November 07, 2006 10:50 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Big Brother to Hobbit vmstat, iostat, netstat purple
One way is the NOCOLUMNS option (see hobbit man pages for full details)
Jason.
From: James Wade [mailto:user-659655b2ea05@xymon.invalid]
Sent: 07 November 2006 16:48
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Big Brother to Hobbit vmstat, iostat, netstat purple
I've converted over from Big Brother to Hobbit.
How do I get rid of my vmstat, iostat, netstat on the columns?
I did have larrd running which put the columns on the main page.
Thanks.James
list Greg L Hubbard
This is documented, and someone else posted a better answer. But don't let your BB experience lead you astray -- Henrik "fixed" a lot of things, including the BB dependence on disk files for record keeping. Now you need to explicitly "drop" a column for each host. GLH
▸
From: James Wade [mailto:user-659655b2ea05@xymon.invalid]
Sent: Tuesday, November 07, 2006 11:08 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Big Brother to Hobbit vmstat, iostat,
netstat purple
Use to you could just remove all the hist and histlogs
and the column would go away.
What's the way now? Where's it keeping the column info now?
I've removed the iostat, netstat, and vmstat hist, histlogs, and
rrd
files, and it still shows them on the columns (purple).
Thanks...James
From: Jones, Jason (Altrincham)
[mailto:user-ee957b46acd2@xymon.invalid]
Sent: Tuesday, November 07, 2006 10:50 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Big Brother to Hobbit vmstat, iostat,
netstat purple
One way is the NOCOLUMNS option (see hobbit man pages for full
details)
Jason.
From: James Wade [mailto:user-659655b2ea05@xymon.invalid]
Sent: 07 November 2006 16:48
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Big Brother to Hobbit vmstat, iostat, netstat
purple
I've converted over from Big Brother to Hobbit.
How do I get rid of my vmstat, iostat, netstat on the columns?
I did have larrd running which put the columns on the main page.
Thanks...James
list Gildas le Nadan
"22.80c" is not a number, is it? (just thinking out loudly) Gildas
▸
Jones, Jason (Altrincham) wrote:Hi all, Has anyone had any luck setting up a graph for a devmon collected status? We are using devmon with a temperature monitor in our comms room but at the moment it show the exact message so: Temperature Probe: Jacarta - interseptor Average temperature: 21.65c
green Temperature at probe 1: 22.80c
green Temperature at probe 2: 20.50c
▸
(the message made via devmon) gets plotted as:
Temperature at probe 1: 22.80c : nan(cur) : nan(max) : nan(min) …..
Temperature at probe 2: 20.50c : nan(cur) : nan(max) : nan(min) …..
And instead of using any of the values simply makes more entries i.e. Temp at probe 1 increases to 22.90 it plots
Temperature at probe 1: 22.80c : nan(cur) : nan(max) : nan(min) …..
Temperature at probe 2: 20.50c : nan(cur) : nan(max) : nan(min) …..
Temperature at probe 1: 22.90c : nan(cur) : nan(max) : nan(min) …..
I have read the custom graph stuff from the help menu but that mainly seems aimed at scripts you make yourself and doesn’t work when applied to this. Help J
Thanks,
Jason.list Charles Goyard
The NCV backend should takes care of it : /* If extra data after the value, skip to end of line */ What beats me is that the spaces should have been stripped off : "Temperature at probe 1" should be "Temperatureatprobe1". So I believe the problem is elsewhere. Could you sent your NCV setup to the list ? Jason, beware that DS names (once stripped) are limited to 19 characters, it may bite you in the future if you use such long names. (I'm finishing a patch that breaks this limit).
▸
Gildas Le Nadan wrote :"22.80c" is not a number, is it? (just thinking out loudly) Gildasgreen Temperature at probe 1: 22.80c (the message made via devmon) gets plotted as: Temperature at probe 1: 22.80c : nan(cur) : nan(max) : nan(min) ?..
--
Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31
list Jason Altrincham Jones
Oops ye sorry I put the information in wrong on the graph it shows
"Temperature_at_probe_1:_22.80c" I have since changed the message to:
{statusColour} Probe 1(c):
Temperature: 22.70
{statusColour} Probe 2(c):
Temperature: 20.00
But now it just shows Probe : nan(cur) : nan(max) : nan(min)....
How do I send my NCV setup? The only thing I can think of is from
hobbitserver.cfg:
TEST2RRD="......temperature=ncv"
NCV_temperature="Temperature:GAUGE,Temperature:GAUGE"
Thanks,
Jason.
▸
-----Original Message-----
From: Charles Goyard [mailto:user-98f9625a7a59@xymon.invalid]
Sent: 07 November 2006 17:39
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] rrd graphs for devmon scripts
The NCV backend should takes care of it :
/* If extra data after the value, skip to end of line */
What beats me is that the spaces should have been stripped off :
"Temperature at probe 1" should be "Temperatureatprobe1".
So I believe the problem is elsewhere.
Could you sent your NCV setup to the list ?
Jason, beware that DS names (once stripped) are limited to 19
characters, it may bite you in the future if you use such long names.
(I'm finishing a patch that breaks this limit).
Gildas Le Nadan wrote :"22.80c" is not a number, is it? (just thinking out loudly) Gildasgreen Temperature at probe 1: 22.80c (the message made via devmon) gets plotted as: Temperature at probe 1: 22.80c : nan(cur) : nan(max) : nan(min) ?..
-- Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31
list Charles Goyard
Hi,
▸
Jones, Jason (Altrincham) wrote :Oops ye sorry I put the information in wrong on the graph it shows
"Temperature_at_probe_1:_22.80c" I have since changed the message to:
{statusColour} Probe 1(c):
Temperature: 22.70
{statusColour} Probe 2(c):
Temperature: 20.00
But now it just shows Probe : nan(cur) : nan(max) : nan(min)....
How do I send my NCV setup? The only thing I can think of is from
hobbitserver.cfg:
TEST2RRD="......temperature=ncv"
NCV_temperature="Temperature:GAUGE,Temperature:GAUGE"Try this : the message could be formatted as : temp probe 1: 22.7 temp probe 2: 20.00 your setup as : NCV_temperature="tempprobe1:GAUGE,tempprobe2:GAUGE,*:NONE" (add the *:NONE if you have nothing else to track) It should give you a rrd with two DS. Have you applied the following patch ? "The NCV custom graphs module would mistakenly include text from lines with no data into the name of the next dataset. Apply this patch. Note that any existing RRD files affected by this bug must be deleted, since this changes the names of the datasets inside the RRD files." If not, you can get it at http://hswn.dk/hobbitsw/patches/ncv-ignoretext.patch or via the all-in-one patch (http://hswn.dk/hobbitsw/patches/allinone.patch). See also http://hswn.dk/hobbitsw/patches/ for an howto apply a patch. -- Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31