Mon alerts to DB
Hi, Could someone give me some direction of how I could get Mon alerts into a database? The objective it to look into creating an alert management system requiring a DB. It doesn't seem Mon can input to a DB nativity. dtlog seems to be updated only when an alert is restored (allowing total downtime info), so making a database management system with this is not going to be effective. Can logs for DOWN and UP alerts be sent to a syslog, and then continuously scrape the syslog entering data into a DB? what are the basic tools to do this? Sorry if ive missed an obvious search. But any quick pointers to get me looking in the right direction would be appreciated. Regards, Anthony ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon
Re: Mon alerts to DB
Hallo Anthony, Am Donnerstag, den 17.12.2009, 23:12 +1100 schrieb Anthony: > Could someone give me some direction of how I could get Mon alerts into > a database? The objective it to look into creating an alert management > system requiring a DB. write your own alert-Skript, which can store all information in your datebase. HTH, Hans Peter ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon
Re: opstatus meanings
* Jim Trocki wrote: > STAT_UNKOWN unknown (reserved for stupid things) So this one is always returned if a user is logged on. Sorry couldn't resist. :-) signature.asc Description: OpenPGP digital signature ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon
Re: Mon alerts to DB
On Thu, 17 Dec 2009, Anthony wrote: Hi, Could someone give me some direction of how I could get Mon alerts into a database? The objective it to look into creating an alert management system requiring a DB. I agree with Hans Peter's advice, to write an alert script which pumps the details of the failure into the database. If you want to capture both failures and non-failures, look at the "redistribute" config option. If the DB is something which is connection-oriented, such as mysql or postgres, it would be better to write a simple daemon which stays connected listens on an AF_UNIX socket for your alert messages. your alert script could then write to that socket so it does not need to log into the db each time it is invoked. that'll help minimize the overhead. also, there are alternate syslog daemons such as rsyslog which can store the log data in various databases. It doesn't seem Mon can input to a DB nativity. o/~ joy to the world, the DB has come... ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon
Re: Mon alerts to DB
* Hans Peter Wiedau wrote: > > write your own alert-Skript, which can store all information in your > datebase. > Alas, my DB-fu is nonexistent. Otherwise, I would have already built it. signature.asc Description: OpenPGP digital signature ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon
New mon.cgi Revision
Merry Christmas all. I figured I'd break out the present early. :-) A new revision of mon.cgi. Features Some UI tweaks & multiple monhost support. http://www.cmpublishers.com/oss/ Enjoy. -- Sincerely, Nathan Gibbs Systems Administrator Christ Media http://www.cmpublishers.com signature.asc Description: OpenPGP digital signature ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon