"ports" RRD graph not showing up
list Gary B.
I'm running Hobbit 4.2.0 and just added a PORTS section for one of my hosts.
It looks like the server is checking the ports correctly, but the RRD
graph isn't showing
up, even with the TRACK statement.
PORT LOCAL=%[.:]4001$ STATE=LISTEN HOST=<hostname>
PORT LOCAL=%[.:]5001$ STATE=LISTEN HOST=<hostname>
PORT LOCAL=%[.:]5002$ STATE=LISTEN HOST=<hostname>
PORT LOCAL=%[.:]4001$ STATE=ESTABLISHED TRACK=4001 HOST=<hostname>
PORT LOCAL=%[.:]5001$ STATE=ESTABLISHED TRACK=5001 HOST=<hostname>
PORT LOCAL=%[.:]5002$ STATE=ESTABLISHED TRACK=5002 HOST=<hostname>
I don't see anything of interest in the client or server logs. Any ideas?
list Greg L Hubbard
I don't think there is a "HOST=" tag for the PORT command. Maybe you meant "TEXT="? If you are trying to restrict the count to certain hosts, then you have to add their IP to the LOCAL=<regex> (or REMOTE=<regex> portion of the PORT command. GLH
▸
-----Original Message-----
From: Gary B. [mailto:user-33b796116d5f@xymon.invalid]
Sent: Thursday, August 31, 2006 9:44 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] "ports" RRD graph not showing up
I'm running Hobbit 4.2.0 and just added a PORTS section for one of my
hosts.
It looks like the server is checking the ports correctly, but the RRD
graph isn't showing up, even with the TRACK statement.
PORT LOCAL=%[.:]4001$ STATE=LISTEN HOST=<hostname>
PORT LOCAL=%[.:]5001$ STATE=LISTEN HOST=<hostname>
PORT LOCAL=%[.:]5002$ STATE=LISTEN HOST=<hostname>
PORT LOCAL=%[.:]4001$ STATE=ESTABLISHED TRACK=4001
HOST=<hostname>
PORT LOCAL=%[.:]5001$ STATE=ESTABLISHED TRACK=5001
HOST=<hostname>
PORT LOCAL=%[.:]5002$ STATE=ESTABLISHED TRACK=5002
HOST=<hostname>
I don't see anything of interest in the client or server logs. Any
ideas?
list Gary B.
▸
I don't think there is a "HOST=" tag for the PORT command. Maybe you meant "TEXT="? If you are trying to restrict the count to certain hosts, then you have to add their IP to the LOCAL=<regex> (or REMOTE=<regex> portion of the PORT command. GLH
The section those tests are under is for a regex of multiple hosts. The "HOST=" tag in the copy/paste I provided is to test for those ports on only one host.
▸
-----Original Message-----
From: Gary B. [mailto:user-33b796116d5f@xymon.invalid]
Sent: Thursday, August 31, 2006 9:44 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] "ports" RRD graph not showing up
I'm running Hobbit 4.2.0 and just added a PORTS section for one of my
hosts.
It looks like the server is checking the ports correctly, but the RRD
graph isn't showing up, even with the TRACK statement.
PORT LOCAL=%[.:]4001$ STATE=LISTEN HOST=<hostname>
PORT LOCAL=%[.:]5001$ STATE=LISTEN HOST=<hostname>
PORT LOCAL=%[.:]5002$ STATE=LISTEN HOST=<hostname>
PORT LOCAL=%[.:]4001$ STATE=ESTABLISHED TRACK=4001
HOST=<hostname>
PORT LOCAL=%[.:]5001$ STATE=ESTABLISHED TRACK=5001
HOST=<hostname>
PORT LOCAL=%[.:]5002$ STATE=ESTABLISHED TRACK=5002
HOST=<hostname>
I don't see anything of interest in the client or server logs. Any
ideas?
list Greg L Hubbard
We will have to see what Henrik says -- you may be a little more efficient than the syntax permits.
▸
-----Original Message-----
From: Gary B. [mailto:user-33b796116d5f@xymon.invalid] Sent: Thursday, August 31, 2006 10:07 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] "ports" RRD graph not showing up
I don't think there is a "HOST=" tag for the PORT command. Maybe you meant "TEXT="? If you are trying to restrict the count to certain hosts, then you have to add their IP to the LOCAL=<regex> (or REMOTE=<regex> portion of the PORT command. GLH
The section those tests are under is for a regex of multiple hosts. The "HOST=" tag in the copy/paste I provided is to test for those ports on only one host.
-----Original Message-----
From: Gary B. [mailto:user-33b796116d5f@xymon.invalid]
Sent: Thursday, August 31, 2006 9:44 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] "ports" RRD graph not showing up
I'm running Hobbit 4.2.0 and just added a PORTS section for one of my hosts.
It looks like the server is checking the ports correctly, but the RRD graph isn't showing up, even with the TRACK statement.
PORT LOCAL=%[.:]4001$ STATE=LISTEN HOST=<hostname>
PORT LOCAL=%[.:]5001$ STATE=LISTEN HOST=<hostname>
PORT LOCAL=%[.:]5002$ STATE=LISTEN HOST=<hostname>
PORT LOCAL=%[.:]4001$ STATE=ESTABLISHED TRACK=4001
HOST=<hostname>
PORT LOCAL=%[.:]5001$ STATE=ESTABLISHED TRACK=5001
HOST=<hostname>
PORT LOCAL=%[.:]5002$ STATE=ESTABLISHED TRACK=5002
HOST=<hostname>
I don't see anything of interest in the client or server logs. Any ideas?
list Jerry Yu
- I don't use HOST= in my working PORT tracking. I agree with Greg on doing it via the RegExp itself. - minor thing: not so sure TRACK= can take all numeric or not. - I believe your RegExp needs (). Mine goes like below. I have PORT column show and alerts generated, plus RRD graph for counting of TIME_WAIT connections to PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000 COL=yellow TRACK=db_TimeWait TEXT=db_TimeWait
▸
On 8/31/06, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:We will have to see what Henrik says -- you may be a little more efficient than the syntax permits. -----Original Message----- From: Gary B. [mailto:user-33b796116d5f@xymon.invalid] Sent: Thursday, August 31, 2006 10:07 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] "ports" RRD graph not showing upI don't think there is a "HOST=" tag for the PORT command. Maybe you meant "TEXT="? If you are trying to restrict the count to certain hosts, then you have to add their IP to the LOCAL=<regex> (or REMOTE=<regex> portion of the PORT command. GLHThe section those tests are under is for a regex of multiple hosts. The "HOST=" tag in the copy/paste I provided is to test for those ports on only one host.-----Original Message----- From: Gary B. [mailto:user-33b796116d5f@xymon.invalid] Sent: Thursday, August 31, 2006 9:44 AM To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] "ports" RRD graph not showing up I'm running Hobbit 4.2.0 and just added a PORTS section for one of my hosts. It looks like the server is checking the ports correctly, but the RRD graph isn't showing up, even with the TRACK statement. PORT LOCAL=%[.:]4001$ STATE=LISTEN HOST=<hostname> PORT LOCAL=%[.:]5001$ STATE=LISTEN HOST=<hostname> PORT LOCAL=%[.:]5002$ STATE=LISTEN HOST=<hostname> PORT LOCAL=%[.:]4001$ STATE=ESTABLISHED TRACK=4001 HOST=<hostname> PORT LOCAL=%[.:]5001$ STATE=ESTABLISHED TRACK=5001 HOST=<hostname> PORT LOCAL=%[.:]5002$ STATE=ESTABLISHED TRACK=5002 HOST=<hostname> I don't see anything of interest in the client or server logs. Any ideas?
list Gary B.
▸
I don't use HOST= in my working PORT tracking. I agree with Greg on doing it via the RegExp itself.
The problem with that is, it will perform the PORT test on all of the machines under the HOST= section the test is under. I don't want this, as only one of the machines actually has the ports running. I haven't had a problem using HOST= in this manner before, and it's described in the "rules to select hosts" section in the manpage for hobbit-clients.cfg
▸
minor thing: not so sure TRACK= can take all numeric or not. I believe your RegExp needs (). Mine goes like below. I have PORT column show and alerts generated, plus RRD graph for counting of TIME_WAIT connections to PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000 COL=yellow TRACK=db_TimeWait TEXT=db_TimeWait
I was wondering that myself. I'll try changing to TRACK= to be character-based and see if that helps.
list Jerry Yu
oh, you are using it under a wild-card (or multi-host) HOST= section thus you want to limit the test to apply to that HOST alone. makes sense then. I think the missing () is somewhat important too. If I recall correctly, I didn't have much sucess until I inserted () myself.
▸
On 8/31/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:I don't use HOST= in my working PORT tracking. I agree with Greg on doing it via the RegExp itself.The problem with that is, it will perform the PORT test on all of the machines under the HOST= section the test is under. I don't want this, as only one of the machines actually has the ports running. I haven't had a problem using HOST= in this manner before, and it's described in the "rules to select hosts" section in the manpage for hobbit-clients.cfgminor thing: not so sure TRACK= can take all numeric or not. I believe your RegExp needs (). Mine goes like below. I have PORT column show and alerts generated, plus RRD graph for counting of TIME_WAIT connections to PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000 COL=yellow TRACK=db_TimeWait TEXT=db_TimeWaitI was wondering that myself. I'll try changing to TRACK= to be character-based and see if that helps.
list Gary B.
▸
oh, you are using it under a wild-card (or multi-host) HOST= section thus you want to limit the test to apply to that HOST alone. makes sense then. I think the missing () is somewhat important too. If I recall correctly, I didn't have much sucess until I inserted () myself.
Hmm. The actual tests seem to be working correctly, but the RRD graph just isn't showing up...
▸
On 8/31/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:I don't use HOST= in my working PORT tracking. I agree with Greg on doing it via the RegExp itself.The problem with that is, it will perform the PORT test on all of the machines under the HOST= section the test is under. I don't want this, as only one of the machines actually has the ports running. I haven't had a problem using HOST= in this manner before, and it's described in the "rules to select hosts" section in the manpage for hobbit-clients.cfgminor thing: not so sure TRACK= can take all numeric or not. I believe your RegExp needs (). Mine goes like below. I have PORT column show and alerts generated, plus RRD graph for counting of TIME_WAIT connections to PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000 COL=yellow TRACK=db_TimeWait TEXT=db_TimeWaitI was wondering that myself. I'll try changing to TRACK= to be character-based and see if that helps.
list Greg L Hubbard
If you are trying to restrict the test to a specific host, why don't you put the PROC command under its own HOST=whatever section?
▸
-----Original Message-----
From: Gary B. [mailto:user-33b796116d5f@xymon.invalid] Sent: Thursday, August 31, 2006 11:16 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] "ports" RRD graph not showing up
I don't use HOST= in my working PORT tracking. I agree with Greg on doing it via the RegExp itself.
The problem with that is, it will perform the PORT test on all of the machines under the HOST= section the test is under. I don't want this, as only one of the machines actually has the ports running. I haven't had a problem using HOST= in this manner before, and it's described in the "rules to select hosts" section in the manpage for hobbit-clients.cfg
minor thing: not so sure TRACK= can take all numeric or not. I believe your RegExp needs (). Mine goes like below. I have PORT column show and alerts generated, plus RRD graph for counting of TIME_WAIT connections to PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000 COL=yellow TRACK=db_TimeWait TEXT=db_TimeWait
I was wondering that myself. I'll try changing to TRACK= to be character-based and see if that helps.
list Gary B.
▸
If you are trying to restrict the test to a specific host, why don't you put the PROC command under its own HOST=whatever section?
It takes up one less line in the config file ;-) The main reason is, all the other HOST= tags I've used worked fine, so I don't have to create a separate HOST= section for only one or two tests that are specific to that one host, and I can use the regex HOST= section for all of the machines at once. I don't think the inclusion of the HOST= tag is the problem anyway. But, if all else fails, I'll try it on its own, just for grins.
▸
-----Original Message----- From: Gary B. [mailto:user-33b796116d5f@xymon.invalid] Sent: Thursday, August 31, 2006 11:16 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] "ports" RRD graph not showing upI don't use HOST= in my working PORT tracking. I agree with Greg on doing it via the RegExp itself.The problem with that is, it will perform the PORT test on all of the machines under the HOST= section the test is under. I don't want this, as only one of the machines actually has the ports running. I haven't had a problem using HOST= in this manner before, and it's described in the "rules to select hosts" section in the manpage for hobbit-clients.cfgminor thing: not so sure TRACK= can take all numeric or not. I believe your RegExp needs (). Mine goes like below. I have PORT column show and alerts generated, plus RRD graph for counting of TIME_WAIT connections to PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000 COL=yellow TRACK=db_TimeWait TEXT=db_TimeWaitI was wondering that myself. I'll try changing to TRACK= to be character-based and see if that helps.
list Jerry Yu
did you wait enough cycles? could you check if there's RRD actually generated for the host under /var/lib/hobbit/rrd/ ?
▸
On 8/31/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:oh, you are using it under a wild-card (or multi-host) HOST= section thus you want to limit the test to apply to that HOST alone. makes sense then. I think the missing () is somewhat important too. If I recall correctly,Ididn't have much sucess until I inserted () myself.Hmm. The actual tests seem to be working correctly, but the RRD graph just isn't showing up...On 8/31/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:I don't use HOST= in my working PORT tracking. I agree with Greg on doing it via the RegExp itself.The problem with that is, it will perform the PORT test on all of the machines under the HOST= section the test is under. I don't want this, as only one of the machines actually has the ports running. I haven't had a problem using HOST= in this manner before, and it's described in the "rules to select hosts" section in the manpage for hobbit-clients.cfgminor thing: not so sure TRACK= can take all numeric or not. I believe your RegExp needs (). Mine goes like below. I have PORT column show and alerts generated, plus RRD graph for counting of TIME_WAIT connections to PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000 COL=yellow TRACK=db_TimeWait TEXT=db_TimeWaitI was wondering that myself. I'll try changing to TRACK= to be character-based and see if that helps.
list Gary B.
▸
did you wait enough cycles? could you check if there's RRD actually generated for the host under /var/lib/hobbit/rrd/ ?
Yes, I've waited enough cycles, but the graph still isn't showing up. Meanwhile, several other changes I've made have shown up. Yes, the RRD files have actually been generated. They just don't want to show up on the "ports" page for this host... It's time for lunch, so I'll check when I get back - maybe it'll work if I don't stare at it, like that pot of boiling water ;-)
▸
On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:oh, you are using it under a wild-card (or multi-host) HOST= section thus you want to limit the test to apply to that HOST alone. makes sense then. I think the missing () is somewhat important too. If I recall correctly,Ididn't have much sucess until I inserted () myself.Hmm. The actual tests seem to be working correctly, but the RRD graph just isn't showing up...On 8/31/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:I don't use HOST= in my working PORT tracking. I agree with Greg on doing it via the RegExp itself.The problem with that is, it will perform the PORT test on all of the machines under the HOST= section the test is under. I don't want this, as only one of the machines actually has the ports running. I haven't had a problem using HOST= in this manner before, and it's described in the "rules to select hosts" section in the manpage for hobbit-clients.cfgminor thing: not so sure TRACK= can take all numeric or not. I believe your RegExp needs (). Mine goes like below. I have PORT column show and alerts generated, plus RRD graph for counting of TIME_WAIT connections to PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000 COL=yellow TRACK=db_TimeWait TEXT=db_TimeWaitI was wondering that myself. I'll try changing to TRACK= to be character-based and see if that helps.
list Jerry Yu
what about the 'trends' column?
▸
On 8/31/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:did you wait enough cycles? could you check if there's RRD actually generated for the host under /var/lib/hobbit/rrd/ ?Yes, I've waited enough cycles, but the graph still isn't showing up. Meanwhile, several other changes I've made have shown up. Yes, the RRD files have actually been generated. They just don't want to show up on the "ports" page for this host... It's time for lunch, so I'll check when I get back - maybe it'll work if I don't stare at it, like that pot of boiling water ;-)On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:oh, you are using it under a wild-card (or multi-host) HOST= section thus you want to limit the test to apply to that HOST alone. makes sense then. I think the missing () is somewhat important too. If I recall correctly,Ididn't have much sucess until I inserted () myself.Hmm. The actual tests seem to be working correctly, but the RRD graph just isn't showing up...On 8/31/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:I don't use HOST= in my working PORT tracking. I agree with Greg on doing it via the RegExp itself.The problem with that is, it will perform the PORT test on all of the machines under the HOST= section the test is under. I don't want this, as only one of the machines actually has the ports running. I haven't had a problem using HOST= in this manner before, and it's described in the "rules to select hosts" section in the manpage for hobbit-clients.cfgminor thing: not so sure TRACK= can take all numeric or not. I believe your RegExp needs (). Mine goes like below. I have PORT column show and alerts generated, plus RRD graph for counting ofTIME_WAITconnections to PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000COL=yellowTRACK=db_TimeWait TEXT=db_TimeWaitI was wondering that myself. I'll try changing to TRACK= to be character-based and see if that helps.
list T.J. Yang
From network speed point of view, what kind of ping response time is not suitable for hobbit client/server deployment ? I have one overea site that answer ping test steady at 300ms. Does anyone have experience on deploying hobbit across WANs over country ? I know using proxy is an alerternative but what about direct report over a pipe with 300ms ping time ? T.J. Yang
list Greg L Hubbard
Should work. Check the ping timeout and retry value.
▸
-----Original Message-----
From: T.J. Yang [mailto:user-8e841282cda5@xymon.invalid]
Sent: Thursday, August 31, 2006 2:31 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Advice needed on using hobbit across WAN
From network speed point of view, what kind of ping response time is not
suitable for hobbit client/server deployment ?
I have one overea site that answer ping test steady at 300ms.
Does anyone have experience on deploying hobbit across WANs over country
?
I know using proxy is an alerternative but what about direct report over
a pipe with 300ms ping time ?
T.J. Yang
list T.J. Yang
Following is an example borrow from ebay. I can navigate different categories easily under powersports by clicking "PowerSports" Listed in category: eBay Motors > Powersports > Scooters & Mopeds > Honda Is it possible that bbgen can generate URLs at top menu like above "PowerSports" line ? so page,subpage,subagent tags in bb-hosts file can form a direct link from any pages on hobbit server. tj Reference: http://cgi.ebay.com/ebaymotors/ws/eBayISAPI.dll?ViewItem&rd=1,1&item=300017045343&ih=020&sspagename=STRK%3AMEWA%3AIT
list T.J. Yang
Currently most of hosts are ping test only. I can put more hosts on this hobbit server. 822 hosts is taking 42 seconds. Answer I don't know is how many more hosts it can handle ? How can I find what hosts are causing DNS lookup failures ? Thanks for your time tj Output of bbest. bbtest-net version 4.2.0 SSL library : OpenSSL 0.9.7b 10 Apr 2003 LDAP library: Sun Microsystems Inc. 500 Statistics: Hosts total : 822 Hosts with no tests : 0 Total test count : 841 Status messages : 840 Alert status msgs : 0 Transmissions : 12 DNS statistics: # hostnames resolved : 822 # succesful : 317 # failed : 505 # calls to dnsresolve : 841 TCP test statistics: # TCP tests total : 15 # HTTP tests : 4 # Simple TCP tests : 11 # Connection attempts : 15 # bytes written : 666 # bytes read : 11278 TIME SPENT Event Starttime Duration bbtest-net startup 1157055015.522208 - Service definitions loaded 1157055015.529746 0.007538 Tests loaded 1157055025.655732 10.125986 DNS lookups completed 1157055030.723962 5.068230 Test engine setup completed 1157055030.733952 0.009990 TCP tests completed 1157055030.995307 0.261355 PING test completed (822 hosts) 1157055073.088812 42.093505 PING test results sent 1157055073.104640 0.015828 Test result collection completed 1157055073.105058 0.000418 LDAP test engine setup completed 1157055073.105060 0.000002 LDAP tests executed 1157055073.105062 0.000002 LDAP tests result collection completed 1157055073.105063 0.000001 NTP tests executed 1157055073.363425 0.258362 RPC tests executed 1157055073.411516 0.048091 Test results transmitted 1157055073.484927 0.073411 bbtest-net completed 1157055073.492452 0.007525 TIME TOTAL 57.970244
list Rich Smrcina
Some simple math shows that you could probably go to about 4000 hosts comfortably (with a 5 minutes test cycle time). Of course, there may be other factors to consider when you go that high, so YMMV. I would also consider the fact that as hobbitping improves those ping times will come down.
▸
T.J. Yang wrote:Currently most of hosts are ping test only. I can put more hosts on this hobbit server. 822 hosts is taking 42 seconds. Answer I don't know is how many more hosts it can handle ? How can I find what hosts are causing DNS lookup failures ? Thanks for your time tj Output of bbest. bbtest-net version 4.2.0 SSL library : OpenSSL 0.9.7b 10 Apr 2003 LDAP library: Sun Microsystems Inc. 500 Statistics: Hosts total : 822 Hosts with no tests : 0 Total test count : 841 Status messages : 840 Alert status msgs : 0 Transmissions : 12 DNS statistics: # hostnames resolved : 822 # succesful : 317 # failed : 505 # calls to dnsresolve : 841 TCP test statistics: # TCP tests total : 15 # HTTP tests : 4 # Simple TCP tests : 11 # Connection attempts : 15 # bytes written : 666 # bytes read : 11278 TIME SPENT Event Starttime Duration bbtest-net startup 1157055015.522208 - Service definitions loaded 1157055015.529746 0.007538 Tests loaded 1157055025.655732 10.125986 DNS lookups completed 1157055030.723962 5.068230 Test engine setup completed 1157055030.733952 0.009990 TCP tests completed 1157055030.995307 0.261355 PING test completed (822 hosts) 1157055073.088812 42.093505 PING test results sent 1157055073.104640 0.015828 Test result collection completed 1157055073.105058 0.000418 LDAP test engine setup completed 1157055073.105060 0.000002 LDAP tests executed 1157055073.105062 0.000002 LDAP tests result collection completed 1157055073.105063 0.000001 NTP tests executed 1157055073.363425 0.258362 RPC tests executed 1157055073.411516 0.048091 Test results transmitted 1157055073.484927 0.073411 bbtest-net completed 1157055073.492452 0.007525 TIME TOTAL 57.970244
--
Rich Smrcina VM Assist, Inc. Phone: XXX-XXX-XXXX Ans Service: XXX-XXX-XXXX user-61add9955ef9@xymon.invalid Catch the WAVV! http://www.wavv.org WAVV 2007 - Green Bay, WI - May 18-22, 2007
list Larry Barber
Its pretty easy to put something like this in to the menuing system that is
included with hobbit. You just have to modify the
server/www/menu/menu_items.js file. Here's a sample from mine:
var MENU_ITEMS = [
['Views', null, null,
['Main view', '/hobbit/bb.html', null,
['APHIS', '/hobbit/APHIS', null,
['AQAS', '/hobbit/APHIS/AQAS'],
['ALBES', '/hobbit/APHIS/ALBES'],
['EPermits', '/hobbit/APHIS/EPERMITS'],
['NAIS', '/hobbit/APHIS/NAIS'],
['PCIT', '/hobbit/APHIS/PCIT'],
],
['CEE', '/hobbit/CEE'],
['CENS', '/hobbit/CENS'],
['CMITS', '/hobbit/CMITS'],
['CPAIS', '/hobbit/CPAIS'],
['Dept. of Labor', '/hobbit/DOL'],
['Environment', '/hobbit/ENV'],
['ESS', '/hobbit/ESS', null,
['Active Directory', '/hobbit/ESS/ACT_DIR'],
['AMS', '/hobbit/ESS/AMS',null,
['PreProduction', '/hobbit/ESS/AMS/AMS_PREPROD'],
['Production', '/hobbit/ESS/AMS/AMS_PROD'],
.... and on and on for a few hundred lines.
Thanks,
Larry Barber
▸
On 8/31/06, T.J. Yang <user-8e841282cda5@xymon.invalid> wrote:Following is an example borrow from ebay. I can navigate different categories easily under powersports by clicking "PowerSports" Listed in category: eBay Motors > Powersports > Scooters & Mopeds > Honda Is it possible that bbgen can generate URLs at top menu like above "PowerSports" line ? so page,subpage,subagent tags in bb-hosts file can form a direct link from any pages on hobbit server. tj Reference: http://cgi.ebay.com/ebaymotors/ws/eBayISAPI.dll?ViewItem&rd=1,1&item=300017045343&ih=020&sspagename=STRK%3AMEWA%3AIT
list T.J. Yang
▸
From: "Larry Barber" <user-6ef9c2864140@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Feature request: better default navigation experience Date: Thu, 31 Aug 2006 15:27:37 -0500 Its pretty easy to put something like this in to the menuing system that is included with hobbit. You just have to modify the server/www/menu/menu_items.js file. Here's a sample from mine:
I was looking for navigation menu like this on every hobbit page after the line under "Current Status". http://cgi.ebay.com/ebaymotors/ws/eBayISAPI.dll?ViewItem&rd=1,1&item=300017045343&ih=020&sspagename=STRK%3AMEWA%3AIT But your tip helps too. Thanks tj
▸
var MENU_ITEMS = [ ['Views', null, null, ['Main view', '/hobbit/bb.html', null, ['APHIS', '/hobbit/APHIS', null, ['AQAS', '/hobbit/APHIS/AQAS'], ['ALBES', '/hobbit/APHIS/ALBES'], ['EPermits', '/hobbit/APHIS/EPERMITS'], ['NAIS', '/hobbit/APHIS/NAIS'], ['PCIT', '/hobbit/APHIS/PCIT'], ], ['CEE', '/hobbit/CEE'], ['CENS', '/hobbit/CENS'], ['CMITS', '/hobbit/CMITS'], ['CPAIS', '/hobbit/CPAIS'], ['Dept. of Labor', '/hobbit/DOL'], ['Environment', '/hobbit/ENV'], ['ESS', '/hobbit/ESS', null, ['Active Directory', '/hobbit/ESS/ACT_DIR'], ['AMS', '/hobbit/ESS/AMS',null, ['PreProduction', '/hobbit/ESS/AMS/AMS_PREPROD'], ['Production', '/hobbit/ESS/AMS/AMS_PROD'], .... and on and on for a few hundred lines. Thanks, Larry Barber On 8/31/06, T.J. Yang <user-8e841282cda5@xymon.invalid> wrote:Following is an example borrow from ebay. I can navigate different categories easily under powersports by clicking "PowerSports" Listed in category: eBay Motors > Powersports > Scooters & Mopeds > Honda Is it possible that bbgen can generate URLs at top menu like above "PowerSports" line ? so page,subpage,subagent tags in bb-hosts file can form a direct link from any pages on hobbit server. tj Reference: http://cgi.ebay.com/ebaymotors/ws/eBayISAPI.dll?ViewItem&rd=1,1&item=300017045343&ih=020&sspagename=STRK%3AMEWA%3AIT
list T.J. Yang
▸
From: Rich Smrcina <user-cf452ff334e0@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Please comment my test Hobbit server info Date: Thu, 31 Aug 2006 15:26:59 -0500 Some simple math shows that you could probably go to about 4000 hosts comfortably (with a 5 minutes test cycle time). Of course, there may be other factors to consider when you go that high, so YMMV. I would also consider the fact that as hobbitping improves those ping times will come down.
I think it is possible to come up with a formula(algorithm) to
predict maximum capacity by dervinng factors
like ping, cpu load,disk space of a hobbit server.
lets leave it as a hobbit challenge for now.
Thanks for your comment.
tj▸
T.J. Yang wrote:Currently most of hosts are ping test only. I can put more hosts on this hobbit server. 822 hosts is taking 42 seconds. Answer I don't know is how many more hosts it can handle ? How can I find what hosts are causing DNS lookup failures ? Thanks for your time tj Output of bbest. bbtest-net version 4.2.0 SSL library : OpenSSL 0.9.7b 10 Apr 2003 LDAP library: Sun Microsystems Inc. 500 Statistics: Hosts total : 822 Hosts with no tests : 0 Total test count : 841 Status messages : 840 Alert status msgs : 0 Transmissions : 12 DNS statistics: # hostnames resolved : 822 # succesful : 317 # failed : 505 # calls to dnsresolve : 841 TCP test statistics: # TCP tests total : 15 # HTTP tests : 4 # Simple TCP tests : 11 # Connection attempts : 15 # bytes written : 666 # bytes read : 11278 TIME SPENT Event Starttime Duration bbtest-net startup 1157055015.522208 - Service definitions loaded 1157055015.529746 0.007538 Tests loaded 1157055025.655732 10.125986 DNS lookups completed 1157055030.723962 5.068230 Test engine setup completed 1157055030.733952 0.009990 TCP tests completed 1157055030.995307 0.261355 PING test completed (822 hosts) 1157055073.088812 42.093505 PING test results sent 1157055073.104640 0.015828 Test result collection completed 1157055073.105058 0.000418 LDAP test engine setup completed 1157055073.105060 0.000002 LDAP tests executed 1157055073.105062 0.000002 LDAP tests result collection completed 1157055073.105063 0.000001 NTP tests executed 1157055073.363425 0.258362 RPC tests executed 1157055073.411516 0.048091 Test results transmitted 1157055073.484927 0.073411 bbtest-net completed 1157055073.492452 0.007525 TIME TOTAL 57.970244-- Rich Smrcina VM Assist, Inc. Phone: XXX-XXX-XXXX Ans Service: XXX-XXX-XXXX user-61add9955ef9@xymon.invalid Catch the WAVV! http://www.wavv.org WAVV 2007 - Green Bay, WI - May 18-22, 2007
list Gary B.
Not there either
▸
On 8/31/06, Jerry Yu <user-764c1f364fe0@xymon.invalid> wrote:what about the 'trends' column? On 8/31/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:did you wait enough cycles? could you check if there's RRD actually generated for the host under /var/lib/hobbit/rrd/ ?Yes, I've waited enough cycles, but the graph still isn't showing up. Meanwhile, several other changes I've made have shown up. Yes, the RRD files have actually been generated. They just don't want to show up on the "ports" page for this host... It's time for lunch, so I'll check when I get back - maybe it'll work if I don't stare at it, like that pot of boiling water ;-)On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:oh, you are using it under a wild-card (or multi-host) HOST= section thus you want to limit the test to apply to that HOST alone. makes sense then. I think the missing () is somewhat important too. If I recall correctly,Ididn't have much sucess until I inserted () myself.Hmm. The actual tests seem to be working correctly, but the RRD graph just isn't showing up...On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:I don't use HOST= in my working PORT tracking. I agree with Greg on doing it via the RegExp itself.The problem with that is, it will perform the PORT test on all of the machines under the HOST= section the test is under. I don't want this, as only one of the machines actually has the ports running. I haven't had a problem using HOST= in this manner before, and it's described in the "rules to select hosts" section in the manpage for hobbit-clients.cfgminor thing: not so sure TRACK= can take all numeric or not. I believe your RegExp needs (). Mine goes like below. I have PORT column show and alerts generated, plus RRD graph for counting ofTIME_WAITconnections to PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000COL=yellowTRACK=db_TimeWait TEXT=db_TimeWaitI was wondering that myself. I'll try changing to TRACK= to be character-based and see if that helps.
list Jerry Yu
just for testing, could you remove the HOST= part of it ? Did you insert () between % and $?
▸
On 8/31/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:Not there either On 8/31/06, Jerry Yu <user-764c1f364fe0@xymon.invalid> wrote:what about the 'trends' column? On 8/31/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:did you wait enough cycles? could you check if there's RRD actually generated for the host under /var/lib/hobbit/rrd/ ?Yes, I've waited enough cycles, but the graph still isn't showing up. Meanwhile, several other changes I've made have shown up. Yes, the RRD files have actually been generated. They just don't want to show up on the "ports" page for this host... It's time for lunch, so I'll check when I get back - maybe it'll work if I don't stare at it, like that pot of boiling water ;-)On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:oh, you are using it under a wild-card (or multi-host) HOST= section thus you want to limit the test to apply to that HOST alone. makes sense then. I think the missing () is somewhat important too. If I recall correctly,Ididn't have much sucess until I inserted () myself.Hmm. The actual tests seem to be working correctly, but the RRD graph just isn't showing up...On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:I don't use HOST= in my working PORT tracking. I agree withGregondoingitvia the RegExp itself.The problem with that is, it will perform the PORT test on all of the machines under the HOST= section the test is under. I don't want this, as only one of the machines actually has the ports running. I haven't had a problem using HOST= in this manner before, and it's described in the "rules to select hosts" section in the manpage for hobbit-clients.cfgminor thing: not so sure TRACK= can take all numeric or not. I believe your RegExp needs (). Mine goes like below. I havePORTcolumnshow and alerts generated, plus RRD graph for counting ofTIME_WAITconnections to PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000COL=yellowTRACK=db_TimeWait TEXT=db_TimeWaitI was wondering that myself. I'll try changing to TRACK= to be character-based and see if that helps.
list T.J. Yang
Larry Again, thanks for the pointer. I implemented your suggestion on my test server with lots of manually editing. That bring me to my original request. I think above process should be automated by parsing bb-hosts file and insert the links onto each page instead of Tigra menu_items.js file. Regards tj
▸
From: "Larry Barber" <user-6ef9c2864140@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Feature request: better default navigation experience Date: Thu, 31 Aug 2006 15:27:37 -0500 Its pretty easy to put something like this in to the menuing system that is included with hobbit. You just have to modify the server/www/menu/menu_items.js file. Here's a sample from mine: var MENU_ITEMS = [ ['Views', null, null, ['Main view', '/hobbit/bb.html', null, ['APHIS', '/hobbit/APHIS', null, ['AQAS', '/hobbit/APHIS/AQAS'], ['ALBES', '/hobbit/APHIS/ALBES'], ['EPermits', '/hobbit/APHIS/EPERMITS'], ['NAIS', '/hobbit/APHIS/NAIS'], ['PCIT', '/hobbit/APHIS/PCIT'], ], ['CEE', '/hobbit/CEE'], ['CENS', '/hobbit/CENS'], ['CMITS', '/hobbit/CMITS'], ['CPAIS', '/hobbit/CPAIS'], ['Dept. of Labor', '/hobbit/DOL'], ['Environment', '/hobbit/ENV'], ['ESS', '/hobbit/ESS', null, ['Active Directory', '/hobbit/ESS/ACT_DIR'], ['AMS', '/hobbit/ESS/AMS',null, ['PreProduction', '/hobbit/ESS/AMS/AMS_PREPROD'], ['Production', '/hobbit/ESS/AMS/AMS_PROD'], .... and on and on for a few hundred lines. Thanks, Larry Barber On 8/31/06, T.J. Yang <user-8e841282cda5@xymon.invalid> wrote:Following is an example borrow from ebay. I can navigate different categories easily under powersports by clicking "PowerSports" Listed in category: eBay Motors > Powersports > Scooters & Mopeds > Honda Is it possible that bbgen can generate URLs at top menu like above "PowerSports" line ? so page,subpage,subagent tags in bb-hosts file can form a direct link from any pages on hobbit server. tj Reference: http://cgi.ebay.com/ebaymotors/ws/eBayISAPI.dll?ViewItem&rd=1,1&item=300017045343&ih=020&sspagename=STRK%3AMEWA%3AIT
list Henrik Størner
▸
On Thu, Aug 31, 2006 at 03:22:05PM -0500, T.J. Yang wrote:
Currently most of hosts are ping test only. I can put more hosts on this hobbit server. 822 hosts is taking 42 seconds. Answer I don't know is how many more hosts it can handle ?
A lot. Network tests are one thing; you can tweak the hobbitping or fping options to speed them up, and/or play with the concurrency and timeout settings for the bbtest-net tool. Which of these you use depends on your mix of tests.
How can I find what hosts are causing DNS lookup failures ?
See the bbtest-net man-page:
--dnslog=FILENAME
Log failed hostname lookups to the file FILENAME.
FILENAME should be a full pathname.
Regards,
Henrik
list Henrik Størner
▸
On Thu, Aug 31, 2006 at 04:46:22PM -0500, T.J. Yang wrote:
I implemented your suggestion on my test server with lots of manually editing.
This patch will build the menu-entry definitions automatically. It
won't update your menu_items.js file, but since it only needs changing
when new pages/subpages are added, I guess that can be done manually.
To use it, run bbgen with the "--menufile=/tmp/menu.inc" option (use
any filename you like), and bbgen will then dump the menu-items for the
tree structure of the webpages. Edit your menu_items.js file and include
the generated menu entries into the main file.
Regards,
Henrik
-------------- next part --------------
--- bbdisplay/bbgen.c 2006/05/25 14:57:06 1.224
+++ bbdisplay/bbgen.c 2006/09/01 12:09:34
@@ -42,6 +42,7 @@
dispsummary_t *dispsums = NULL; /* Summaries we received and display */
int bb_color, bb2_color, bbnk_color; /* Top-level page colors */
int fqdn = 1; /* Hobbit FQDN setting */
+char *menufn = NULL;
time_t reportstart = 0;
time_t reportend = 0;
@@ -86,6 +87,55 @@
NULL };
+void dump_page_tree(FILE *fd, bbgen_page_t *head, char *path)
+{
+ static int level = 0;
+ bbgen_page_t *walk;
• + level++;
• + for (walk = head; (walk); walk = walk->next) {
+ int i;
• + if (walk->parent) {
• + fprintf(fd, "\t");
+ for (i=0; (i<level); i++) fprintf(fd, " ");
• + if (walk->subpages) {
+ fprintf(fd, "['%s', null, null,\n", walk->title);
+ }
+ else {
+ char *url;
• + url = (char *)malloc(strlen(getenv("BBWEB")) + strlen(path) + strlen(walk->name) + 10);
+ sprintf(url, "%s/%s/%s/", getenv("BBWEB"), path, walk->name);
• + fprintf(fd, "['%s', '%s'],\n", walk->title, cleanurl(url));
+ xfree(url);
+ }
+ }
• + if (walk->subpages) {
+ char *mypath;
• + mypath = (char *)malloc(strlen(path) + strlen(walk->name) + 2);
+ sprintf(mypath, "%s/%s", path, walk->name);
+ dump_page_tree(fd, walk->subpages, mypath);
+ xfree(mypath);
• + if (walk->parent) {
+ fprintf(fd, "\t");
+ for (i=0; (i<level); i++) fprintf(fd, " ");
+ fprintf(fd, "],\n");
+ }
+ }
+ }
• + level--;
+}
• +
int main(int argc, char *argv[])
{
char *pagedir;
@@ -447,6 +497,10 @@
printf("\n");
exit(0);
}
+ else if (argnmatch(argv[i], "--menufile=")) {
+ char *lp = strchr(argv[i], '=');
+ menufn = strdup(lp+1);
+ }
else if ((strcmp(argv[i], "--help") == 0) || (strcmp(argv[i], "-?") == 0)) {
printf("bbgen for Hobbit version %s\n\n", VERSION);
@@ -574,6 +628,16 @@
pagehead = load_bbhosts(pageset);
add_timestamp("Load bbhosts done");
+ if (menufn) {
+ FILE *fd;
• + fd = fopen(menufn, "w");
+ if (fd) {
+ dump_page_tree(fd, pagehead, "");
+ fclose(fd);
+ }
+ }
• if (!embedded) {
/* Remove old acknowledgements */
delete_old_acks();
list T.J. Yang
▸
From: user-ce4a2c883f75@xymon.invalid (Henrik Stoerner) Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Feature request: better default navigation experience Date: Fri, 1 Sep 2006 14:21:18 +0200 On Thu, Aug 31, 2006 at 04:46:22PM -0500, T.J. Yang wrote:I implemented your suggestion on my test server with lots of manually editing.This patch will build the menu-entry definitions automatically. It won't update your menu_items.js file, but since it only needs changing when new pages/subpages are added, I guess that can be done manually.
Hi, Henrik Thanks for the quick response to answer my request. This patch is a good short term solution. but it still requrire menual editing. Can you modify your dump_page_tree subroutine to render the menu tree onto every html page ? So there is no menual editing needed. The consumers(uers,mangagers) will have easy time to browse (not search as you have it already) and understand the servers/client machines their group and other groups have. Using tigra javascript to get a group/server is good solution but the one below is the best(IMHO). Company > sectors > network > server > web Example from ebay. eBay Motors > Powersports > Scooters & Mopeds > Honda http://cgi.ebay.com/ebaymotors/HONDA-METROPOLITAN-SCOOTER_W0QQitemZ150028404448QQihZ005QQcategoryZ42593QQrdZ1QQcmdZViewItem tj
▸
To use it, run bbgen with the "--menufile=/tmp/menu.inc" option (use any filename you like), and bbgen will then dump the menu-items for the tree structure of the webpages. Edit your menu_items.js file and include the generated menu entries into the main file. Regards, Henrik
<< bbgen-menutree.patch >>
list Gary B.
I removed the HOST= trailing tags on the PORT tests. I also insert () between % and $ as suggested. Still no graph. But the RRD files *are* being generated. They just aren't being displayed on the page. Is there any other file that I need to modify? hobbitgraph.cfg?
▸
just for testing, could you remove the HOST= part of it ? Did you insert () between % and $? On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:Not there either On 8/31/06, Jerry Yu < user-764c1f364fe0@xymon.invalid> wrote:what about the 'trends' column? On 8/31/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:did you wait enough cycles? could you check if there's RRD actually generated for the host under /var/lib/hobbit/rrd/ ?Yes, I've waited enough cycles, but the graph still isn't showing up. Meanwhile, several other changes I've made have shown up. Yes, the RRD files have actually been generated. They just don't want to show up on the "ports" page for this host... It's time for lunch, so I'll check when I get back - maybe it'll work if I don't stare at it, like that pot of boiling water ;-)On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:oh, you are using it under a wild-card (or multi-host) HOST= section thus you want to limit the test to apply to that HOST alone. makes sense then. I think the missing () is somewhat important too. If I recall correctly,Ididn't have much sucess until I inserted () myself.Hmm. The actual tests seem to be working correctly, but the RRD graph just isn't showing up...On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:I don't use HOST= in my working PORT tracking. I agree withGregondoingitvia the RegExp itself.The problem with that is, it will perform the PORT test on all of the machines under the HOST= section the test is under. I don't want this, as only one of the machines actually has the ports running. I haven't had a problem using HOST= in this manner before, and it's described in the "rules to select hosts" section in the manpage for hobbit-clients.cfgminor thing: not so sure TRACK= can take all numeric or not. I believe your RegExp needs (). Mine goes like below. I havePORTcolumnshow and alerts generated, plus RRD graph for counting ofTIME_WAITconnections to PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000COL=yellowTRACK=db_TimeWait TEXT=db_TimeWaitI was wondering that myself. I'll try changing to TRACK= to be character-based and see if that helps.
list Gary B.
Oh yeah... That makes sense... I upgraded from an earlier version of Hobbit on the server that didn't support the new PORTS monitoring tests. So, hobbitserver.cfg didn't include the appropriate entries for TEST2RRD and GRAPHS... I added that, and what do you know, it's working now ;-)
▸
I removed the HOST= trailing tags on the PORT tests. I also insert () between % and $ as suggested. Still no graph. But the RRD files *are* being generated. They just aren't being displayed on the page. Is there any other file that I need to modify? hobbitgraph.cfg?just for testing, could you remove the HOST= part of it ? Did you insert () between % and $? On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:Not there either On 8/31/06, Jerry Yu < user-764c1f364fe0@xymon.invalid> wrote:what about the 'trends' column? On 8/31/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:did you wait enough cycles? could you check if there's RRD actually generated for the host under /var/lib/hobbit/rrd/ ?Yes, I've waited enough cycles, but the graph still isn't showing up. Meanwhile, several other changes I've made have shown up. Yes, the RRD files have actually been generated. They just don't want to show up on the "ports" page for this host... It's time for lunch, so I'll check when I get back - maybe it'll work if I don't stare at it, like that pot of boiling water ;-)On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:oh, you are using it under a wild-card (or multi-host) HOST= section thus you want to limit the test to apply to that HOST alone. makes sense then. I think the missing () is somewhat important too. If I recall correctly,Ididn't have much sucess until I inserted () myself.Hmm. The actual tests seem to be working correctly, but the RRD graph just isn't showing up...On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:I don't use HOST= in my working PORT tracking. I agree withGregondoingitvia the RegExp itself.The problem with that is, it will perform the PORT test on all of the machines under the HOST= section the test is under. I don't want this, as only one of the machines actually has the ports running. I haven't had a problem using HOST= in this manner before, and it's described in the "rules to select hosts" section in the manpage for hobbit-clients.cfgminor thing: not so sure TRACK= can take all numeric or not. I believe your RegExp needs (). Mine goes like below. I havePORTcolumnshow and alerts generated, plus RRD graph for counting ofTIME_WAITconnections to PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000COL=yellowTRACK=db_TimeWait TEXT=db_TimeWaitI was wondering that myself. I'll try changing to TRACK= to be character-based and see if that helps.
list Jerry Yu
no, I didn't change anything other than add the PORT under a HOST= inside hobbit-clients.cfg. 1) Could you copy+paste your PORT line here? I got the impression Hobbit Monitor is not fault-tolerant regarding the ordering of the directives on some tests. 2) Or, could you try it without HOST wildcard, under a HOST=oneServerHere, with your own PORT or mine? 3) as you can see, I am running out of ideas, since mine simply worked, with PORT under a simple HOST= (non-wildcarded)
▸
On 9/7/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:I removed the HOST= trailing tags on the PORT tests. I also insert () between % and $ as suggested. Still no graph. But the RRD files *are* being generated. They just aren't being displayed on the page. Is there any other file that I need to modify? hobbitgraph.cfg?just for testing, could you remove the HOST= part of it ? Did you insert()between % and $? On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:Not there either On 8/31/06, Jerry Yu < user-764c1f364fe0@xymon.invalid> wrote:what about the 'trends' column? On 8/31/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:did you wait enough cycles? could you check if there's RRD actually generated for the host under /var/lib/hobbit/rrd/ ?Yes, I've waited enough cycles, but the graph still isn't showing up. Meanwhile, several other changes I've made have shown up. Yes, the RRD files have actually been generated. They just don't want to show up on the "ports" page for this host... It's time for lunch, so I'll check when I get back - maybe it'll work if I don't stare at it, like that pot of boiling water ;-)On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:oh, you are using it under a wild-card (or multi-host) HOST= section thus you want to limit the test to apply to that HOST alone.makessensethen.I think the missing () is somewhat important too. If I recall correctly,Ididn't have much sucess until I inserted () myself.Hmm. The actual tests seem to be working correctly, but theRRDgraphjust isn't showing up...On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:I don't use HOST= in my working PORT tracking. I agree withGregondoingitvia the RegExp itself.The problem with that is, it will perform the PORT test on all of the machines under the HOST= section the test is under. I don't want this, as only one of the machines actually has the ports running. I haven't had a problem using HOST= in this manner before, and it's described in the "rules to select hosts" section in the manpage for hobbit-clients.cfgminor thing: not so sure TRACK= can take all numeric or not. I believe your RegExp needs (). Mine goes like below. I havePORTcolumnshow and alerts generated, plus RRD graph for counting ofTIME_WAITconnections to PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000COL=yellowTRACK=db_TimeWait TEXT=db_TimeWaitI was wondering that myself. I'll try changing to TRACK= to be character-based and see if that helps.
list Henrik Størner
▸
On Thu, Aug 31, 2006 at 02:30:53PM -0500, T.J. Yang wrote:
From network speed point of view, what kind of ping response time is not suitable for hobbit client/server deployment ? I have one overea site that answer ping test steady at 300ms. Does anyone have experience on deploying hobbit across WANs over country ? I know using proxy is an alerternative but what about direct report over a pipe with 300ms ping time ?
Getting reports from clients will work, no problem. Running network tests across the WAN link may not be a good idea, since you're more like to hit timeouts and sporadic ping failures with such high latency. So it would probably be a good idea if you could setup a network test probe at the remote end of you WAN connection. It can still report to the central Hobbit server. Of course, if you want to monitor the availability of services accessed across the WAN link, then running your network tests across the WAN does make sense. Regards, Henrik