Re: Syslog Message Log

"Mike Diehn (GMail)" <[email protected]> Mon, 10 Dec 2018 19:52:37 -0500
Newsgroups gmane.network.opennms.general
Message-ID <CANC37G8mPU1gPEH96brtDi0Y2k_n96+PFaALKxgekjAXpm6hvw@mail.gmail.com>
--===============5381983133716091679==
Content-Type: multipart/alternative; boundary="00000000000042d711057cb481aa"

--00000000000042d711057cb481aa
Content-Type: text/plain; charset="UTF-8"

Opennms doesn't store them in a file like syslogd or rsyslogd does. You can
do like David says or you can have your servers log to an rsyslogd daemon
on the OpenNMS server which writes to a file *and* forwards to OpenNMS.


Sincerely,
Mike
--
Mike Diehn
Enfield, NH

On Mon, Dec 10, 2018, 1:56 PM Chris Bradt <[email protected] wrote:

> I am just starting to get familiar with OpenNMS.  I have a question on
> syslog messages -- is there a place the messages themselves are logged to?
>
> I changed the log4j2.xml key for syslogd to DEBUG just so that I could
> verify that the messages were, in fact, getting there with a fairly
> harmless message like an interface shutdown.  I see in the syslogd.log that
> they got there and they did initiate an Event that shows up in the GUI.
>
> My preference at this point is to be able to log messages without
> necessarily generating an Event, just to have a repository of messages that
> I elect to have my devices send.  I can't find where the raw messages that
> I have received are located.  Are they somewhere?  Where?
>
> Thanks ...
>
> --
> Chris Bradt [email protected]
>
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-discuss mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of
> this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-discuss

--00000000000042d711057cb481aa
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div dir=3D"auto"><br></div>Opennms doesn&#39;t store the=
m in a file like syslogd or rsyslogd does. You can do like David says or yo=
u can have your servers log to an rsyslogd daemon on the OpenNMS server whi=
ch writes to a file *and* forwards to OpenNMS.<br><br><div data-smartmail=
=3D"gmail_signature"><br>Sincerely,<br>Mike<br>--<br>Mike Diehn<br>Enfield,=
 NH</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Mon, Dec =
10, 2018, 1:56 PM Chris Bradt &lt;<a href=3D"mailto:[email protected]">ctbr=
[email protected]</a> wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20

   =20
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF">
    <font face=3D"Arial">I am just starting to get familiar with OpenNMS.=
=C2=A0
      I have a question on syslog messages -- is there a place the
      messages themselves are logged to?=C2=A0 <br>
      <br>
      I changed the log4j2.xml key for syslogd to DEBUG just so that I
      could verify that the messages were, in fact, getting there with a
      fairly harmless message like an interface shutdown.=C2=A0 I see in th=
e
      syslogd.log that they got there and they did initiate an Event
      that shows up in the GUI.=C2=A0 <br>
      <br>
      My preference at this point is to be able to log messages without
      necessarily generating an Event, just to have a repository of
      messages that I elect to have my devices send.=C2=A0 I can&#39;t find=
 where
      the raw messages that I have received are located.=C2=A0 Are they
      somewhere?=C2=A0 Where?<br>
      <br>
      Thanks ...<br>
    </font>
    <pre class=3D"m_3288421299839581087moz-signature" cols=3D"72">--=20
Chris Bradt=20
<a class=3D"m_3288421299839581087moz-txt-link-abbreviated" href=3D"mailto:c=
[email protected]" target=3D"_blank" rel=3D"noreferrer">[email protected]</a=
> </pre>
  </div>

_______________________________________________<br>
Please read the OpenNMS Mailing List FAQ:<br>
<a href=3D"http://www.opennms.org/index.php/Mailing_List_FAQ" rel=3D"norefe=
rrer noreferrer" target=3D"_blank">http://www.opennms.org/index.php/Mailing=
_List_FAQ</a><br>
<br>
opennms-discuss mailing list<br>
<br>
To *unsubscribe* or change your subscription options, see the bottom of thi=
s page:<br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/opennms-discuss" re=
l=3D"noreferrer noreferrer" target=3D"_blank">https://lists.sourceforge.net=
/lists/listinfo/opennms-discuss</a></blockquote></div>

--00000000000042d711057cb481aa--


--===============5381983133716091679==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============5381983133716091679==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
--===============5381983133716091679==--