Re: [opennms-devel] Turn log entires to OpenNMS events
Honia A <[email protected]> Mon, 9 Feb 2009 11:59:47 -0500
| Newsgroups | gmane.network.opennms.bugs,gmane.network.opennms.devel |
|---|---|
| Message-ID | <[email protected]> |
No replies yet...Let me be more specific then: I already have the event log file log file and the file is on the same server as I have ONMS installed and the entries are in syslogd format. All I need to do for now, is to find a way to have OpenNMS watch that file and when a new event is added (that OpenNMS recognizes) to that file, OpenNMS processes it as an event. OpenNMS is installed in /opt/opennms directory and the log file is on the same machine but on a different location: /opt/logs Can someone please help me? Thanks in advance From: [email protected]: [email protected]: Wed, 4 Feb 2009 14:55:53 -0500Subject: [opennms-devel] Turn log entires to OpenNMS events Hi all,I have some subsystems installed on a CentOS 5.2 machine which generate and add log entries to a file called output.log which is located on the same box where I have my OpenNMS installed. Each line of entry has three values.Now I would like to turn these log entries into events and configure OpenNMS to watch this log file and pick them up as events. So far, I learned this will be known as exernal event and I should somehow create a XML file in /opt/opennms/etc/events directory (i.e. Output.xml) and add it to the eventconf.xml file as an include file: <event-file>events/Output.xml</event-file> but I'm not sure how to do this... Can someone please help me with this?Thanks in advance Windows Live™: Keep your life in sync. Check it out. _________________________________________________________________ Windows Live™: E-mail. Chat. Share. Get more ways to connect. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_022009 ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel