Details

    • Help
    • Resolution: Fixed
    • Trivial
    • None
    • Community Edition
    • Documentation
    • None
    • Ubuntu 16.04.4 LTS

    Description

      http://docs.observium.org/syslog/

      The documentation needs updating to get rsyslogd working correctly. 

      Functioning /etc/rsysclog.conf:

      # provides UDP syslog reception
      module(load="imudp")
      input(type="imudp" port="514") 
      
      

      Functional /etc/rsyslog.d/30-observium.conf:

       
      #---------------------------------------------------------
      #send remote logs to observium#ceph-mon.=notice; ~template(name="observium"
               type="string"
               string="%fromhost%||%syslogfacility%||%syslogpriority%||%syslogseverity%||%syslogtag%||%$year%-%$month%-%$day% %timereported:8:25%||%msg%||%programname%\n")$ModLoad omprog
      action(type="omprog"
                 binary="/opt/observium/syslog.php"
                 template="observium")*.* stop
      #---------------------------------------------------------
       

      Verify with:

      rsyslogd -f /etc/rsyslog.d/30-observium.conf -N1
      rsyslogd: version 8.16.0, config validation run (level 1), master config /etc/rsyslog.d/30-observium.conf
      rsyslogd: End of config validation run. Bye. 

       

      Attachments

        Activity

          [OBS-2609] Update Syslog documentation

          Please ignore this.

          jonathanbaird Jonathan Baird added a comment - Please ignore this.

          Hi Mike. It seems this down now work with the latest version of Observium and rsyslod 8.32.0. I am running Ubuntu Server 18.04.2. Has this been tested and confirmed working with the latest versions?

          Thanks.

          jonathanbaird Jonathan Baird added a comment - Hi Mike. It seems this down now work with the latest version of Observium and rsyslod 8.32.0. I am running Ubuntu Server 18.04.2. Has this been tested and confirmed working with the latest versions? Thanks.

          Ok, I found correct way.
          Documentation updated, see: http://docs.observium.org/syslog/#rsyslog-v8-and-later

          landy Mike Stupalov added a comment - Ok, I found correct way. Documentation updated, see: http://docs.observium.org/syslog/#rsyslog-v8-and-later

          That exactly why we not recommended use . stop for all.
          And we still not know correct alternative for ~ in v8.

          landy Mike Stupalov added a comment - That exactly why we not recommended use . stop for all. And we still not know correct alternative for ~ in v8.

          The files looks like the code above in 'Functional /etc/rsyslog.d/30-observium.conf:'.

           

          The server does not appear to log locally any more after looking at /var/log/syslog, Not sure what to do about that.

          mattw Matthew Warren added a comment - The files looks like the code above in 'Functional /etc/rsyslog.d/30-observium.conf:'.   The server does not appear to log locally any more after looking at /var/log/syslog, Not sure what to do about that.
          landy Mike Stupalov added a comment - - edited

          pls attach your version of file 30-observium.conf.

          in your install with ". stop" at end, was not stopped logging system log locally on server?

          landy Mike Stupalov added a comment - - edited pls attach your version of file 30-observium.conf . in your install with " . stop" at end, was not stopped logging system log locally on server?

          People

            landy Mike Stupalov
            mattw Matthew Warren
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: