I am trying to set up errpt to log to syslog using the following:
errnotify:
en_pid = 0
en_name = "syslog"
en_persistenceflg = 1
en_label = ""
en_crcid = 0
en_class = ""
en_type = ""
en_alertflg = ""
en_resource = ""
en_rtype = ""
en_rclass = ""
en_method = "/usr/bin/errpt -l | /usr/bin/tail -1 | /usr/bin/logger -t
errpt -p daemon.notice"
It works great except for one thing, it logs several entries for every one entry it should log. Does anyone have any ideas on this or maybe a better way that they have set up errpt to syslog? Thanks
errnotify:
en_pid = 0
en_name = "syslog"
en_persistenceflg = 1
en_label = ""
en_crcid = 0
en_class = ""
en_type = ""
en_alertflg = ""
en_resource = ""
en_rtype = ""
en_rclass = ""
en_method = "/usr/bin/errpt -l | /usr/bin/tail -1 | /usr/bin/logger -t
errpt -p daemon.notice"
It works great except for one thing, it logs several entries for every one entry it should log. Does anyone have any ideas on this or maybe a better way that they have set up errpt to syslog? Thanks