Hi,
I just committed the code which actually causes services to be monitored
when they're discovered. It's now upstream.
It creates monitor objects in the database, and then sends the commands
to the nanoprobes to start monitoring.
WOOT WOOT!!
There are a few more i's to dot and t's to cross, but it seems to work
as expected.
How much configuration for this to work on your systems?
ZERO (!) [I'm easily excited ;-)]
The code currently knows two different methods to use to monitor a
service. These things have to be true for the automatic monitoring to
monitor your services:
- There has to be a supported monitoring method installed on the
machine for us to use
- There has to be a template that recognizes which services should
be monitored with that method
- The template has to be able to find all the information it needs
to configure the monitoring agent from the discovery data.
There is also a peculiar not-monitoring template which says "when you
see this service, don't automatically monitor it". We create a fake
monitoring node in the database which looks a lot like a real monitoring
node, but it doesn't do anything, or send any commands to the nanoprobes.
I only have one service configured that way at the moment. I configured
it to ignore "skype -session xxxxx" when it sees that service listening
on a port. This "service" only runs when I'm running Skype - so it's
not appropriate to monitor it. There may be other examples of things
that ought to be normally ignored. The point of having these fake
monitoring nodes is so that their services don't clutter up the results
of queries on things like "tell me all the services I'm not
monitoring". Things marked ignored in this way will not appear in those
queries.
I'm going to push to have a better tested version of this code available
for your testing before the end of the year. I'll let you know.
I will be mostly out of contact the first 12 days or so of 2014 -- I'll
be speaking at Linux.Conf.Au (LCA).
--
Alan Robertson <[email protected]> - @OSSAlanR
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/