hobbit-clients.cfg
list Paul Moore
I'm having a problem with the hobbit-clients.cfg matching. The
documentations states the below but I'm experiencing it matching all lines.
# Rules are evaluated from the top of this file and down, and the first
# matching rule is used. So you should put the specific rules first, and
# the generic rules last.
Here is the layout of my cfg file.
HOST=pdcd20-ic1
PROC sm_server 9 9 RED
HOST=pdcd20-ic1
PROC sm_server 5 5 RED
HOST=%(c[ar]y|omz|rch|[pn]dc)(d14-icb2|d02-icb1).*
PROC sm_server 4 4 RED
HOST=%(c[ar]y|omz|rch|[pn]dc)(d20-icb1|(d15-icb[1-2])|d15-ic2|d02-ic1|d14-ic
1).*
PROC sm_server 3 3 RED
HOST=%(c[ar]y|omz|rch|[pn]dc)(d20-ic[1-3]|d15-ic[3-5]|d[0-9]*-icb).*
PROC sm_server 2 2 RED
HOST=%(c[ar]y|omz|rch|[pn]dc)d[0-9]*-ic.*
PROC sm_server 1 1 RED
DEFAULT
# These are the built-in defaults.
UP 1h
LOAD 5.0 10.0
DISK * 90 95
MEMPHYS 100 101
MEMSWAP 50 80
MEMACT 90 97
-=-=-
Here is what I get in test
../bin/hobbitd_client --test --debug --config=hobbit-clients.
cfg
Hostname (.=end, ?=dump, !=reload) []: ?
PROC sm_server 9 9 red HOST=pdcd20-ic1 (line: 142)
PROC sm_server 5 5 red HOST=pdcd20-ic1 (line: 144)
PROC sm_server 4 4 red HOST=%(c[ar]y|omz|rch|[pn]dc)(d14-icb2|d02-icb1).*
(line: 146)
PROC sm_server 3 3 red
HOST=%(c[ar]y|omz|rch|[pn]dc)(d20-icb1|(d15-icb[1-2])|d15-ic2|d02-ic1|d14-ic
1).* (line: 148
)
PROC sm_server 2 2 red
HOST=%(c[ar]y|omz|rch|[pn]dc)(d20-ic[1-3]|d15-ic[3-5]|d[0-9]*-icb).* (line:
150)
PROC sm_server 1 1 red HOST=%(c[ar]y|omz|rch|[pn]dc)d[0-9]*-ic.* (line: 152)
UP 3600 -1 (line: 155)
LOAD 5.00 10.00 (line: 156)
DISK * 90 95 0 -1 red (line: 157)
MEMREAL 100 101 (line: 158)
MEMSWAP 50 80 (line: 159)
MEMACT 90 97 (line: 160)
Hostname (.=end, ?=dump, !=reload) [?]: pdcd20-ic1
Test (cpu, mem, disk, proc): proc
ps command string: sm_server
ps command string: sm_server
ps command string:
Process sm_server color red: Count=2, min=9, max=9
Process sm_server color red: Count=2, min=5, max=5
Process sm_server color green: Count=2, min=2, max=2
Process sm_server color red: Count=2, min=1, max=1
-=-=-
As you can see it matches 4 different times.
-=-=-
Paul Moore V966-5159
MSO OSS Support
-=-=-=-=-=
Pinky, Are You Pondering What I'm Pondering?
Well, I think so Brain but if Jimmy cracks corn and no one cares, why does
he keep doing it?
list Sean Hennessey
Bump. Any ideas on this?
▸
-----Original Message-----
From: Paul Moore [mailto:user-8c3a430470a0@xymon.invalid]
Sent: Thursday, June 29, 2006 5:21 PM
To: user-ae9b8668bcde@xymon.invalid
Cc: 'Sean Hennessey'
Subject: hobbit-clients.cfg
I'm having a problem with the hobbit-clients.cfg matching. The
documentations states the below but I'm experiencing it matching all lines.
# Rules are evaluated from the top of this file and down, and the first
# matching rule is used. So you should put the specific rules first, and
# the generic rules last.
Here is the layout of my cfg file.
HOST=pdcd20-ic1
PROC sm_server 9 9 RED
HOST=pdcd20-ic1
PROC sm_server 5 5 RED
HOST=%(c[ar]y|omz|rch|[pn]dc)(d14-icb2|d02-icb1).*
PROC sm_server 4 4 RED
HOST=%(c[ar]y|omz|rch|[pn]dc)(d20-icb1|(d15-icb[1-2])|d15-ic2|d02-ic1|d14-ic
1).*
PROC sm_server 3 3 RED
HOST=%(c[ar]y|omz|rch|[pn]dc)(d20-ic[1-3]|d15-ic[3-5]|d[0-9]*-icb).*
PROC sm_server 2 2 RED
HOST=%(c[ar]y|omz|rch|[pn]dc)d[0-9]*-ic.*
PROC sm_server 1 1 RED
DEFAULT
# These are the built-in defaults.
UP 1h
LOAD 5.0 10.0
DISK * 90 95
MEMPHYS 100 101
MEMSWAP 50 80
MEMACT 90 97
-=-=-
Here is what I get in test
../bin/hobbitd_client --test --debug --config=hobbit-clients.
cfg
Hostname (.=end, ?=dump, !=reload) []: ?
PROC sm_server 9 9 red HOST=pdcd20-ic1 (line: 142)
PROC sm_server 5 5 red HOST=pdcd20-ic1 (line: 144)
PROC sm_server 4 4 red HOST=%(c[ar]y|omz|rch|[pn]dc)(d14-icb2|d02-icb1).*
(line: 146)
PROC sm_server 3 3 red
HOST=%(c[ar]y|omz|rch|[pn]dc)(d20-icb1|(d15-icb[1-2])|d15-ic2|d02-ic1|d14-ic
1).* (line: 148
)
PROC sm_server 2 2 red
HOST=%(c[ar]y|omz|rch|[pn]dc)(d20-ic[1-3]|d15-ic[3-5]|d[0-9]*-icb).* (line:
150)
PROC sm_server 1 1 red HOST=%(c[ar]y|omz|rch|[pn]dc)d[0-9]*-ic.* (line: 152)
UP 3600 -1 (line: 155)
LOAD 5.00 10.00 (line: 156)
DISK * 90 95 0 -1 red (line: 157)
MEMREAL 100 101 (line: 158)
MEMSWAP 50 80 (line: 159)
MEMACT 90 97 (line: 160)
Hostname (.=end, ?=dump, !=reload) [?]: pdcd20-ic1
Test (cpu, mem, disk, proc): proc
ps command string: sm_server
ps command string: sm_server
ps command string:
Process sm_server color red: Count=2, min=9, max=9
Process sm_server color red: Count=2, min=5, max=5
Process sm_server color green: Count=2, min=2, max=2
Process sm_server color red: Count=2, min=1, max=1
-=-=-
As you can see it matches 4 different times.
-=-=-
Paul Moore V966-5159
MSO OSS Support
-=-=-=-=-=
Pinky, Are You Pondering What I'm Pondering?
Well, I think so Brain but if Jimmy cracks corn and no one cares, why does
he keep doing it?
list Henrik Størner
▸
On Thu, Jun 29, 2006 at 05:21:06PM -0400, Paul Moore wrote:
I'm having a problem with the hobbit-clients.cfg matching. The documentations states the below but I'm experiencing it matching all lines. # Rules are evaluated from the top of this file and down, and the first # matching rule is used. So you should put the specific rules first, and # the generic rules last.
This is actually misleading, as you've found out. It only applies to some of the client checks, not all of them since it wouldn't make sense for all. E.g. you do want to check all of the PROC settings for a host, not just the first one. I'll remove that comment from the default setup.
▸
Here is the layout of my cfg file.
HOST=pdcd20-ic1
PROC sm_server 9 9 RED
HOST=pdcd20-ic1
PROC sm_server 5 5 REDWhat exactly is the point in having both of these rules ? I cannot tell if you want 5 or 9 sm_server processes.
HOST=%(c[ar]y|omz|rch|[pn]dc)(d20-ic[1-3]|d15-ic[3-5]|d[0-9]*-icb).*
PROC sm_server 2 2 REDThis one also matches the pdcd20-ic1 host. So now there are three rules.
HOST=%(c[ar]y|omz|rch|[pn]dc)d[0-9]*-ic.*
PROC sm_server 1 1 REDAnd this one also matches pdcd20-ic1. That makes 4 rules total.
▸
Process sm_server color red: Count=2, min=9, max=9 Process sm_server color red: Count=2, min=5, max=5 Process sm_server color green: Count=2, min=2, max=2 Process sm_server color red: Count=2, min=1, max=1 -=-=- As you can see it matches 4 different times.
Yep ... Regards, Henrik
list Sean Hennessey
▸
What exactly is the point in having both of these rules ? I cannot tell if you want 5 or 9 sm_server processes.
--For testing purposes to see if my regexp's where wrong or the docs where
wrong :)
We wrote the regexp's thinking it would bail out when it hit the first one
and where surprised when it matched the two of the regexp ( the specific and
the default catch all).
I was thinking about digging into the code to see if it would be possible to
have it exit once it hits the first match. Do you see this as being a major
endeavor? It's either that, write out over 40 individual host lines, or
write some exclude's.
Thanks in advance.
Sean
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Wednesday, July 05, 2006 4:51 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-clients.cfg
On Thu, Jun 29, 2006 at 05:21:06PM -0400, Paul Moore wrote:I'm having a problem with the hobbit-clients.cfg matching. The documentations states the below but I'm experiencing it matching all lines. # Rules are evaluated from the top of this file and down, and the first # matching rule is used. So you should put the specific rules first, and # the generic rules last.
This is actually misleading, as you've found out. It only applies to some of the client checks, not all of them since it wouldn't make sense for all. E.g. you do want to check all of the PROC settings for a host, not just the first one. I'll remove that comment from the default setup.
Here is the layout of my cfg file.
HOST=pdcd20-ic1
PROC sm_server 9 9 RED
HOST=pdcd20-ic1
PROC sm_server 5 5 REDWhat exactly is the point in having both of these rules ? I cannot tell if you want 5 or 9 sm_server processes.
HOST=%(c[ar]y|omz|rch|[pn]dc)(d20-ic[1-3]|d15-ic[3-5]|d[0-9]*-icb).*
PROC sm_server 2 2 REDThis one also matches the pdcd20-ic1 host. So now there are three rules.
HOST=%(c[ar]y|omz|rch|[pn]dc)d[0-9]*-ic.*
PROC sm_server 1 1 REDAnd this one also matches pdcd20-ic1. That makes 4 rules total.
Process sm_server color red: Count=2, min=9, max=9 Process sm_server color red: Count=2, min=5, max=5 Process sm_server color green: Count=2, min=2, max=2 Process sm_server color red: Count=2, min=1, max=1 -=-=- As you can see it matches 4 different times.
Yep ... Regards, Henrik
list Henrik Størner
▸
On Wed, Jul 05, 2006 at 05:18:07PM -0400, Sean Hennessey wrote:
What exactly is the point in having both of these rules ? I cannot tell if you want 5 or 9 sm_server processes.--For testing purposes to see if my regexp's where wrong or the docs where wrong :)
Fair enough. Although for regexp testing, I'd recommend using the "pcretest" utility that comes with the PCRE library. It's the best way of doing that.
▸
I was thinking about digging into the code to see if it would be possible to have it exit once it hits the first match. Do you see this as being a major endeavor? It's either that, write out over 40 individual host lines, or write some exclude's.
It's not really possible, because logically it doesn't make sense. Consider this: You have a bunch of "java" processes you want to check - there must be at least 10. And then there's a specific "java -Dfoobar" process that must exist, but only once. So: PROC java 10 PROC %java.*-Dfoobar 1 1 If you exit after the first match, then the second rule is ignored, and you won't get the check for that specific java process. So maybe we can reverse the lines: PROC %java.*-Dfoobar 1 1 PROC java 10 Now you get the right check for the "java ... -Dfoobar" process, but that one won't be counted along with the other "java" processes - and that doesn't seem right either. So I still believe the current way that Hobbit does it is "right". In your case, how about HOST=pdcd20-ic1 PROC sm_server 9 9 RED HOST=%(c[ar]y|omz|rch|[pn]dc)(d20-ic[1-3]|d15-ic[3-5]|d[0-9]*-icb).* PROC sm_server 2 2 RED EXHOST=pdcd20-ic1 HOST=%(c[ar]y|omz|rch|[pn]dc)d[0-9]*-ic.* PROC sm_server 1 1 RED EXHOST=pdcd20-ic1 Regards, Henrik
list Sean Hennessey
▸
It's not really possible, because logically it doesn't make sense. Consider this: You have a bunch of "java" processes you want to check - there must be at least 10. And then there's a specific "java -Dfoobar" process that must exist, but only once. So: PROC java 10 PROC %java.*-Dfoobar 1 1 If you exit after the first match, then the second rule is ignored, and you won't get the check for that specific java process. So maybe we can reverse the lines: PROC %java.*-Dfoobar 1 1 PROC java 10 Now you get the right check for the "java ... -Dfoobar" process, but that one won't be counted along with the other "java" processes - and that doesn't seem right either. So I still believe the current way that Hobbit does it is "right". In your case, how about HOST=pdcd20-ic1 PROC sm_server 9 9 RED HOST=%(c[ar]y|omz|rch|[pn]dc)(d20-ic[1-3]|d15-ic[3-5]|d[0-9]*-icb).* PROC sm_server 2 2 RED EXHOST=pdcd20-ic1 HOST=%(c[ar]y|omz|rch|[pn]dc)d[0-9]*-ic.* PROC sm_server 1 1 RED EXHOST=pdcd20-ic1
I guess I don't understand how you are building up your parsing tree. I was
thinking you built up some sort of structure for each host listed in the
hobbit-clients.cfg listing all the test for that particular host. They you'd
just run down that list looking for a match on the host. When you found a
match then go into and run the test specified for that host. It sounds to me
from what you are saying above that you actually build up a list of test's
first. You compare the sent data to the parsed tests, then you look at the
host. What you are saying makes sense if it works this way. If it works they
way I originally thought it did (check host first then test) I still think
exiting after hitting the first matched host is the better way to go.
Say I have for example
HOST=pdcd20-ic1
PROC sm_server 1 1 RED
HOST=pdcd20-ic2
PROC sm_server 2 2 RED
Pdcdd20-ic1 sends its update and it has 5 sm_server process, can you tell me
the flow that happens?
Does it take the hostname as sent (pdcd20-ic1) and then look that host up in
the clients.cfg file to see it should have only 1 sm_server or does it look
at all the PROC directives first and then look at the host?
Thanks in advance.
Great product by the way.
Sean
list Henrik Størner
▸
On Thu, Jul 06, 2006 at 10:52:42AM -0400, Sean Hennessey wrote:
Say I have for example HOST=pdcd20-ic1 PROC sm_server 1 1 RED HOST=pdcd20-ic2 PROC sm_server 2 2 RED Pdcdd20-ic1 sends its update and it has 5 sm_server process, can you tell me the flow that happens? Does it take the hostname as sent (pdcd20-ic1) and then look that host up in the clients.cfg file to see it should have only 1 sm_server or does it look at all the PROC directives first and then look at the host?
Mostly it's the second way you describe, but it's actually a two-step process.
hobbitd_client parses the hobbit-clients.cfg file, and stores it in
an internal data-structure - really just a linked list with a parsed
copy of the rules. I.e. there are the strings or regular expressions
to match hostnames/testnames etc against, the thresholds and so on. At
this point, there is no relation to any particular host, it's just a
list of the rules in hobbit-clients.cfg.
When a client message arrives, the rule-list is scanned for PROC rules
that match the particulars for this host, and each line in the "ps"
output is tested against the process-name that the rule is about.
While doing this, it merely counts how many matches are found in the
"ps" output for each of the relevant PROC rules. So one line from the
ps output can add a count to several PROC rules, not just one.
Finally, all of the relevant PROC rules are examined, and the actual
process count is compared to the thresholds listed in the rule. Based on
this, the "procs" status color is decided, and the "procs" status text
is generated with info about the rules that failed or succeeded.
So in your example, it would first count the number of "sm_server"
processes, and both of the PROC rules would get a count of 5 active
processes matching the rule. So when the "procs" status is generated,
you should actually see two rules listed as "red" - one saying that
hobbit found 5 sm_server processes while expecting just 1, and the
other saying it found 5 sm_server processes while expecting only 2.
So the problem with your proposal is that by the time the final step
happens - when hobbit goes through all of the PROC rules to see which
ones has the right count of active processes - by then any association
with a specific process name has been lost. So there is no way that
Hobbit knows that one rule comes before another, and relates to the
same process. In your example configuration, they both happen to
look for an "sm_server" process; we *could* choose to make this special
setup for rules that look for the exact same processname. But what if
you wrote the rules as
HOST=bla
PROC %[st]m_server 1 1
HOST=bla
PROC sm_server 2 2
and there is 1 sm_server processes active ? The two patterns are
different, so how can hobbit tell that it should use the first one
and ignore the second one ? And what should it do if there is a
tm_server process running ? Use only the first rule and ignore the
second?
Great product by the way.
After all :-)) Thanks, Henrik
list Thomas Pedersen
Hi ! I am having a hard time configuring any check on my 4.2.p1 system. Anyway I turn it I can never get more hosts to match the same HOST definition even if I have to servers called server1 and server2 I put a HOST=%host*.domain.com but it will not match. Only way is to make HOST=server1.domain.com and HOST=server2.domain.com How can this be ? its a very simple setup. Anyway I am configuring a new host with PROC settings but I can never get the web page to display my settings. Should hobbit be restarted completly after changing the hobbit-clients.cfg filer ? how can I test the file settings ? BR Thomas
list Henrik Størner
▸
On Fri, Aug 25, 2006 at 09:11:54AM +0200, Thomas wrote:
Anyway I turn it I can never get more hosts to match the same HOST definition even if I have to servers called server1 and server2 I put a HOST=%host*.domain.com but it will not match.
Nope, that one will match "hos.domain.com", "host.domain.com", "hostt.domain.com", "hosttttttttttttttt.domain.com" etc. What you're after is HOST=%host.*.domain.com .
Anyway I am configuring a new host with PROC settings but I can never get the web page to display my settings. Should hobbit be restarted completly after changing the hobbit-clients.cfg filer ?
No, the hobbitd_client module will reload the config regularly, every 10 minutes. Or you can do a "kill -HUP <pid of hobbitd_client>" to force the config reload. After the config has reloaded, the new settings will show up when the client next reports to the server.
how can I test the file settings ?
Try setting them to something that should cause a yellow or red status. Henrik
list Greg L Hubbard
Just curious -- in other regex implementations you have to "escape" the dot if you want it to match a literal period (dot) instead of any character. Does PCRE work the same way? I am always getting bit by this when I am trying to match IP addresses and domain names... So would HOST=%host.*.domain.com match both host.somewhere.domain.com as well as host.adomain-com.somewhere-else.com ? Of course, in hobbit-alerts we know what our host names are going to look like -- a simpler problem to solve than when trying to match freeform text originating who-knows-where... GLH
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, August 25, 2006 2:50 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-clients.cfg
On Fri, Aug 25, 2006 at 09:11:54AM +0200, Thomas wrote:
Anyway I turn it I can never get more hosts to match the same HOST definition even if I have to servers called server1 and server2 I put a HOST=%host*.domain.com but it will not match.
Nope, that one will match "hos.domain.com", "host.domain.com", "hostt.domain.com", "hosttttttttttttttt.domain.com" etc. What you're after is HOST=%host.*.domain.com .
Anyway I am configuring a new host with PROC settings but I can never get the web page to display my settings. Should hobbit be restarted completly after changing the hobbit-clients.cfg filer ?
No, the hobbitd_client module will reload the config regularly, every 10 minutes. Or you can do a "kill -HUP <pid of hobbitd_client>" to force the config reload. After the config has reloaded, the new settings will show up when the client next reports to the server.
how can I test the file settings ?
Try setting them to something that should cause a yellow or red status. Henrik
list Werner Gmail Lists
Greg,
▸
Just curious -- in other regex implementations you have to "escape" the dot if you want it to match a literal period (dot) instead of any character. Does PCRE work the same way? I am always getting bit by this when I am trying to match IP addresses and domain names...
Ya you have to escape it if you wanna be sure it's a "DOT". You can try
it with pcretest on your shell
[root at hera ~/netdisco]# pcretest
PCRE version 4.5 01-December-2003
re> /\d\.\d.\d/
data> 1.234
0: 1.234
data> 123.4
No match
data> 1.2.3
0: 1.2.3
data> 12345
No match
So you can see that "\." will match exactly a DOT not any other
character as "." will do.
-Werner
list Robert Manocchia
I have the hobbit client running on HPUX 11.11 and I can see three tests
(conn, info, and trends). I have added the following to the
hobbit-clients.cfg file on the server.
HOST=dione.namerica.idexxi.com
UP 1h
LOAD 2.8 4.0
DISK * 85 95
Which appears before the defaults keyword.
I restarted both the server and the client but still do not see the UP LOAD
and DISK columns.
Any ideas on what I'm doing wrong?
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
list Rich Smrcina
Is that the exact host name specified in bb-hosts or is it shortened to 'dione'? Check the ghosts report to see if it appears there.
▸
Manocchia, Robert wrote:I have the hobbit client running on HPUX 11.11 and I can see three tests (conn, info, and trends). I have added the following to the hobbit-clients.cfg file on the server.
HOST=dione.namerica.idexxi.com
UP 1h
LOAD 2.8 4.0
DISK * 85 95
Which appears before the defaults keyword.
I restarted both the server and the client but still do not see the UP LOAD and DISK columns.
Any ideas on what I’m doing wrong?
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
--
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 2008 - Chattanooga - April 18-22, 2008
list Henrik Størner
▸
On Thu, May 31, 2007 at 10:15:16PM -0400, Manocchia, Robert wrote:
I have the hobbit client running on HPUX 11.11 and I can see three tests
(conn, info, and trends). I have added the following to the
hobbit-clients.cfg file on the server.
HOST=dione.namerica.idexxi.com
UP 1h
LOAD 2.8 4.0
DISK * 85 95
Which appears before the defaults keyword.
I restarted both the server and the client but still do not see the UP LOAD
and DISK columns.Sounds like you haven't got the Hobbit client running on that server, or at least - it isn't reporting into Hobbit with the right hostname. Check the "Reports->Ghost clients" report and see if your host is listed there - it will be, if the client uses a different hostname than what you have in bb-hosts. In that case, put a CLIENT:clientname entry in bb-hosts so Hobbit knows how to connect the two names. If it's not in the Ghost client list, then you must check if the client is running at all, and if it can connect to the Hobbit server to send data (from the client, run "telnet HOBBITHOST 1984" and see if it will connect). BTW, there won't be an UP or LOAD column - these data are presented as part of the "cpu" status. And there's no need to restart anything when changing this configuration. Regards, Henrik
list Greg L Hubbard
You won't see columns for this. The UP test is in the cpu column, along with LOAD. DISK is in, well, the disks column. In any case, what you report shows that your HP agent is not communicating with the Hobbit server. Look at the ghosts report.
▸
From: Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid]
Sent: Thursday, May 31, 2007 9:15 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: [hobbit] hobbit-clients.cfg
I have the hobbit client running on HPUX 11.11 and I can see
three tests (conn, info, and trends). I have added the following to the
hobbit-clients.cfg file on the server.
HOST=dione.namerica.idexxi.com
UP 1h
LOAD 2.8 4.0
DISK * 85 95
Which appears before the defaults keyword.
I restarted both the server and the client but still do not see
the UP LOAD and DISK columns.
Any ideas on what I'm doing wrong?
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
list Robert Manocchia
I confirmed that there were no hosts listed in the Ghost clients report. I also checked twice that the client was running and I was able to telnet to <Hobbitserver> 1984. Is there anything else I can check.
▸
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, June 01, 2007 1:40 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-clients.cfg
On Thu, May 31, 2007 at 10:15:16PM -0400, Manocchia, Robert wrote:I have the hobbit client running on HPUX 11.11 and I can see three tests
(conn, info, and trends). I have added the following to the
hobbit-clients.cfg file on the server.
HOST=dione.namerica.idexxi.com
UP 1h
LOAD 2.8 4.0
DISK * 85 95
Which appears before the defaults keyword.
I restarted both the server and the client but still do not see the UPLOAD
and DISK columns.
Sounds like you haven't got the Hobbit client running on that server, or at least - it isn't reporting into Hobbit with the right hostname. Check the "Reports->Ghost clients" report and see if your host is listed there - it will be, if the client uses a different hostname than what you have in bb-hosts. In that case, put a CLIENT:clientname entry in bb-hosts so Hobbit knows how to connect the two names. If it's not in the Ghost client list, then you must check if the client is running at all, and if it can connect to the Hobbit server to send data (from the client, run "telnet HOBBITHOST 1984" and see if it will connect). BTW, there won't be an UP or LOAD column - these data are presented as part of the "cpu" status. And there's no need to restart anything when changing this configuration. Regards, Henrik
list Rich Smrcina
Check the log file on the client for any errors. Verify that the host name on the client is the same as that defined in bb-hosts.
▸
Manocchia, Robert wrote:I confirmed that there were no hosts listed in the Ghost clients report. I also checked twice that the client was running and I was able to telnet to <Hobbitserver> 1984. Is there anything else I can check. Robert Manocchia UNIX System Administrator IDEXX Laboratories XXX XXX-XXXX EMail user-615a9b935f98@xymon.invalid -----Original Message----- From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Friday, June 01, 2007 1:40 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] hobbit-clients.cfg On Thu, May 31, 2007 at 10:15:16PM -0400, Manocchia, Robert wrote:I have the hobbit client running on HPUX 11.11 and I can see three tests (conn, info, and trends). I have added the following to the hobbit-clients.cfg file on the server. HOST=dione.namerica.idexxi.com UP 1h LOAD 2.8 4.0 DISK * 85 95 Which appears before the defaults keyword. I restarted both the server and the client but still do not see the UPLOADand DISK columns.Sounds like you haven't got the Hobbit client running on that server, or at least - it isn't reporting into Hobbit with the right hostname. Check the "Reports->Ghost clients" report and see if your host is listed there - it will be, if the client uses a different hostname than what you have in bb-hosts. In that case, put a CLIENT:clientname entry in bb-hosts so Hobbit knows how to connect the two names. If it's not in the Ghost client list, then you must check if the client is running at all, and if it can connect to the Hobbit server to send data (from the client, run "telnet HOBBITHOST 1984" and see if it will connect). BTW, there won't be an UP or LOAD column - these data are presented as part of the "cpu" status. And there's no need to restart anything when changing this configuration. Regards, Henrik
-- 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 2008 - Chattanooga - April 18-22, 2008
list Greg L Hubbard
Hobbit debugging 101 commences, I guess. There should be some log files in client/log -- look them over. There aren't many. How many hosts are there in your bb-hosts? Could this system have been given the wrong name or something like that? You also might look at the server logs too. I am not much of a Hobbit expert, but others on the list are... GLH
▸
-----Original Message-----
From: Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid]
Sent: Friday, June 01, 2007 9:22 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] hobbit-clients.cfg
I confirmed that there were no hosts listed in the Ghost clients report.
I also checked twice that the client was running and I was able to
telnet to <Hobbitserver> 1984.
Is there anything else I can check.
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, June 01, 2007 1:40 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-clients.cfg
On Thu, May 31, 2007 at 10:15:16PM -0400, Manocchia, Robert wrote:I have the hobbit client running on HPUX 11.11 and I can see three
tests (conn, info, and trends). I have added the following to the
hobbit-clients.cfg file on the server.
HOST=dione.namerica.idexxi.com
UP 1h
LOAD 2.8 4.0
DISK * 85 95
Which appears before the defaults keyword.
I restarted both the server and the client but still do not see the UPLOAD
and DISK columns.
Sounds like you haven't got the Hobbit client running on that server, or at least - it isn't reporting into Hobbit with the right hostname. Check the "Reports->Ghost clients" report and see if your host is listed there - it will be, if the client uses a different hostname than what you have in bb-hosts. In that case, put a CLIENT:clientname entry in bb-hosts so Hobbit knows how to connect the two names. If it's not in the Ghost client list, then you must check if the client is running at all, and if it can connect to the Hobbit server to send data (from the client, run "telnet HOBBITHOST 1984" and see if it will connect). BTW, there won't be an UP or LOAD column - these data are presented as part of the "cpu" status. And there's no need to restart anything when changing this configuration. Regards, Henrik
list Robert Manocchia
Here is a list of the log files on the client along with their location. There is nothing but Hobbit launch info in the clientlaunch.log file and nothing in the other one. /usr/local/libexec/hobbit/client/logs > ll total 32 -rw------- 1 root sys 484 Jun 1 10:19 clientlaunch.log -rw------- 1 root sys 6 Jun 1 10:19 clientlaunch.pid -rw------- 1 root sys 0 May 31 18:21 hobbitclient.log There are just two hosts in the bb-hosts file, this one and the server. They are correct. I checked the syslog and see a number of these messages from just this morning. May 29 08:16:53 dione bootpd[5656]: Option 43: Client specified unacceptable option length (81 octets)
▸
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
▸
From: Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid]
Sent: Friday, June 01, 2007 10:33 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] hobbit-clients.cfg
Hobbit debugging 101 commences, I guess. There should be some log files
in client/log -- look them over. There aren't many.
How many hosts are there in your bb-hosts? Could this system have been
given the wrong name or something like that? You also might look at the
server logs too.
I am not much of a Hobbit expert, but others on the list are...
GLH
-----Original Message-----
From: Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid]
Sent: Friday, June 01, 2007 9:22 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] hobbit-clients.cfg
I confirmed that there were no hosts listed in the Ghost clients report.
I also checked twice that the client was running and I was able to
telnet to <Hobbitserver> 1984.
Is there anything else I can check.
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, June 01, 2007 1:40 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-clients.cfg
On Thu, May 31, 2007 at 10:15:16PM -0400, Manocchia, Robert wrote:I have the hobbit client running on HPUX 11.11 and I can see three
tests (conn, info, and trends). I have added the following to the
hobbit-clients.cfg file on the server.
HOST=dione.namerica.idexxi.com
UP 1h
LOAD 2.8 4.0
DISK * 85 95
Which appears before the defaults keyword.
I restarted both the server and the client but still do not see the UPLOAD
and DISK columns.
Sounds like you haven't got the Hobbit client running on that server, or at least - it isn't reporting into Hobbit with the right hostname. Check the "Reports->Ghost clients" report and see if your host is listed there - it will be, if the client uses a different hostname than what you have in bb-hosts. In that case, put a CLIENT:clientname entry in bb-hosts so Hobbit knows how to connect the two names. If it's not in the Ghost client list, then you must check if the client is running at all, and if it can connect to the Hobbit server to send data (from the client, run "telnet HOBBITHOST 1984" and see if it will connect). BTW, there won't be an UP or LOAD column - these data are presented as part of the "cpu" status. And there's no need to restart anything when changing this configuration. Regards, Henrik
list Greg L Hubbard
The syslog messages are from bootpd. Does this client use DHCP or something to get an IP address? Why are you running hobbit as root? It is supposed to be run as a non-privileged user on the client. I don't know that that would make much difference, other than the root user may not have the right environment variables defined. The hobbitclient.log is where you would expect to see messages about communications problems.
▸
-----Original Message-----
From: Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid]
Sent: Friday, June 01, 2007 9:41 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] hobbit-clients.cfg
Here is a list of the log files on the client along with their location.
There is nothing but Hobbit launch info in the clientlaunch.log file and
nothing in the other one.
/usr/local/libexec/hobbit/client/logs > ll total 32
-rw------- 1 root sys 484 Jun 1 10:19
clientlaunch.log
-rw------- 1 root sys 6 Jun 1 10:19
clientlaunch.pid
-rw------- 1 root sys 0 May 31 18:21
hobbitclient.log
There are just two hosts in the bb-hosts file, this one and the server.
They are correct.
I checked the syslog and see a number of these messages from just this
morning.
May 29 08:16:53 dione bootpd[5656]: Option 43: Client specified
unacceptable option length (81 octets)
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
From: Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid]
Sent: Friday, June 01, 2007 10:33 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] hobbit-clients.cfg
Hobbit debugging 101 commences, I guess. There should be some log files
in client/log -- look them over. There aren't many.
How many hosts are there in your bb-hosts? Could this system have been
given the wrong name or something like that? You also might look at the
server logs too.
I am not much of a Hobbit expert, but others on the list are...
GLH
-----Original Message-----
From: Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid]
Sent: Friday, June 01, 2007 9:22 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] hobbit-clients.cfg
I confirmed that there were no hosts listed in the Ghost clients report.
I also checked twice that the client was running and I was able to
telnet to <Hobbitserver> 1984.
Is there anything else I can check.
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, June 01, 2007 1:40 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-clients.cfg
On Thu, May 31, 2007 at 10:15:16PM -0400, Manocchia, Robert wrote:I have the hobbit client running on HPUX 11.11 and I can see three
tests (conn, info, and trends). I have added the following to the
hobbit-clients.cfg file on the server.
HOST=dione.namerica.idexxi.com
UP 1h
LOAD 2.8 4.0
DISK * 85 95
Which appears before the defaults keyword.
I restarted both the server and the client but still do not see the UPLOAD
and DISK columns.
Sounds like you haven't got the Hobbit client running on that server, or at least - it isn't reporting into Hobbit with the right hostname. Check the "Reports->Ghost clients" report and see if your host is listed there - it will be, if the client uses a different hostname than what you have in bb-hosts. In that case, put a CLIENT:clientname entry in bb-hosts so Hobbit knows how to connect the two names. If it's not in the Ghost client list, then you must check if the client is running at all, and if it can connect to the Hobbit server to send data (from the client, run "telnet HOBBITHOST 1984" and see if it will connect). BTW, there won't be an UP or LOAD column - these data are presented as part of the "cpu" status. And there's no need to restart anything when changing this configuration. Regards, Henrik
list Hobbit User
▸
On Fri, June 1, 2007 10:41, Manocchia, Robert wrote:
Here is a list of the log files on the client along with their location. There is nothing but Hobbit launch info in the clientlaunch.log file and nothing in the other one.
And you do have HOBBITSERVERS set in the hobbit-clients file or wherever it gets done in the hp-ux client?
▸
/usr/local/libexec/hobbit/client/logs > ll total 32 -rw------- 1 root sys 484 Jun 1 10:19 clientlaunch.log -rw------- 1 root sys 6 Jun 1 10:19 clientlaunch.pid -rw------- 1 root sys 0 May 31 18:21 hobbitclient.log There are just two hosts in the bb-hosts file, this one and the server. They are correct. I checked the syslog and see a number of these messages from just this morning. May 29 08:16:53 dione bootpd[5656]: Option 43: Client specified unacceptable option length (81 octets)
_bootpd_????? Definitely not a hobbit issue.
list Robert Manocchia
I cannot find the HOBBITSERVERS variable anywhere on the client.
▸
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
▸
From: Hobbit User [mailto:user-24d6f8323faa@xymon.invalid]
Sent: Friday, June 01, 2007 10:58 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] hobbit-clients.cfg
On Fri, June 1, 2007 10:41, Manocchia, Robert wrote:Here is a list of the log files on the client along with their location. There is nothing but Hobbit launch info in the clientlaunch.log file and nothing in the other one.
And you do have HOBBITSERVERS set in the hobbit-clients file or wherever it gets done in the hp-ux client?
/usr/local/libexec/hobbit/client/logs > ll total 32 -rw------- 1 root sys 484 Jun 1 10:19 clientlaunch.log -rw------- 1 root sys 6 Jun 1 10:19 clientlaunch.pid -rw------- 1 root sys 0 May 31 18:21 hobbitclient.log There are just two hosts in the bb-hosts file, this one and the server. They are correct. I checked the syslog and see a number of these messages from just this morning. May 29 08:16:53 dione bootpd[5656]: Option 43: Client specified unacceptable option length (81 octets)
_bootpd_????? Definitely not a hobbit issue.
list Daniel J McDonald
On Fri, 2007-06-01 at 11:09 -0400, Manocchia, Robert wrote:
I cannot find the HOBBITSERVERS variable anywhere on the client.
read the startup file to get a hint where it might have been put:
On my platform, in /etc/init.d/hobbit-client, I have:
# Include hobbit-client defaults if available
DMNOPTS=""
if [ -f /etc/sysconfig/hobbit-client ] ; then
. /etc/sysconfig/hobbit-client
else
echo "Installation failure -
missing /etc/sysconfig/hobbit-client"
exit 1
fi
if [ "$HOBBITSERVERS" = "" ]; then
echo "Please configure HOBBITSERVERS
in /etc/sysconfig/hobbit-client"
exit 1
fi
Thus /etc/sysconfig/hobbit-client is the file I have to edit on my
Mandriva systems. For SLES it was something different, but the startup
file told us where to find it.
--
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
Austin Energy
http://www.austinenergy.com
list Hobbit User
It's in /etc/default/hobbit-client on Linux clients, dunno where they might have stashed it on hp-ux. Do post if you find out, that's my next platform after I work out a repeatable, scriptable Linux client setup.
▸
On Fri, June 1, 2007 11:09, Manocchia, Robert wrote:I cannot find the HOBBITSERVERS variable anywhere on the client. Robert Manocchia UNIX System Administrator IDEXX Laboratories XXX XXX-XXXX EMail user-615a9b935f98@xymon.invalid -----Original Message----- From: Hobbit User [mailto:user-24d6f8323faa@xymon.invalid] Sent: Friday, June 01, 2007 10:58 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] hobbit-clients.cfg On Fri, June 1, 2007 10:41, Manocchia, Robert wrote:Here is a list of the log files on the client along with their location. There is nothing but Hobbit launch info in the clientlaunch.log file and nothing in the other one.And you do have HOBBITSERVERS set in the hobbit-clients file or wherever it gets done in the hp-ux client?/usr/local/libexec/hobbit/client/logs > ll total 32 -rw------- 1 root sys 484 Jun 1 10:19 clientlaunch.log -rw------- 1 root sys 6 Jun 1 10:19 clientlaunch.pid -rw------- 1 root sys 0 May 31 18:21 hobbitclient.log There are just two hosts in the bb-hosts file, this one and the server. They are correct. I checked the syslog and see a number of these messages from just this morning. May 29 08:16:53 dione bootpd[5656]: Option 43: Client specified unacceptable option length (81 octets)_bootpd_????? Definitely not a hobbit issue.
list Dave Haertig
▸
On Fri, 2007-06-01 at 11:09 -0400, Manocchia, Robert wrote:
I cannot find the HOBBITSERVERS variable anywhere on the client.
A general technique (not Hobbit-specific) that can help you trace things down later can be used when building an app: ./configure 2>&1 | tee configure.out make 2>&1 | tee make.out make test 2>&1 | tee make-test.out make install 2>&1 | tee make-install.out Those *.out files often times yield many clues...
list Robert Manocchia
I set it to the ip address of the hobbit server and restarted the client. Still nothing.
▸
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
▸
From: Hobbit User [mailto:user-24d6f8323faa@xymon.invalid]
Sent: Friday, June 01, 2007 11:19 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] hobbit-clients.cfg
It's in /etc/default/hobbit-client on Linux clients, dunno where they
might have stashed it on hp-ux. Do post if you find out, that's my next
platform after I work out a repeatable, scriptable Linux client setup.
On Fri, June 1, 2007 11:09, Manocchia, Robert wrote:I cannot find the HOBBITSERVERS variable anywhere on the client. Robert Manocchia UNIX System Administrator IDEXX Laboratories XXX XXX-XXXX EMail user-615a9b935f98@xymon.invalid -----Original Message----- From: Hobbit User [mailto:user-24d6f8323faa@xymon.invalid] Sent: Friday, June 01, 2007 10:58 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] hobbit-clients.cfg On Fri, June 1, 2007 10:41, Manocchia, Robert wrote:Here is a list of the log files on the client along with their location. There is nothing but Hobbit launch info in the clientlaunch.log file and nothing in the other one.And you do have HOBBITSERVERS set in the hobbit-clients file or wherever it gets done in the hp-ux client?/usr/local/libexec/hobbit/client/logs > ll total 32 -rw------- 1 root sys 484 Jun 1 10:19 clientlaunch.log -rw------- 1 root sys 6 Jun 1 10:19 clientlaunch.pid -rw------- 1 root sys 0 May 31 18:21 hobbitclient.log There are just two hosts in the bb-hosts file, this one and the server. They are correct. I checked the syslog and see a number of these messages from just this morning. May 29 08:16:53 dione bootpd[5656]: Option 43: Client specified unacceptable option length (81 octets)_bootpd_????? Definitely not a hobbit issue.
list Hobbit User
And where was it, just for my gratification?
▸
On Fri, June 1, 2007 11:30, Manocchia, Robert wrote:I set it to the ip address of the hobbit server and restarted the client. Still nothing. Robert Manocchia UNIX System Administrator IDEXX Laboratories XXX XXX-XXXX EMail user-615a9b935f98@xymon.invalid -----Original Message----- From: Hobbit User [mailto:user-24d6f8323faa@xymon.invalid] Sent: Friday, June 01, 2007 11:19 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] hobbit-clients.cfg It's in /etc/default/hobbit-client on Linux clients, dunno where they might have stashed it on hp-ux. Do post if you find out, that's my next platform after I work out a repeatable, scriptable Linux client setup. On Fri, June 1, 2007 11:09, Manocchia, Robert wrote:I cannot find the HOBBITSERVERS variable anywhere on the client. Robert Manocchia UNIX System Administrator IDEXX Laboratories XXX XXX-XXXX EMail user-615a9b935f98@xymon.invalid -----Original Message----- From: Hobbit User [mailto:user-24d6f8323faa@xymon.invalid] Sent: Friday, June 01, 2007 10:58 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] hobbit-clients.cfg On Fri, June 1, 2007 10:41, Manocchia, Robert wrote:Here is a list of the log files on the client along with their location. There is nothing but Hobbit launch info in the clientlaunch.log file and nothing in the other one.And you do have HOBBITSERVERS set in the hobbit-clients file or wherever it gets done in the hp-ux client?/usr/local/libexec/hobbit/client/logs > ll total 32 -rw------- 1 root sys 484 Jun 1 10:19 clientlaunch.log -rw------- 1 root sys 6 Jun 1 10:19 clientlaunch.pid -rw------- 1 root sys 0 May 31 18:21 hobbitclient.log There are just two hosts in the bb-hosts file, this one and the server. They are correct. I checked the syslog and see a number of these messages from just this morning. May 29 08:16:53 dione bootpd[5656]: Option 43: Client specified unacceptable option length (81 octets)_bootpd_????? Definitely not a hobbit issue.
list Robert Manocchia
/etc/rc.config.d. Good luck getting hobbit working on HPUX it is a bear.
▸
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
▸
From: Hobbit User [mailto:user-24d6f8323faa@xymon.invalid]
Sent: Friday, June 01, 2007 11:48 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] hobbit-clients.cfg
And where was it, just for my gratification?
On Fri, June 1, 2007 11:30, Manocchia, Robert wrote:I set it to the ip address of the hobbit server and restarted the client. Still nothing. Robert Manocchia UNIX System Administrator IDEXX Laboratories XXX XXX-XXXX EMail user-615a9b935f98@xymon.invalid -----Original Message----- From: Hobbit User [mailto:user-24d6f8323faa@xymon.invalid] Sent: Friday, June 01, 2007 11:19 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] hobbit-clients.cfg It's in /etc/default/hobbit-client on Linux clients, dunno where they might have stashed it on hp-ux. Do post if you find out, that's my next platform after I work out a repeatable, scriptable Linux client setup. On Fri, June 1, 2007 11:09, Manocchia, Robert wrote:I cannot find the HOBBITSERVERS variable anywhere on the client. Robert Manocchia UNIX System Administrator IDEXX Laboratories XXX XXX-XXXX EMail user-615a9b935f98@xymon.invalid -----Original Message----- From: Hobbit User [mailto:user-24d6f8323faa@xymon.invalid] Sent: Friday, June 01, 2007 10:58 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] hobbit-clients.cfg On Fri, June 1, 2007 10:41, Manocchia, Robert wrote:Here is a list of the log files on the client along with their location. There is nothing but Hobbit launch info in the clientlaunch.log file and nothing in the other one.And you do have HOBBITSERVERS set in the hobbit-clients file or wherever it gets done in the hp-ux client?/usr/local/libexec/hobbit/client/logs > ll total 32 -rw------- 1 root sys 484 Jun 1 10:19 clientlaunch.log -rw------- 1 root sys 6 Jun 1 10:19 clientlaunch.pid -rw------- 1 root sys 0 May 31 18:21 hobbitclient.log There are just two hosts in the bb-hosts file, this one and the server. They are correct. I checked the syslog and see a number of these messages from just this morning. May 29 08:16:53 dione bootpd[5656]: Option 43: Client specified unacceptable option length (81 octets)_bootpd_????? Definitely not a hobbit issue.
list Hobbit User
On Fri, June 1, 2007 12:38, Manocchia, Robert wrote concerning where he set the HOBBITSERVERS variable in hp-ux:
/etc/rc.config.d. Good luck getting hobbit working on HPUX it is a bear.
That's a directory. File name hobbit-client maybe? They hard-coded it into the init script for this platform?
list Robert Manocchia
Full path /etc/rc.config.d/hobbit-client. The startup script is /sbin/init.d/hobbit-client. Hope this helps.
▸
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
▸
From: Hobbit User [mailto:user-24d6f8323faa@xymon.invalid]
Sent: Friday, June 01, 2007 1:36 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] hobbit-clients.cfg
On Fri, June 1, 2007 12:38, Manocchia, Robert wrote concerning where he
set the HOBBITSERVERS variable in hp-ux:/etc/rc.config.d. Good luck getting hobbit working on HPUX it is a bear.
That's a directory. File name hobbit-client maybe? They hard-coded it into the init script for this platform?
list Hobbit User
On Fri, June 1, 2007 13:40, Manocchia, Robert wrote:
Full path /etc/rc.config.d/hobbit-client. The startup script is /sbin/init.d/hobbit-client.
Duh. That's where it belongs. Too many recycled brain cells after 23 continuous years of this....
list Robert Manocchia
Yeah. Tell me about it. I've been in IT doing various things since 1979.
▸
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
▸
From: Hobbit User [mailto:user-24d6f8323faa@xymon.invalid]
Sent: Friday, June 01, 2007 1:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] hobbit-clients.cfg
On Fri, June 1, 2007 13:40, Manocchia, Robert wrote:Full path /etc/rc.config.d/hobbit-client. The startup script is /sbin/init.d/hobbit-client.
Duh. That's where it belongs. Too many recycled brain cells after 23 continuous years of this....
list Henrik Størner
▸
On Fri, Jun 01, 2007 at 10:22:19AM -0400, Manocchia, Robert wrote:
I confirmed that there were no hosts listed in the Ghost clients report. I also checked twice that the client was running and I was able to telnet to <Hobbitserver> 1984. Is there anything else I can check.
In the client/tmp/ directory, there should be a "msg.HOSTNAME.txt" file, which the client generates before sending it off to the Hobbit server. Show us the first few lines of that file, please. Regards, Henrik
list Robert Manocchia
Here are the first 10 lines of a file called /usr/local/libexec/hobbit/client/tmp/msg.txt client dione.hp-ux [date] Fri Jun 1 15:45:26 EDT 2007 [uname] HP-UX dione B.11.11 U 9000/785 2006733956 unlimited-user license [uptime] 3:45pm up 45 days, 7:27, 2 users, load average: 2.25, 2.31, 2.46 [who] root console Apr 17 08:23 root pts/1 Jun 1 15:15
▸
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
▸
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, June 01, 2007 3:39 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-clients.cfg
On Fri, Jun 01, 2007 at 10:22:19AM -0400, Manocchia, Robert wrote:I confirmed that there were no hosts listed in the Ghost clients report. I also checked twice that the client was running and I was able to telnet to <Hobbitserver> 1984. Is there anything else I can check.
In the client/tmp/ directory, there should be a "msg.HOSTNAME.txt" file, which the client generates before sending it off to the Hobbit server. Show us the first few lines of that file, please. Regards, Henrik
list Henrik Størner
▸
On Fri, Jun 01, 2007 at 03:46:49PM -0400, Manocchia, Robert wrote:
Here are the first 10 lines of a file called /usr/local/libexec/hobbit/client/tmp/msg.txt client dione.hp-ux
I had actually expected to see a file called "msg.dione.txt". OK, do you have the host listed as "dione" in bb-hosts ? If you fetch the URL http://YOURHOBBITSERVER/hobbit-cgi/bb-hostsvc.sh?CLIENT=dione does that present these data in your browser? Regards, Henrik
list Robert Manocchia
I have the host listed in bb-hosts with the fully qualified domain name. And when I try accessing the page and I only get the message no data.
▸
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
▸
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, June 01, 2007 4:04 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-clients.cfg
On Fri, Jun 01, 2007 at 03:46:49PM -0400, Manocchia, Robert wrote:Here are the first 10 lines of a file called /usr/local/libexec/hobbit/client/tmp/msg.txt client dione.hp-ux
I had actually expected to see a file called "msg.dione.txt". OK, do you have the host listed as "dione" in bb-hosts ? If you fetch the URL http://YOURHOBBITSERVER/hobbit-cgi/bb-hostsvc.sh?CLIENT=dione does that present these data in your browser? Regards, Henrik
list Henrik Størner
▸
On Fri, Jun 01, 2007 at 04:08:39PM -0400, Manocchia, Robert wrote:
I have the host listed in bb-hosts with the fully qualified domain name. And when I try accessing the page and I only get the message no data.
Try adding a CLIENT tag in bb-hosts. Like 10.0.0.1 dione.my.domain # CLIENT:dione ... anything else ... Then wait 10 minutes for hobbitd to pick up the new bb-hosts file, and the client to send in the data. Or (if you're impatient): Find the "hobbitd" process-ID and do a "kill -HUP <pid>" on the Hobbit server to force a bb-hosts reload, and after that on the "dione" server you run "bb HOBBITSERVERIP '@' < /usr/local/libexec/hobbit/client/tmp/msg.txt Does that help ? Regards, Henrik
list Robert Manocchia
Here is a copy of the line containing the dione client: 1.2.3.4 dione.namerica.idexxi.com # CLIENT:dione cpu disk ssh The hobbit screen for dione shows conn, info, ssh, and trends nothing else.
▸
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
▸
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, June 01, 2007 4:16 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-clients.cfg
On Fri, Jun 01, 2007 at 04:08:39PM -0400, Manocchia, Robert wrote:I have the host listed in bb-hosts with the fully qualified domain name.
And
when I try accessing the page and I only get the message no data.
Try adding a CLIENT tag in bb-hosts. Like 10.0.0.1 dione.my.domain # CLIENT:dione ... anything else ... Then wait 10 minutes for hobbitd to pick up the new bb-hosts file, and the client to send in the data. Or (if you're impatient): Find the "hobbitd" process-ID and do a "kill -HUP <pid>" on the Hobbit server to force a bb-hosts reload, and after that on the "dione" server you run "bb HOBBITSERVERIP '@' < /usr/local/libexec/hobbit/client/tmp/msg.txt Does that help ? Regards, Henrik
list Sello Tlabela SD
Hi, How did you start hobbit-client, did you user init script also make sure that you comment out hostname and os name in /etc/default/hobbit-client then restart using init script
▸
-----Original Message-----
From: Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid]
Sent: 01 June 2007 16:22
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] hobbit-clients.cfg
I confirmed that there were no hosts listed in the Ghost clients
report. I
also checked twice that the client was running and I was able to
telnet to
<Hobbitserver> 1984.
Is there anything else I can check.
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, June 01, 2007 1:40 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-clients.cfg
On Thu, May 31, 2007 at 10:15:16PM -0400, Manocchia, Robert wrote:I have the hobbit client running on HPUX 11.11 and I can see three
tests
(conn, info, and trends). I have added the following to the
hobbit-clients.cfg file on the server.
HOST=dione.namerica.idexxi.com
UP 1h
LOAD 2.8 4.0
DISK * 85 95
Which appears before the defaults keyword.
I restarted both the server and the client but still do not see theUP LOAD
and DISK columns.
Sounds like you haven't got the Hobbit client running on that server, or at least - it isn't reporting into Hobbit with the right hostname. Check the "Reports->Ghost clients" report and see if your host is listed there - it will be, if the client uses a different hostname than what you have in bb-hosts. In that case, put a CLIENT:clientname entry in bb-hosts so Hobbit knows how to connect the two names. If it's not in the Ghost client list, then you must check if the client is running at all, and if it can connect to the Hobbit server to send data (from the client, run "telnet HOBBITHOST 1984" and see if it will connect). BTW, there won't be an UP or LOAD column - these data are presented as part of the "cpu" status. And there's no need to restart anything when changing this configuration. Regards, Henrik ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited e-mail legal notice available at http://www.telkom.co.za/TelkomEMailLegalNotice.PDF ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list Robert Manocchia
Here is an attached copy of the hobbit client init script. This came with the hobbit depot I installed the client from.
▸
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
▸
From: Sello Tlabela (SD) [mailto:user-68d80b7df288@xymon.invalid]
Sent: Monday, June 04, 2007 1:09 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] hobbit-clients.cfg
Hi,
How did you start hobbit-client, did you user init script also make
sure that you comment out hostname and os name in
/etc/default/hobbit-client then restart using init script
-----Original Message-----
From: Manocchia, Robert [mailto:user-615a9b935f98@xymon.invalid]
Sent: 01 June 2007 16:22
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] hobbit-clients.cfg
I confirmed that there were no hosts listed in the Ghost clients
report. I
also checked twice that the client was running and I was able to
telnet to
<Hobbitserver> 1984.
Is there anything else I can check.
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, June 01, 2007 1:40 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-clients.cfg
On Thu, May 31, 2007 at 10:15:16PM -0400, Manocchia, Robert wrote:I have the hobbit client running on HPUX 11.11 and I can see three
tests
(conn, info, and trends). I have added the following to the
hobbit-clients.cfg file on the server.
HOST=dione.namerica.idexxi.com
UP 1h
LOAD 2.8 4.0
DISK * 85 95
Which appears before the defaults keyword.
I restarted both the server and the client but still do not see theUP LOAD
and DISK columns.
Sounds like you haven't got the Hobbit client running on that server, or at least - it isn't reporting into Hobbit with the right hostname. Check the "Reports->Ghost clients" report and see if your host is listed there - it will be, if the client uses a different hostname than what you have in bb-hosts. In that case, put a CLIENT:clientname entry in bb-hosts so Hobbit knows how to connect the two names. If it's not in the Ghost client list, then you must check if the client is running at all, and if it can connect to the Hobbit server to send data (from the client, run "telnet HOBBITHOST 1984" and see if it will connect). BTW, there won't be an UP or LOAD column - these data are presented as part of the "cpu" status. And there's no need to restart anything when changing this configuration. Regards, Henrik ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This e-mail and its contents are subject to the Telkom SA Limited e-mail legal notice available at http://www.telkom.co.za/TelkomEMailLegalNotice.PDF ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Attachments (1)
list Pkc_mls
▸
Manocchia, Robert a écrit :
Here is an attached copy of the hobbit client init script. This came with the hobbit depot I installed the client from.
just check that the "uname -n" matches the ame you defined in bb-hosts, ie dione.namerica.idexxi.com otherwise, just replace this line MACHINEDOTS="`uname -n`" with MACHINEDOTS="dione.namerica.idexxi.com" check also in the hobbit data dir if you have files that have "dione" in the filename.
▸
Robert Manocchia UNIX System Administrator IDEXX Laboratories XXX XXX-XXXX EMail user-615a9b935f98@xymon.invalid -----Original Message----- From: Sello Tlabela (SD) [mailto:user-68d80b7df288@xymon.invalid] Sent: Monday, June 04, 2007 1:09 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] hobbit-clients.cfg Hi, How did you start hobbit-client, did you user init script also make sure that you comment out hostname and os name in /etc/default/hobbit-client then restart using init script
list Robert Manocchia
I made the change to the config file /etc/rc.config.d/hobbit-client on the client MACHINEDOTS="dione". I then restarted the client and I can now see all the metrics (cpu, disk etc...). Thanks for the help.
▸
Robert Manocchia
UNIX System Administrator
IDEXX Laboratories
XXX XXX-XXXX
EMail user-615a9b935f98@xymon.invalid
-----Original Message-----
▸
From: pkc_mls [mailto:user-06f34394900f@xymon.invalid]
Sent: Monday, June 04, 2007 8:52 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit-clients.cfg
Manocchia, Robert a écrit :Here is an attached copy of the hobbit client init script. This came with the hobbit depot I installed the client from.
just check that the "uname -n" matches the ame you defined in bb-hosts, ie dione.namerica.idexxi.com otherwise, just replace this line MACHINEDOTS="`uname -n`" with MACHINEDOTS="dione.namerica.idexxi.com" check also in the hobbit data dir if you have files that have "dione" in the filename.
Robert Manocchia UNIX System Administrator IDEXX Laboratories XXX XXX-XXXX EMail user-615a9b935f98@xymon.invalid -----Original Message----- From: Sello Tlabela (SD) [mailto:user-68d80b7df288@xymon.invalid] Sent: Monday, June 04, 2007 1:09 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] hobbit-clients.cfg Hi, How did you start hobbit-client, did you user init script also make sure that you comment out hostname and os name in /etc/default/hobbit-client then restart using init script
list Paul Duff
Hi,
I have recently installed xymon 4.3.0.0-beta2 on Solaris 10 and everything is working good except that the hobbit-clients.cfg file seems to be ignoring DISK entries. Below is the entry that I have on the server under $xymon_home/server/etc. Have I incorrectly setup the IGNORE entries as they are still being reported on the disk page.
HOST=hostname.xx.xxxx.com
UP 1h
LOAD 5.0 10.0
DISK * 90 95
DISK /prod/CD_X86 IGNORE
DISK /etc/svc/volatile IGNORE
DISK /etc/dfs/dsftab IGNORE
FILE /serial_number SIZE>0 yellow
MEMPHYS 100 101
MEMSWAP 50 80
MEMACT 90 97
PROC cron
PROC ncftpd 3 4
PROC ssh
Regards
Paul
list Tainted Soul
Have you put that before the DEFAULT settings? Seems to only take affect if the DEFAULT ones are right at the end. eg:
▸
HOST=hostname.xx.xxxx.com
UP 1h
LOAD 5.0 10.0
DISK * 90 95
DISK /prod/CD_X86 IGNORE
DISK /etc/svc/volatile IGNORE
DISK /etc/dfs/dsftab IGNORE
FILE /serial_number SIZE>0 yellow
MEMPHYS 100 101
MEMSWAP 50 80
MEMACT 90 97
PROC cron
PROC ncftpd 3 4
PROC ssh
DEFAULT
# These are the built-in defaults.
UP 1h
LOAD 5.0 10.0
DISK * 90 95
DISK /cdrom IGNORE
MEMPHYS 100 101
MEMSWAP 75 90
MEMACT 90 97
PROC cron
PROC syslogd
PROC sshd
▸
On Fri, Jul 3, 2009 at 6:29 AM, Paul Duff <user-94a463d2e3cd@xymon.invalid> wrote:
Hi,
I have recently installed xymon 4.3.0.0-beta2 on Solaris 10 and
everything is working good except that the hobbit-clients.cfg file seems to
be ignoring DISK entries. Below is the entry that I have on the server under
$xymon_home/server/etc. Have I incorrectly setup the IGNORE entries as they
are still being reported on the disk page.
HOST=hostname.xx.xxxx.com
UP 1h
LOAD 5.0 10.0
DISK * 90 95
DISK /prod/CD_X86 IGNORE
DISK /etc/svc/volatile IGNORE
DISK /etc/dfs/dsftab IGNORE
FILE /serial_number SIZE>0 yellow
MEMPHYS 100 101
MEMSWAP 50 80
MEMACT 90 97
PROC cron
PROC ncftpd 3 4
PROC ssh
Regards
Paul
list Shailesh Paudyal
hello, I have installed new xymon-4.3.0 version, I wanted to modify the threshold as I used to on older xymon releases using file hobbit-clients.cfg, I could not locate that file in the new one. Can anyone point me to the right direction? Thank you! -- Shailesh K. Paudyal user-baeafc0cb301@xymon.invalid
list Josh Luthman
Maybe look for xymon-clients.cfg? I read 4.3.0 was a big jump in moving hobbit to xymon. Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Wed, Mar 9, 2011 at 5:55 PM, Shailesh Paudyal <user-baeafc0cb301@xymon.invalid
▸
wrote:
hello, I have installed new xymon-4.3.0 version, I wanted to modify the threshold as I used to on older xymon releases using file hobbit-clients.cfg, I could not locate that file in the new one. Can anyone point me to the right direction? Thank you! -- Shailesh K. Paudyal user-baeafc0cb301@xymon.invalid
list Henrik Størner
▸
Den 09-03-2011 23:55, Shailesh Paudyal skrev:
I have installed new xymon-4.3.0 version, I wanted to modify the threshold as I used to on older xymon releases using file hobbit-clients.cfg, I could not locate that file in the new one. Can anyone point me to the right direction?
Most of the config files and binaries were renamed in 4.3.0. See the docs/Renaming-430.txt for a list of the old and new names. (The file you're after is now called "analysis.cfg"). Regards, Henrik
list Vernon Everett
Hi Henrik
How does this effect existing scripts, like then ones on Xymonton?
Will these need an upgrade?
Regards
Vernon
▸
On Thu, Mar 10, 2011 at 2:28 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
Den 09-03-2011 23:55, Shailesh Paudyal skrev: I have installed new xymon-4.3.0 version, I wanted to modify thethreshold as I used to on older xymon releases using file hobbit-clients.cfg, I could not locate that file in the new one. Can anyone point me to the right direction?Most of the config files and binaries were renamed in 4.3.0. See the docs/Renaming-430.txt for a list of the old and new names. (The file you're after is now called "analysis.cfg"). Regards, Henrik
list Henrik Størner
▸
On 10-03-2011 07:56, Vernon Everett wrote:
How does this effect existing scripts, like then ones on Xymonton? Will these need an upgrade?
If they access the configuration files directly, then yes - they will need updating. But I don't know if any of them access the config files directly - the scripts I know of use the "bbhostgrep" utility to pick out hosts from the bb-hosts (now: hosts.cfg) file, and that will still work. bbhostgrep was also renamed, but a symlink is setup during installation to handle this. Regards, Henrik