Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-2609

Update Syslog documentation

    XMLWordPrintable

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

          People

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

            Dates

              Created:
              Updated:
              Resolved: