Generating nagios configs from LDAP, nmap, and traceroute
Luke A. Kanies
luke at madstop.com
Wed Dec 17 23:29:08 CET 2003
On Thu, 18 Dec 2003, Ben Lisle wrote:
> Hi,
>
> We're doing exactly this sort of thing at the moment.
>
> It's a real pain in the ass having to manage a whole range of
> applications to monitor/manage network elements. We use Nagios, Cricket
> (RRDTool), Pancho, Networklens, Smokeping, and one or two others. Each
> of them have their own way of storing their configuration information.
> Each of them have some nifty application that can be used to manage
> them. Urgh!
Yup.
> We're using LDAP as a machine database of sorts. The theory goes
> something like this. We'll have our own application (both web-based and
> a PyGTK tool) which will be used to modify/view/add records in LDAP.
> Once you're happy with a configuration you can "push" the new device to
> the various applications you'll be using. So it'll put a good
> Defaults/Targets definition in the right spot in the Cricket config
> tree, it'll build the host/hostgroups/service configs for Nagios, that
> sort of thing. It'll obviously config the other tools we use, but those
> are the main two we're working on right now.
Cool, that's exactly what I'm talking about.
> I've got a rough schema hacked out for Cricket at the moment, so we're
> just beyond the planning stage finally. The Nagios schema will probably
> be next.
I basically have the Nagios schema finished, so if we could agree on one
and then send it to the nagios maintainers for inclusion or something,
that would be great. OTOH, I'm interested in your Cricket schema; have
you sent it to the Cricket maintainers?
> If there's any interest for this sort of thing let me know. I'll see if
> I can con our management into releasing these sorts of things. If not
> I'll put up some documenation on what we've done and why we did it.
I'm definitely interested, and I expect that as we get a more complete
system (and maybe someone releases some docs) more people will get
interested. We could take this offline, maybe.
> I hate release dates, but we should have a fairly working tool by
> mid-late February.
Very cool. I don't know what percentage of time I'll be allocated to this
in the near future, but I'm already generating Nagios configurations out
of LDAP, but they don't include any service checks. This month and in
January I plan to add nmap and traceroute functions to the nagios objects
so that they'll automatically built port checks and IP dependencies, but I
don't know if I'll be able to release them.
Heh. If you're company would like to hire me to work on this for them,
I'd love to come spend a few months in Australia. :)
Luke
--
"The danger from computers is not that they will eventually get as smart
as men, but we will meanwhile agree to meet them halfway." -Bernard Avishai
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list