Xymon client configuration issue - /var/log/messages

Asked by Andy Farrior on 2018-11-01

After installing the Ubuntu Xymon packages, the Xymon-client is sending the OS "linux" which is configured to monitor /var/log/messages in the /etc/xymon/client-local.cfg file for any Ubuntu-based Xymon clients.

/etc/xymon/client-local.cfg:
[linux]
log:/var/log/messages:10240
ignore MARK

However, the stock Ubuntu distribution does not generate a /var/log/messages file.

Would you consider one of these options:

Option 1 -- Adjust Ubuntu configuration for Xymon to match standard log file configuration for Ubuntu
1 - Set CLIENTOS in /etc/default/xymon-client to send "ubuntu"
2 - add OS entry to /etc/xymon/client-local.cfg
[ubuntu]
log:/var/log/auth.log:10240
log:/var/log/kern.log:10240
log:/var/log/syslog:10240
log:/var/log/mail.log:10240
ignore MARK
3 - Adjust permissions so that Xymon can read the /var/log/* files, like "usermod -a -G adm xymon"

Option 2 -- Add rsyslog conf file as part of Xymon package to generate a /var/log/messages file
1 - As part of the Xymon package, include a file like /etc/rsyslog.d/xymon.conf to generate a /var/log/messages file
2 - Adjust permissions so that Xymon can read the /var/log/* files, like "usermod -a -G adm xymon"

thx,
andy

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu xymon Edit question
Assignee:
No assignee Edit question
Last query:
2018-11-01
Last reply:
2018-11-17
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.