[hobbit] cgi bb-hostedit script released
A few caveats that I should have included with the distro but forgot:
While it supports nested files, and will attempt to preserve their structure as much as possible, I could only bundle so logic for determining what file a new host/page/title should be added to. So while it should work, it might not Do What You Expect(tm).
The script is comment un-friendly. Any comments & whitespace formatting is ignored when the script reads in data, and when it writes data back out, this commented data IS NOT INCLUDED. So if you have some sort of whacky comment structure in your files that you are intent on preserving, I'd advise you not to try this script :)
Regards, -Eric
-----Original Message----- From: Schwimmer, Eric E *HS [mailto:EES2Y at hscmail.mcc.virginia.edu] Sent: Thursday, April 28, 2005 12:47 PM To: hobbit at hswn.dk Subject: [hobbit] cgi bb-hostedit script released
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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (1)
-
EES2Y@hscmail.mcc.virginia.edu