Question/feature request
list Eric van de Meerakker Mailings Lists
Hello, I have a question on Hobbit: how can I find out what the exact "Unexpected service response" is on a network test? I have an FTP test that fails momentarily for (to me) mysterious reasons... Would it be possible to put the actual value of the unexpected service response in the error message? Regards, Eric van de Meerakker.
list Henrik Størner
▸
On Mon, Jul 03, 2006 at 11:37:17AM +0200, Eric van de Meerakker (Mailings Lists) wrote:
I have a question on Hobbit: how can I find out what the exact "Unexpected service response" is on a network test? I have an FTP test that fails momentarily for (to me) mysterious reasons... Would it be possible to put the actual value of the unexpected service response in the error message?
It does that already, actually. If you don't see anything on the status page, it is because no data was received from the server. (And "no data" obviously doesn't match the "200" status we expect from an ftp server). Regards, Henrik
list Eric van de Meerakker
Hi Henrik, You're right, at least partially. I found out just now that the issue was with a misconfigured nsswitch.conf on the FTP server. That file still had entries for nis and nisplus in it, whicht caused the FTP banner response to be very slow (just about the length of the network test timeout I guess :-), due to the hostname lookup. The TCP connection would be established quickly, but the FTP banner didn't always appear in time. But the weird thing is that some green FTP statuses (especially those following the yellow ones in the history) don't contain any response string either?!? I only saw those FTP statuses at first and they made me try to put in some debugging code to get the actual response on the web page, directly behind the "Unexpected service response" text. My first attempt crashed the bbtest-net executable the next time the failure occured (exactly because there was no response, so I rewrote it to catch that and put in an explicit "(null)" text when no data was received), but in the meantime I found the cause of the issue. Also, the "Seconds: N.NN" reported seems to be the time in which the TCP connection to the FTP server was established, not the total test time. That makes sense I suppose for the TCP timing statistics, but it threw me off-track in finding the solution for this problem. A yellow FTP status with 0.12 seconds duration did not indicate a timeout to me ;-) BTW, I'm testing this on the 4.2 beta release with recent patches. I'm in the process of installing a new Hobbit server in our remote datacenter to monitor the production systems locally, so we won't experience Internet outages as downtime for our services (we're already running Hobbit remotely on two oldish servers from two remote offices, outages in ADSL connections in reporting actual service downtime to our customers). Alerts from the datacenter will go out through SMS. We're very happy with Hobbit so far! Regards, Eric.
▸
Henrik Stoerner wrote:On Mon, Jul 03, 2006 at 11:37:17AM +0200, Eric van de Meerakker (Mailings Lists) wrote:I have a question on Hobbit: how can I find out what the exact "Unexpected service response" is on a network test? I have an FTP test that fails momentarily for (to me) mysterious reasons... Would it be possible to put the actual value of the unexpected service response in the error message?It does that already, actually. If you don't see anything on the status page, it is because no data was received from the server. (And "no data" obviously doesn't match the "200" status we expect from an ftp server). Regards, Henrik
list Eric van de Meerakker
Hi Henrik, I don't know if you read my previous response (see below), because it got sent using the wrong mail account. But I think I've found another issue: does the network retest procedure after a failed test ignore the "expect" setting in bb-services? I tried to do some testing by deliberatly misconfiguring the expect setting for the FTP test (I set it to 221 in stead of 220), and now I have got a cyclical behaviour on the Hobbit server: it will turn all (five) FTP service tests yellow on the next test, but within a minute they all turn green again. Again five minutes later they turn yellow again, back green within a minute, etc. etc. This continues to happen until I put the expect 220 back in bb-services... I don't think this is the correct behaviour? Regards, Eric.
▸
Hi Henrik, You're right, at least partially. I found out just now that the issue was with a misconfigured nsswitch.conf on the FTP server. That file still had entries for nis and nisplus in it, whicht caused the FTP banner response to be very slow (just about the length of the network test timeout I guess :-), due to the hostname lookup. The TCP connection would be established quickly, but the FTP banner didn't always appear in time. But the weird thing is that some green FTP statuses (especially those following the yellow ones in the history) don't contain any response string either?!? I only saw those FTP statuses at first and they made me try to put in some debugging code to get the actual response on the web page, directly behind the "Unexpected service response" text. My first attempt crashed the bbtest-net executable the next time the failure occured (exactly because there was no response, so I rewrote it to catch that and put in an explicit "(null)" text when no data was received), but in the meantime I found the cause of the issue. Also, the "Seconds: N.NN" reported seems to be the time in which the TCP connection to the FTP server was established, not the total test time. That makes sense I suppose for the TCP timing statistics, but it threw me off-track in finding the solution for this problem. A yellow FTP status with 0.12 seconds duration did not indicate a timeout to me ;-) BTW, I'm testing this on the 4.2 beta release with recent patches. I'm in the process of installing a new Hobbit server in our remote datacenter to monitor the production systems locally, so we won't experience Internet outages as downtime for our services (we're already running Hobbit remotely on two oldish servers from two remote offices, outages in ADSL connections in reporting actual service downtime to our customers). Alerts from the datacenter will go out through SMS. We're very happy with Hobbit so far! Regards, Eric. Henrik Stoerner wrote:On Mon, Jul 03, 2006 at 11:37:17AM +0200, Eric van de Meerakker (Mailings Lists) wrote:I have a question on Hobbit: how can I find out what the exact "Unexpected service response" is on a network test? I have an FTP test that fails momentarily for (to me) mysterious reasons... Would it be possible to put the actual value of the unexpected service response in the error message?It does that already, actually. If you don't see anything on the status page, it is because no data was received from the server. (And "no data" obviously doesn't match the "200" status we expect from an ftp server). Regards, Henrik
list Beau Olivier
Hi, Is it possible set change the default storage history in hobbit's rrd files ? -> i'ld like to be able to zoom in a graph and have a precise view on the last 30 days, not just the last 48 hours.. olivier
list Henrik Størner
▸
On Mon, Jul 03, 2006 at 02:54:56PM +0200, Beau Olivier wrote:
Is it possible set change the default storage history in hobbit's rrd files ? -> i'ld like to be able to zoom in a graph and have a precise view on the last 30 days, not just the last 48 hours..
It's possible with the new hobbit-hostgraphs tool available in the snapshots. It lets you select one or more hosts/graphs and a time period, and then it shows the graph for just that period of time. You can try it on http://www.hswn.dk/hobbit/ - go to the "Systems" page and pick the "Report" -> "Metrics report" menu-item. Regards, Henrik
list Henrik Størner
▸
On Mon, Jul 03, 2006 at 02:17:43PM +0200, Eric van de Meerakker wrote:
I don't know if you read my previous response (see below), because it got sent using the wrong mail account. But I think I've found another issue: does the network retest procedure after a failed test ignore the "expect" setting in bb-services? I tried to do some testing by deliberatly misconfiguring the expect setting for the FTP test (I set it to 221 in stead of 220), and now I have got a cyclical behaviour on the Hobbit server: it will turn all (five) FTP service tests yellow on the next test, but within a minute they all turn green again. Again five minutes later they turn yellow again, back green within a minute, etc. etc. This continues to happen until I put the expect 220 back in bb-services... I don't think this is the correct behaviour?
Doesn't sound right, I'll have to agree. The retest procedure should use the same parameters as the normal tests, but your experiment shows that it might not. Just to verify this, could you try modifying the ~hobbit/server/ext/bbretest-net.sh script and add "--check-response" to the bbtest-net command in there (after the "cat $REDOFILE") ? Regards, Henrik
list Beau Olivier
Cool, i like this new CGI ! but my real question is the possibility to have a monthly data with a 5 minute average, instead of a 2 hour average. Olivier
▸
-----Message d'origine-----
De : Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Envoyé : lundi 3 juillet 2006 15:51
À : user-ae9b8668bcde@xymon.invalid
Objet : Re: [hobbit] rrd question
On Mon, Jul 03, 2006 at 02:54:56PM +0200, Beau Olivier wrote:Is it possible set change the default storage history in hobbit's rrd files ? -> i'ld like to be able to zoom in a graph and have a precise view on the last 30 days, not just the last 48 hours..
It's possible with the new hobbit-hostgraphs tool available in the snapshots. It lets you select one or more hosts/graphs and a time period, and then it shows the graph for just that period of time. You can try it on http://www.hswn.dk/hobbit/ - go to the "Systems" page and pick the "Report" -> "Metrics report" menu-item. Regards, Henrik
list Charles Goyard
▸
Beau Olivier a écrit :
Hi, Is it possible set change the default storage history in hobbit's rrd files ? -> i'ld like to be able to zoom in a graph and have a precise view on the last 30 days, not just the last 48 hours..
It seems the settings are hardcoded into hobbitd/do_rrd.c : static char rra1[] = "RRA:AVERAGE:0.5:1:576"; static char rra2[] = "RRA:AVERAGE:0.5:6:576"; static char rra3[] = "RRA:AVERAGE:0.5:24:576"; static char rra4[] = "RRA:AVERAGE:0.5:288:576"; You'll have to modify these and recompile.
list Lars Ebeling
I can't find this in my menu (menu-items.js.DIST) from todays snapshot. Lars
▸
----- Original Message -----
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Monday, July 03, 2006 3:50 PM
Subject: Re: [hobbit] rrd question
On Mon, Jul 03, 2006 at 02:54:56PM +0200, Beau Olivier wrote:Is it possible set change the default storage history in hobbit's rrd files ? -> i'ld like to be able to zoom in a graph and have a precise view on the last 30 days, not just the last 48 hours..It's possible with the new hobbit-hostgraphs tool available in the snapshots. It lets you select one or more hosts/graphs and a time period, and then it shows the graph for just that period of time. You can try it on http://www.hswn.dk/hobbit/ - go to the "Systems" page and pick the "Report" -> "Metrics report" menu-item. Regards, Henrik
list Eric van de Meerakker
OK, I just tested that. The changed line was:
$BBHOME/bin/bbtest-net `cat $REDOFILE` --check-response
I've got the content of the "frequenttests." (the . is really there!)
file for you as well:
"--ping" "--checkresponse" <site> <site2> <site3> <site4>
(So four sites in all. My count was off by one in my previous mail. I
blame the heat ;-)
The change makes no difference, still yellow/green/yellow/green for all
four sites simultaneously when I change de FTP expect setting in
bb-services.
▸
Regards,
Eric.
Henrik Stoerner wrote:On Mon, Jul 03, 2006 at 02:17:43PM +0200, Eric van de Meerakker wrote:I don't know if you read my previous response (see below), because it got sent using the wrong mail account. But I think I've found another issue: does the network retest procedure after a failed test ignore the "expect" setting in bb-services? I tried to do some testing by deliberatly misconfiguring the expect setting for the FTP test (I set it to 221 in stead of 220), and now I have got a cyclical behaviour on the Hobbit server: it will turn all (five) FTP service tests yellow on the next test, but within a minute they all turn green again. Again five minutes later they turn yellow again, back green within a minute, etc. etc. This continues to happen until I put the expect 220 back in bb-services... I don't think this is the correct behaviour?Doesn't sound right, I'll have to agree. The retest procedure should use the same parameters as the normal tests, but your experiment shows that it might not. Just to verify this, could you try modifying the ~hobbit/server/ext/bbretest-net.sh script and add "--check-response" to the bbtest-net command in there (after the "cat $REDOFILE") ? Regards, Henrik
list Henrik Størner
▸
On Mon, Jul 03, 2006 at 03:59:10PM +0200, Beau Olivier wrote:
Cool, i like this new CGI ! but my real question is the possibility to have a monthly data with a 5 minute average, instead of a 2 hour average.
You'll have to modify how the RRD files are created, as others have pointed out. For existing files, you can do an "rrdtool export" of the current data, then create the RRD file with the same datasets but different RRA's, and import the old data into the new file. It's tedious, but that is how RRDtool works - you cannot modify the definition of an RRD file after it has been created. Regards, Henrik
list Craig Whilding
Just had a look and that really is an excellent utility I can see a lot of use for, hopefully convince the network guys to integrate with hobbit more readily too! Thanks, Craig
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: 03 July 2006 14:51
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] rrd question
On Mon, Jul 03, 2006 at 02:54:56PM +0200, Beau Olivier wrote:Is it possible set change the default storage history in hobbit's rrd files ? -> i'ld like to be able to zoom in a graph and have a precise view on the last 30 days, not just the last 48 hours..
It's possible with the new hobbit-hostgraphs tool available in the snapshots. It lets you select one or more hosts/graphs and a time period, and then it shows the graph for just that period of time. You can try it on http://www.hswn.dk/hobbit/ - go to the "Systems" page and pick the "Report" -> "Metrics report" menu-item. Regards, Henrik
list Eric van de Meerakker
Hi Henrik, I just redid the test with --checkresponse in stead of --check-response: $BBHOME/bin/bbtest-net `cat $REDOFILE` --checkresponse That one seems to produce the desired effect: tests are stable at yellow when I change the FTP expect setting. I thought it might not be working properly because of the quotes in in the "frequenttests." file. Then I removed the --checkresponse and put an 'eval' in front of that line in stead: eval $BBHOME/bin/bbtest-net `cat $REDOFILE` it all works properly again (at least on my SuSE SLES9 installation). If not a fix, at least it is a workaround...
▸
Regards,
Eric.
Henrik Stoerner wrote:On Mon, Jul 03, 2006 at 02:17:43PM +0200, Eric van de Meerakker wrote:I don't know if you read my previous response (see below), because it got sent using the wrong mail account. But I think I've found another issue: does the network retest procedure after a failed test ignore the "expect" setting in bb-services? I tried to do some testing by deliberatly misconfiguring the expect setting for the FTP test (I set it to 221 in stead of 220), and now I have got a cyclical behaviour on the Hobbit server: it will turn all (five) FTP service tests yellow on the next test, but within a minute they all turn green again. Again five minutes later they turn yellow again, back green within a minute, etc. etc. This continues to happen until I put the expect 220 back in bb-services... I don't think this is the correct behaviour?Doesn't sound right, I'll have to agree. The retest procedure should use the same parameters as the normal tests, but your experiment shows that it might not. Just to verify this, could you try modifying the ~hobbit/server/ext/bbretest-net.sh script and add "--check-response" to the bbtest-net command in there (after the "cat $REDOFILE") ? Regards, Henrik
list Beau Olivier
Concerning this new cgi, could we have access to a similar cgi just for the specific graph, having a second zoom gif underning the actual zoom gif ?
▸
-----Message d'origine-----
De : Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Envoyé : lundi 3 juillet 2006 15:51
À : user-ae9b8668bcde@xymon.invalid
Objet : Re: [hobbit] rrd question
On Mon, Jul 03, 2006 at 02:54:56PM +0200, Beau Olivier wrote:Is it possible set change the default storage history in hobbit's rrd files ? -> i'ld like to be able to zoom in a graph and have a precise view on the last 30 days, not just the last 48 hours..
It's possible with the new hobbit-hostgraphs tool available in the snapshots. It lets you select one or more hosts/graphs and a time period, and then it shows the graph for just that period of time. You can try it on http://www.hswn.dk/hobbit/ - go to the "Systems" page and pick the "Report" -> "Metrics report" menu-item. Regards, Henrik
list Jeff Newman
Henrik, First: AWESOME Second: Would it be possible to specify hours and minutes? I know rrdtool not only lets you specify dates, but also hours/minutes. something like "-s 14:00 20060419 -e 15:00 20060419" I havn't downloaded the code to see how you implemented the metric report, so I don't know how easy/hard this would be to implement. Thanks, Jeff
▸
On 7/3/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:On Mon, Jul 03, 2006 at 02:54:56PM +0200, Beau Olivier wrote:Is it possible set change the default storage history in hobbit's rrd files ? -> i'ld like to be able to zoom in a graph and have a precise view on the last 30 days, not just the last 48 hours..It's possible with the new hobbit-hostgraphs tool available in the snapshots. It lets you select one or more hosts/graphs and a time period, and then it shows the graph for just that period of time. You can try it on http://www.hswn.dk/hobbit/ - go to the "Systems" page and pick the "Report" -> "Metrics report" menu-item. Regards, Henrik
list Henrik Størner
▸
On Mon, Jul 03, 2006 at 05:43:35PM -0500, Jeff Newman wrote:
Second: Would it be possible to specify hours and minutes? I know rrdtool not only lets you specify dates, but also hours/minutes. something like "-s 14:00 20060419 -e 15:00 20060419" I havn't downloaded the code to see how you implemented the metric report, so I don't know how easy/hard this would be to implement.
Not at all. I just modified the code to handle hour/minute/second selections if provided from the web form that calls the hostgraphs CGI. So although I won't add it to the default hostgraphs_form, you can add your own drop-down's with hour/minute/second selections and get your graphs for whatever period you like. Henrik
list Galen Johnson
Hey,
I have the graphing working just fine...however the rrd file is huge...below is a sample of the status message getting sent to hobbit.
There are 16 terminal users on winserver1.
Of the 16 total users:
Active Sessions: 2
Disconnected Sessions: 14
Group1 Users: 7
Group2 Users: 9
USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME
user01 4 Disc none 9/18/2006 3:52 PM
user02 1 Disc none 9/20/2006 3:33 PM
user03 rdp-tcp#360 6 Active 6:09 9/22/2006 5:11 PM
user04 12 Disc none 9/26/2006 9:15 AM
user05 14 Disc none 9/27/2006 10:07 AM
user06 15 Disc none 9/27/2006 2:52 PM
user07 11 Disc none 9/27/2006 4:55 PM
user08 9 Disc none 9/27/2006 5:37 PM
user09 16 Disc none 9/28/2006 3:49 PM
user10 rdp-tcp#359 2 Active . 10/2/2006 10:57 AM
user11 5 Disc none 10/2/2006 2:56 PM
user12 7 Disc none 10/6/2006 10:15 AM
user13 8 Disc none 10/10/2006 9:21 AM
user14 3 Disc none 10/11/2006 2:51 PM
user15 18 Disc none 10/11/2006 3:50 PM
user16 17 Disc none 10/12/2006 1:56 PM
When I looked at the file sizes the termusers.rrd file is huge compared to the other rrd files for this same system, so I did a dump and looked at the content...it created a rrd entry for EVERY userXX as well...broken up in strange ways...regardless...I want it ignore everything except the 4 items above USERNAME...can I do this with NCV (which is what I'm currently using) or will it require a separate script? I'm going to continue digging into the docs and mailing list but thought I'd ask while doing so (in case you could save me some time).
=G=
Note, this is hobbit 4.2.0 (unpatched) and the client is BBWin with a custom script.
list Galen Johnson
▸
Galen Johnson wrote:
Hey, I have the graphing working just fine...however the rrd file is huge...below is a sample of the status message getting sent to hobbit. There are 16 terminal users on winserver1. Of the 16 total users: Active Sessions: 2 Disconnected Sessions: 14 Group1 Users: 7 Group2 Users: 9 USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME user01 4 Disc none 9/18/2006 3:52 PM user02 1 Disc none 9/20/2006 3:33 PM user03 rdp-tcp#360 6 Active 6:09 9/22/2006 5:11 PM user04 12 Disc none 9/26/2006 9:15 AM user05 14 Disc none 9/27/2006 10:07 AM user06 15 Disc none 9/27/2006 2:52 PM user07 11 Disc none 9/27/2006 4:55 PM user08 9 Disc none 9/27/2006 5:37 PM user09 16 Disc none 9/28/2006 3:49 PM user10 rdp-tcp#359 2 Active . 10/2/2006 10:57 AM user11 5 Disc none 10/2/2006 2:56 PM user12 7 Disc none 10/6/2006 10:15 AM user13 8 Disc none 10/10/2006 9:21 AM user14 3 Disc none 10/11/2006 2:51 PM user15 18 Disc none 10/11/2006 3:50 PM user16 17 Disc none 10/12/2006 1:56 PM When I looked at the file sizes the termusers.rrd file is huge compared to the other rrd files for this same system, so I did a dump and looked at the content...it created a rrd entry for EVERY userXX as well...broken up in strange ways...regardless...I want it ignore everything except the 4 items above USERNAME...can I do this with NCV (which is what I'm currently using) or will it require a separate script? I'm going to continue digging into the docs and mailing list but thought I'd ask while doing so (in case you could save me some time). =G= Note, this is hobbit 4.2.0 (unpatched) and the client is BBWin with a custom script.
Ok...I've tracked down part of it...I think the reason it is grabbing the lower section is the colon in the time...based on the hobbitd_rrd man page it looks for NAME-COLON-VALUE and strips out whitespace...here're are a couple of entries from the dump (easy enough to duplicate for testing): OK...my cut-n-paste from my remote desktop just hosed so I'll have to provide the info later if you really need it... There needs to be a way to define a data block within a status message and have NCV graphing ignore everything outside of it...something like <!-- <BEGIN DATA> entry1:value1 entry2:value2 <END DATA > --> that way it will be hidden on the web page or stripped out... =G=
list Henrik Størner
▸
On Thu, Oct 12, 2006 at 09:45:10PM -0400, Galen Johnson wrote:
Active Sessions: 2 Disconnected Sessions: 14 Group1 Users: 7 Group2 Users: 9There needs to be a way to define a data block within a status message
and have NCV graphing ignore everything outside of it...Setup the NCV_foo setting like this: NCV_foo="ActiveSessions:GAUGE,DisconnectedSessions:GAUGE,Group1Users:GAUGE,Group2Users:GAUGE,*:NONE" The "*:NONE" makes the NCV handler ignore everything except the datasets explicitly listed. Note: you'll have to delete the current rrd file when making this kind of change. Regards, Henrik
list Galen Johnson
▸
Henrik Stoerner wrote:
On Thu, Oct 12, 2006 at 09:45:10PM -0400, Galen Johnson wrote:Active Sessions: 2 Disconnected Sessions: 14 Group1 Users: 7 Group2 Users: 9There needs to be a way to define a data block within a status message and have NCV graphing ignore everything outside of it...Setup the NCV_foo setting like this: NCV_foo="ActiveSessions:GAUGE,DisconnectedSessions:GAUGE,Group1Users:GAUGE,Group2Users:GAUGE,*:NONE" The "*:NONE" makes the NCV handler ignore everything except the datasets explicitly listed. Note: you'll have to delete the current rrd file when making this kind of change. Regards, Henrik
Thanks Henrik...I just saw that while re-reading the man page...I should know better than to do this stuff when I'm tired...Hobbit just rocks... Just as a curiousity, can you use hobbitrrd to split out the individual datasets like the disk tests and tcp test do...so I could have termusers.ActiveSessions.rrd, termusers.DisconnectedSessions.rrd, etc? That would be extremely useful for tests which provide a lot of differnet datapoints. Maybe by defining the TEST2RRD like termuser=NCV:split? I would think that would be the only component that would have to change if I have understand how that works properly. =G= =G=
list Henrik Størner
▸
On Fri, Oct 13, 2006 at 11:09:16AM -0400, Galen Johnson wrote:
Just as a curiousity, can you use hobbitrrd to split out the individual datasets like the disk tests and tcp test do...so I could have termusers.ActiveSessions.rrd, termusers.DisconnectedSessions.rrd, etc?
Not yet, it has been suggested before and I think it makes a lot of sense. So it will show up someday. Regards, Henrik
list Galen Johnson
▸
Henrik Stoerner wrote:
On Fri, Oct 13, 2006 at 11:09:16AM -0400, Galen Johnson wrote:Just as a curiousity, can you use hobbitrrd to split out the individual datasets like the disk tests and tcp test do...so I could have termusers.ActiveSessions.rrd, termusers.DisconnectedSessions.rrd, etc?Not yet, it has been suggested before and I think it makes a lot of sense. So it will show up someday. Regards, Henrik
OK...last question...let's say I want to set up some datasets to graph but I don't necessarily want to surface them on the web page...if I have my script just wrap the info within http comment tags (<!-- -->), will the NCV still parse them or will it strip out everything in the comments? =G=
list T.J. Yang
This way I can change ip address/hardware of hobbit server when needed. T.J. Yang Try the new Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM=WLMTAG
list Henrik Størner
▸
On Fri, Oct 13, 2006 at 01:45:09PM -0500, T.J. Yang wrote:
This way I can change ip address/hardware of hobbit server when needed.
Yes, it is OK to put the hostname of the Hobbit server in the BBDISPLAY setting. However, it does mean that if DNS breaks, your clients will no longer be updating the Hobbit status display. Regards, Henrik
list T.J. Yang
I am trying to put up a place for hobbit trending graphs to be displayed and analyzed for its meaning. http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Administration_Guide#Trending_graphs_interpretations Please post your trending graph that shows problems and it interpretation. in my ping graph, I don't unstand why the line change some much. T.J. Yang Share your special moments by uploading 500 photos per month to Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/features
list T.J. Yang
Like here, http://www.hswn.dk/hobbit-cgi/bb-hostsvc.sh?HOST=fenris.hswn.dk&SERVICE=info "Client S/W:" has empty value, how can I enable this ? I like to see the version for hobbit client display in this field. Thanks T.J. Yang Find a local pizza place, music store, museum and more�then map the best route! http://local.live.com
list T.J. Yang
▸
From: "T.J. Yang" <user-8e841282cda5@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] How to enable "Client S/W:" in info column ? Date: Fri, 13 Oct 2006 21:04:23 -0500 Like here, http://www.hswn.dk/hobbit-cgi/bb-hostsvc.sh?HOST=fenris.hswn.dk&SERVICE=info "Client S/W:" has empty value, how can I enable this ? I like to see the version for hobbit client display in this field.
Looks like I ran into a bug in version 4.2.0. $BBHOME/etc/clientversion.cfg was not created by default. after some code tracing on clientupdate.c I found etc/clientversion.cfg is needed. root at test> ./clientupdate --level 4.2.0.1 root at test> root at test> cat ../etc/clientversion.cfg 4.2.0.1 root at test> Regards
▸
Thanks T.J. Yang Find a local pizza place, music store, museum and more�then map the best route! http://local.live.com
Share your special moments by uploading 500 photos per month to Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/features
list T.J. Yang
▸
From: "T.J. Yang" <user-8e841282cda5@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] How to enable "Client S/W:" in info column ? Date: Sat, 14 Oct 2006 14:29:12 -0500From: "T.J. Yang" <user-8e841282cda5@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] How to enable "Client S/W:" in info column ? Date: Fri, 13 Oct 2006 21:04:23 -0500 Like here, http://www.hswn.dk/hobbit-cgi/bb-hostsvc.sh?HOST=fenris.hswn.dk&SERVICE=info "Client S/W:" has empty value, how can I enable this ? I like to see the version for hobbit client display in this field.
Also can "Client S/W" rename to "hobbit client version ?
▸
Looks like I ran into a bug in version 4.2.0. $BBHOME/etc/clientversion.cfg was not created by default. after some code tracing on clientupdate.c I found etc/clientversion.cfg is needed. root at test> ./clientupdate --level 4.2.0.1 root at test> root at test> cat ../etc/clientversion.cfg 4.2.0.1 root at test> RegardsThanks T.J. Yang Find a local pizza place, music store, museum and more�then map the best route! http://local.live.comShare your special moments by uploading 500 photos per month to Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/features
Add fun gadgets and colorful themes to express yourself on Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/features
list T.J. Yang
Another informative field to add in the future to tell a hobbit client is configured remotely or locally on server. T.J. Yang Express yourself - download free Windows Live Messenger themes! http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://imagine-msn.com/themes/vibe/default.aspx?locale=en-us&source=hmtagline
list David Gore
▸
T.J. Yang wrote:
From: "T.J. Yang" <user-8e841282cda5@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] How to enable "Client S/W:" in info column ? Date: Sat, 14 Oct 2006 14:29:12 -0500From: "T.J. Yang" <user-8e841282cda5@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] How to enable "Client S/W:" in info column ? Date: Fri, 13 Oct 2006 21:04:23 -0500 Like here, http://www.hswn.dk/hobbit-cgi/bb-hostsvc.sh?HOST=fenris.hswn.dk&SERVICE=info "Client S/W:" has empty value, how can I enable this ? I like to see the version for hobbit client display in this field.Also can "Client S/W" rename to "hobbit client version ?Looks like I ran into a bug in version 4.2.0. $BBHOME/etc/clientversion.cfg was not created by default.
It is not a bug, it just means you have not done a clientupdate. You create the client versions, the client version names are arbitrary. See the man page for clientupdate for more detail.
▸
after some code tracing on clientupdate.c I found etc/clientversion.cfg is needed. root at test> ./clientupdate --level 4.2.0.1 root at test> root at test> cat ../etc/clientversion.cfg 4.2.0.1 root at test> RegardsThanks T.J. Yang Find a local pizza place, music store, museum and more…then map the best route! http://local.live.comShare your special moments by uploading 500 photos per month to Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/featuresAdd fun gadgets and colorful themes to express yourself on Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/features
list T.J. Yang
▸
From: David Gore <user-3e5761c68b56@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] How to enable "Client S/W:" in info column ? Date: Sat, 14 Oct 2006 23:09:09 +0000 T.J. Yang wrote:From: "T.J. Yang" <user-8e841282cda5@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] How to enable "Client S/W:" in info column ? Date: Sat, 14 Oct 2006 14:29:12 -0500From: "T.J. Yang" <user-8e841282cda5@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] How to enable "Client S/W:" in info column ? Date: Fri, 13 Oct 2006 21:04:23 -0500 Like here, http://www.hswn.dk/hobbit-cgi/bb-hostsvc.sh?HOST=fenris.hswn.dk&SERVICE=info "Client S/W:" has empty value, how can I enable this ? I like to see the version for hobbit client display in this field.Also can "Client S/W" rename to "hobbit client version ?Looks like I ran into a bug in version 4.2.0. $BBHOME/etc/clientversion.cfg was not created by default.It is not a bug, it just means you have not done a clientupdate. You create the client versions, the client version names are arbitrary. See the man page for clientupdate for more detail.
Thanks for the followup, IMHO, it should be a bug (or a missing feature). click on info column and see "Client S/W" has no vaule will definitely not acceptable the management. I now have all my client packages genterate a etc/clientversion.cfg with a version number in it after client installation. Looking forward to try out the auto client update. tj
▸
after some code tracing on clientupdate.c I found etc/clientversion.cfg is needed. root at test> ./clientupdate --level 4.2.0.1 root at test> root at test> cat ../etc/clientversion.cfg 4.2.0.1 root at test> RegardsThanks T.J. Yang Find a local pizza place, music store, museum and more�then map the best route! http://local.live.comShare your special moments by uploading 500 photos per month to Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/featuresAdd fun gadgets and colorful themes to express yourself on Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/features
Be seen and heard with Windows Live Messenger and Microsoft LifeCams http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://www.microsoft.com/hardware/digitalcommunication/default.mspx?locale=en-us&source=hmtagline
list Eric Meddaugh
I have a bb-hosts.cfg setup similar to: page SOLARIS Solaris x.x.x.x host1 # ldap x.x.x.x host2 # dns page WINDOWS Windows x.x.x.x host3 # smtp page HELP HelpDesk 0.0.0.0 host1 # noconn 0.0.0.0 host2 # noconn 0.0.0.0 host3 # noconn I go to the HelpDesk page, and try to use the Enable/Disable feature, but it does not show me any system to enable/disable. It does if I am on the Solaris page (only shows host1, host2), and Windows (only shows host3). Is there anyway to have the enable/disable feture work for all hosts that appear on the page, regardless of where they are? We have pages with hosts, and then pages with services. We want to be able to disable all tests on a service page (or host page) and the corresponding service/host on the other pages it appears on with also get disabled too. Is that possible? Is there a specific tag I am missing in order to get this working? Thanks. ---Eric
list Eric Meddaugh
This actually after looking at it seems to be in the Enable/Disable "Pagename pattern" Filter option. It picks the page by default you are browsing, but does not lists hosts that are 0.0.0.0 if they are listed on other pages. How do I fix that? Thanks. ---Eric
▸
-----Original Message-----
From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid]
Sent: Monday, October 16, 2006 08:20
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Enable/disable question
I have a bb-hosts.cfg setup similar to:
page SOLARIS Solaris
x.x.x.x host1 # ldap
x.x.x.x host2 # dns
page WINDOWS Windows
x.x.x.x host3 # smtp
page HELP HelpDesk
0.0.0.0 host1 # noconn
0.0.0.0 host2 # noconn
0.0.0.0 host3 # noconn
I go to the HelpDesk page, and try to use the Enable/Disable feature,
but it does not show me any system to enable/disable. It does if I am
on the Solaris page (only shows host1, host2), and Windows (only shows
host3).
Is there anyway to have the enable/disable feture work for all hosts
that appear on the page, regardless of where they are?
We have pages with hosts, and then pages with services. We want to be
able to disable all tests on a service page (or host page) and the
corresponding service/host on the other pages it appears on with also
get disabled too. Is that possible? Is there a specific tag I am
missing in order to get this working?
Thanks.
---Eric
list Gildas le Nadan
▸
T.J. Yang wrote:
I am trying to put up a place for hobbit trending graphs to be displayed and analyzed for its meaning. http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Administration_Guide#Trending_graphs_interpretations Please post your trending graph that shows problems and it interpretation. in my ping graph, I don't unstand why the line change some much. T.J. Yang
Hi, I also have a lot on "triangle shape" graphs, especially on machines that are quite idle and with a very low latency. I heavily suspect that those are caused by rounding errors when the values are small. You can see the problem on those two examples (one has a "baseline", the other a "ceiling"): http://lenadan.gildas.free.fr/hobbit/tcp_example1.png http://lenadan.gildas.free.fr/hobbit/tcp_example2.png Cheers, Gildas
list Eric Meddaugh
I'm just wondering if there is something I can adjust so that when you filter by page it picks up all the hosts on the page, including the ones with 0.0.0.0 IPs or noconn tags.
▸
Thanks.
---Eric
-----Original Message-----
From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid]
Sent: Monday, October 16, 2006 09:03
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Enable/disable question
This actually after looking at it seems to be in the Enable/Disable
"Pagename pattern" Filter option. It picks the page by default you are
browsing, but does not lists hosts that are 0.0.0.0 if they are listed
on other pages. How do I fix that?
Thanks.
---Eric
-----Original Message-----
From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid]
Sent: Monday, October 16, 2006 08:20
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Enable/disable question
I have a bb-hosts.cfg setup similar to:
page SOLARIS Solaris
x.x.x.x host1 # ldap
x.x.x.x host2 # dns
page WINDOWS Windows
x.x.x.x host3 # smtp
page HELP HelpDesk
0.0.0.0 host1 # noconn
0.0.0.0 host2 # noconn
0.0.0.0 host3 # noconn
I go to the HelpDesk page, and try to use the Enable/Disable feature,
but it does not show me any system to enable/disable. It does if I am
on the Solaris page (only shows host1, host2), and Windows (only shows
host3).
Is there anyway to have the enable/disable feture work for all hosts
that appear on the page, regardless of where they are?
We have pages with hosts, and then pages with services. We want to be
able to disable all tests on a service page (or host page) and the
corresponding service/host on the other pages it appears on with also
get disabled too. Is that possible? Is there a specific tag I am
missing in order to get this working?
Thanks.
---Eric
list Eric Meddaugh
I notice in the man page for hobbit-enadis.cgi there is this at the end: BUGS When using alternate pagesets, hosts will only show up on the Enable/Disable page if this is accessed from the primary page in which they are defined. So if you have hosts on multiple pages, they will only be visible for disabling from their main page which is not what you would expect. I'm just curious if anyone knows when that might be fixed. Thanks. ---Eric
list Jason Altrincham Jones
Short term work around is to use the info column if you have the allinone patch Jason.
▸
From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid]
Sent: 26 October 2006 13:15
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Enable/Disable question
I notice in the man page for hobbit-enadis.cgi there is this at the end:
BUGS
When using alternate pagesets, hosts will only show up on the
Enable/Disable page if this is accessed from the primary page in which
they are defined. So if you have hosts on multiple pages, they will only
be visible for disabling from their main page which is not what you
would expect.
I'm just curious if anyone knows when that might be fixed.
Thanks.
---Eric
list Johann Eggers
Hi, I think this was handled in the past (see http://www.hswn.dk/hobbiton/2006/07/msg00236.html ) Install the actual All-in-one-patch and add the --no-cookies switch in hobbitcgi.cfg # hobbit-enadis.cgi options CGI_ENADIS_OPTS="--no-cookies --env=/opt/hobbit/server/etc/hobbitserver.cfg" For me it works fine. Johann
▸
From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid]
Sent: Donnerstag, 26. Oktober 2006 14:15
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Enable/Disable question
I notice in the man page for hobbit-enadis.cgi there is this at the end:
BUGS
When using alternate pagesets, hosts will only show up on the
Enable/Disable page if this is accessed from the primary page in which
they are defined. So if you have hosts on multiple pages, they will only
be visible for disabling from their main page which is not what you
would expect.
I'm just curious if anyone knows when that might be fixed.
Thanks.
---Eric
list Eric Meddaugh
This is almost good enough. It however doesn't filter on the pagename. We have many services on different pages. We have them listed out by O/S and Service, so things appear on multiple pages. Ideally, if we want to take down an entire O/S (for patching), or a service, we can go to that page and disable all the services on that page. However with the bug in place we cannot. Going ahead with the suggestion below requires us to filter on each host listed (which can be long). What we're doing until the bug is fixed is placing the primary definition on a page that we would most likely disable the test for, like rebooting a service for patches. Thanks. ---Eric
▸
From: Johann Eggers [mailto:user-769b09132207@xymon.invalid] Sent: Thursday, October 26, 2006 08:52 To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Enable/Disable question Hi, I think this was handled in the past (see http://www.hswn.dk/hobbiton/2006/07/msg00236.html ) Install the actual All-in-one-patch and add the --no-cookies switch in hobbitcgi.cfg # hobbit-enadis.cgi options CGI_ENADIS_OPTS="--no-cookies --env=/opt/hobbit/server/etc/hobbitserver.cfg" For me it works fine. Johann From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid] Sent: Donnerstag, 26. Oktober 2006 14:15 To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Enable/Disable question I notice in the man page for hobbit-enadis.cgi there is this at the end: BUGS When using alternate pagesets, hosts will only show up on the Enable/Disable page if this is accessed from the primary page in which they are defined. So if you have hosts on multiple pages, they will only be visible for disabling from their main page which is not what you would expect. I'm just curious if anyone knows when that might be fixed. Thanks. ---Eric
list Jason Altrincham Jones
Can't the info column be used to handle this until a more appropriate fix is introduced? Assuming you have the patch it disables the test and does it on a hostname basis rather than a page one.
▸
Jason. From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid] Sent: 26 October 2006 13:59 To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Enable/Disable question This is almost good enough. It however doesn't filter on the pagename. We have many services on different pages. We have them listed out by O/S and Service, so things appear on multiple pages. Ideally, if we want to take down an entire O/S (for patching), or a service, we can go to that page and disable all the services on that page. However with the bug in place we cannot. Going ahead with the suggestion below requires us to filter on each host listed (which can be long). What we're doing until the bug is fixed is placing the primary definition on a page that we would most likely disable the test for, like rebooting a service for patches. Thanks. ---Eric From: Johann Eggers [mailto:user-769b09132207@xymon.invalid] Sent: Thursday, October 26, 2006 08:52 To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Enable/Disable question Hi, I think this was handled in the past (see http://www.hswn.dk/hobbiton/2006/07/msg00236.html ) Install the actual All-in-one-patch and add the --no-cookies switch in hobbitcgi.cfg # hobbit-enadis.cgi options CGI_ENADIS_OPTS="--no-cookies --env=/opt/hobbit/server/etc/hobbitserver.cfg" For me it works fine. Johann From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid] Sent: Donnerstag, 26. Oktober 2006 14:15 To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Enable/Disable question I notice in the man page for hobbit-enadis.cgi there is this at the end: BUGS When using alternate pagesets, hosts will only show up on the Enable/Disable page if this is accessed from the primary page in which they are defined. So if you have hosts on multiple pages, they will only be visible for disabling from their main page which is not what you would expect. I'm just curious if anyone knows when that might be fixed. Thanks. ---Eric
list Eric Meddaugh
We can use that, yes, but when we are disabling a host for a reboot that has 50+ services on it, it's a little time consuming to go to 50+ different info pages. Rather I just disable everything on a specific page. ---Eric
▸
From: Jones, Jason (Altrincham) [mailto:user-ee957b46acd2@xymon.invalid] Sent: Thursday, October 26, 2006 09:12 To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Enable/Disable question Can't the info column be used to handle this until a more appropriate fix is introduced? Assuming you have the patch it disables the test and does it on a hostname basis rather than a page one. Jason. From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid] Sent: 26 October 2006 13:59 To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Enable/Disable question This is almost good enough. It however doesn't filter on the pagename. We have many services on different pages. We have them listed out by O/S and Service, so things appear on multiple pages. Ideally, if we want to take down an entire O/S (for patching), or a service, we can go to that page and disable all the services on that page. However with the bug in place we cannot. Going ahead with the suggestion below requires us to filter on each host listed (which can be long). What we're doing until the bug is fixed is placing the primary definition on a page that we would most likely disable the test for, like rebooting a service for patches. Thanks. ---Eric From: Johann Eggers [mailto:user-769b09132207@xymon.invalid] Sent: Thursday, October 26, 2006 08:52 To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Enable/Disable question Hi, I think this was handled in the past (see http://www.hswn.dk/hobbiton/2006/07/msg00236.html ) Install the actual All-in-one-patch and add the --no-cookies switch in hobbitcgi.cfg # hobbit-enadis.cgi options CGI_ENADIS_OPTS="--no-cookies --env=/opt/hobbit/server/etc/hobbitserver.cfg" For me it works fine. Johann From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid] Sent: Donnerstag, 26. Oktober 2006 14:15 To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Enable/Disable question I notice in the man page for hobbit-enadis.cgi there is this at the end: BUGS When using alternate pagesets, hosts will only show up on the Enable/Disable page if this is accessed from the primary page in which they are defined. So if you have hosts on multiple pages, they will only be visible for disabling from their main page which is not what you would expect. I'm just curious if anyone knows when that might be fixed. Thanks. ---Eric