Howdy all,
I finally got my mrtg graphing problems fixed (I ended up just using mrtg to poll ifc traffic data, and tweaked hobbit-larrd a bit to work with my snmp data collector that collects cpu & error info).
Anyways, now that that is done, I had a some time to spend working on a gui hosts editor for hobbit/bigbrother (although the bigbrother support has not been tested, as I dont really have a bigbrother system to test it on any more).
This script should handle just about every option that the bb-hosts file supports, including nested file includes (include, dispinclude, etc), titles, groups, etc etc. Its still in a nascent phase at the moment, so I would strongly suggest backing up your host files somewhere safe before playing around with it (although the script also supports file archival, as well).
You can download the script at: http://www.nerdvana.org/eric/files/bb-hostedit-1.0.tar.gz
Please let me know what you think,
Regards, -Eric Schwimmer HSCS Network Engineer University of Virginia
Greetings,
I installed your script per directions indicated in install file and I am receiving an error. The error is "syntax error: group compress". Any suggestions?
Thanks in advance.
Mike
Michael Dunne Systems Support Specialist AccuWeather, Inc. 814-237-0309 Ext. 7661
Hi Eric, I found some problems with my bb-hosts-files:
If the a line starts with #, it is a comment. The script reports me a syntax-error I added the following lines: ---snip---
Exclude Comments
elsif($item =~ /^#/) { next; }---snap---
I included one host on more than one page, so the script reports me about already definded host. To get a step forward, I comment out the part in the sctipt.
Now I see the subpages, but no hosts. I can add hosts to the subpage. I already tried to make a script, that builds the bb-hosts from a MySQL-Database. I got it never finished, because of all the possible combinations :(
Thomas
participants (3)
-
dunne@accuweather.com
-
EES2Y@hscmail.mcc.virginia.edu
-
truecker@technologie-management.net