[hobbit] External scripts not working the same?

Jason Chambers Jason.Chambers at geosoft.com
Tue Oct 25 19:10:16 CEST 2005


Most scripts I've seen on deadcat.net will parse for the test you called
for then run it. Thankfully hobbit comes with a nifty little util that
will return hosts/ips that have that test name for you. All you have to
do then is have a script run through a loop with that list and test them
all.

I can't remember what that util is called, but I read it in the manuals
somewhere.

Jason Chambers
IT Helpdesk Support
Geosoft Inc.
85 Richmond St. West - 8th Floor
Toronto, Ontario, Canada
M5H 2C9
Tel: 416-369-0111 x344
Fax: 416-369-9599
www.geosoft.com
 
 

-----Original Message-----
From: Stewart_Larsen at doh.state.fl.us
[mailto:Stewart_Larsen at doh.state.fl.us] 
Sent: Tuesday, October 25, 2005 1:03 PM
To: hobbit at hswn.dk
Subject: RE: [hobbit] External scripts not working the same?

It is not doing that right now.  I could easily rewrite it to do so, but
that is not the ideal solution.

Basically, you pass it an IP address, it performs the tests and calls bb
to send the status to the server.

Stewart 

-----Original Message-----
From: Jason Chambers [mailto:Jason.Chambers at geosoft.com] 
Sent: Tuesday, October 25, 2005 12:57 PM
To: hobbit at hswn.dk
Subject: RE: [hobbit] External scripts not working the same?

Correct me if I'm wrong, but shouldn't your script be parsing the
bb-hosts file for the router_test tag? If that's the case, then it
should run fine. Unless you are statically defining your tests.

Jason Chambers
IT Helpdesk Support
Geosoft Inc.
85 Richmond St. West - 8th Floor
Toronto, Ontario, Canada
M5H 2C9
Tel: 416-369-0111 x344
Fax: 416-369-9599
www.geosoft.com
 
 
-----Original Message-----
From: Stewart_Larsen at doh.state.fl.us
[mailto:Stewart_Larsen at doh.state.fl.us] 
Sent: Tuesday, October 25, 2005 12:51 PM
To: hobbit at hswn.dk
Subject: [hobbit] External scripts not working the same?

Greetings, 

We are looking at migrating from BB to Hobbit. One major stumbling block
right now is that we have over 400 devices on the network right now that
we monitor via SNMP.  Firewalls, Routers, proxies, etc. 

Our basic script in BB was under the ext folder on the server and was
run every 5 minutes when bbtest-net ran. An instance of this script was
called for each device we needed checked.  It pulled the IP address of
the device from the environment variables and called the bb executable
with it's result when the test was completed.  This doesn't seem to be
possible in hobbit.  Every reference I've seen in the archives has told
people to use hobbitlaunch. 

Unless I'm misunderstanding things (which is possible...), I can tell
hobbitlaunch to fire off my external script every 5 minutes, but the
script will only run that one time, meaning I'd have to modify my script
to run a loop through all of the devices that I want the test run for.
This is not really the way we want to go, because then it ignores the
hosts that are planned down for maintenance and such. 

What I'd like to do is add a service tag in the bbhost file called
router_test.  Then, when the network tests are run, hobbit should be
smart enough to know that there is an external script defined in
hobbitlaunch.cfg that matches that tag and run it for that machine.  Is
this possible?

Little help for a newbie to Hobbit?

Stewart

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk



To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk




-- 
BEGIN-ANTISPAM-VOTING-LINKS
------------------------------------------------------
Teach CanIt if this mail (ID 49400092) is spam:
Spam:
https://dohsmsi01.doh.state.fl.us/canit/b.php?c=s&i=49400092&m=62354c87c
f96
Not spam:
https://dohsmsi01.doh.state.fl.us/canit/b.php?c=n&i=49400092&m=62354c87c
f96
Forget vote:
https://dohsmsi01.doh.state.fl.us/canit/b.php?c=f&i=49400092&m=62354c87c
f96
------------------------------------------------------
END-ANTISPAM-VOTING-LINKS


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list