Reset Search
 

 

Article

Netsight how to remove syslog CRON messages

« Go Back

Information

 
TitleNetsight how to remove syslog CRON messages
Symptoms
CRON messages in syslog
Environment
  • Netsight
  • Syslog
  • CRON
Cause
default settings in Netsight defines all Task reporting into the default syslog file
Resolution
change in the config file 50-default.conf the line
*.*;auth,authpriv.none -/var/log/syslog
to
*.*;auth,authpriv.none,cron.none -/var/log/syslog
(use vi editor),cron messages no longer written to the syslog file.

restart the syslog task:
root@netsight6.2.0.183:/etc/rsyslog.d$ service rsyslog restart
 
###############################################################
root@netsight6.2.0.183:~$ cd /etc/rsyslog.d/
root@netsight6.2.0.183:/etc/rsyslog.d$ more 50-default.conf
# Default rules for rsyslog.
#
# For more information see rsyslog.conf(5) and /etc/rsyslog.conf
#
# First some standard log files. Log by facility.
#
auth,authpriv.* /var/log/auth.log
*.*;auth,authpriv.none,cron.none -/var/log/syslog
#cron.* /var/log/cron.log
#daemon.* -/var/log/daemon.log
kern.* -/var/log/kern.log
#lpr.* -/var/log/lpr.log
mail.* -/var/log/mail.log
#user.* -/var/log/user.log


root@netsight6.2.0.183:/etc/rsyslog.d$ service rsyslog restart
rsyslog stop/waiting
rsyslog start/running, process 19785
root@netsight6.2.0.183:/etc/rsyslog.d$
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255