Details

    • Help
    • Resolution: Fixed
    • Trivial
    • None
    • None
    • Documentation
    • None

    Description

      The documentation at http://observium.org/docs/syslog/#rsyslogd looks kind of outdated. The syntax for rsyslog configuration changed in version 7 which is already outdated. Version 8.x is stable at the moment. As some things didn't work with the documented config I changed it like this:

      #---------------------------------------------------------
      #send remote logs to observium
       
      template(name="observium" 
               type="string" 
               string="%fromhost-ip%||%syslogfacility%||%syslogpriority%||%syslogseverity%||%syslogtag%||%$year%-%$month%-%$day% %timereported:8:25%||%msg%||%programname%\n")
       
      $ModLoad omprog
       
      # rsyslog Input Modules
      input(type="imudp" 
      	 port="514"
      	 ruleset="observium")
       
      # rsyslog RuleSets
      ruleset(name="observium") { 
      	action(type="omprog" 
                     binary="/opt/observium/syslog.php"
                     template="observium")
      	action(type="omfile" 
                     file="/opt/rsyslog/remote.log")
      }
      *.* stop
      #---------------------------------------------------------
      

      Attachments

        Activity

          [OBS-1983] Update rsyslog documentation
          landy Mike Stupalov made changes -
          Issue Type Original: Task [ 3 ] New: Help [ 10200 ]
          landy Mike Stupalov made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          landy Mike Stupalov made changes -
          Assignee Original: Tom Laermans [ sid3windr ] New: Mike Stupalov [ landy ]
          Issue Type Original: Improvement [ 4 ] New: Task [ 3 ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          jok Joerg Krohn created issue -

          People

            landy Mike Stupalov
            jok Joerg Krohn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: