Comments (5)
syslog-ng was the default for SLES11, but rsyslog is for SLES12 and SLES15. Is there a comparable command for rsyslog?
from supportutils.
man rsyslogd | col -b | sed -nr '/^[[:blank:]]+\-N +level/,/^$/p' | fmt -w 80
-N level
Do a config check. Do NOT run in regular mode, just check
configuration file correctness. This option is meant to verify a
config file. To do so, run rsyslogd interactively in foreground,
specifying -f <config-file> and -N level. The level
argument modifies behaviour. Currently, 0 is the same as not
specifying the -N option at all (so this makes limited sense)
and 1 actually activates the code. Later, higher levels will
mean more verbosity (this is a forward-compatibility option).
from supportutils.
Thats probably the most complex copy/paste/rtfm I've ever seen.... In less time then putting that string together I was able to play with the flags and provide a useful example.
Looks like this would need to be run individually for the rsyslog.conf
file, and then each file under rsyslog.d/
. Without specifying -f <file>
it only verifies the rsyslog.conf.
rsyslogd -N 1 -f /etc/rsyslog.d/remote.conf
rsyslogd: version 8.39.0, config validation run (level 1), master config /etc/rsyslog.d/remote.conf
rsyslogd: there are no active actions configured. Inputs would run, but no output whatsoever were created. [v8.39.0 try http://www.rsyslog.com/e/2103 ]
rsyslogd: run failed with error -2103 (see rsyslog.h or try http://www.rsyslog.com/e/2103 to learn what that number means)
from supportutils.
Supportconfig does not collect any system logger information directly. There is the *.conf in etc.txt and systemd.txt shows the service. I'm having a hard time justifying adding more system log data when the need has been very minimal. We don't often get support calls related to system logging. Do you have a use case that prompted this request?
from supportutils.
commit 104e0e8 (HEAD -> 3121, origin/3121)
Author: Jason Record [email protected]
Date: Fri Oct 7 14:07:34 2022 -0600
Added system logging configuration and checking in messages_config.txt issue#103
from supportutils.
Related Issues (20)
- supportconfig from rescue mode - boot.txt and lsinitrd
- autofs - includes inside dir (+dir:<path>) HOT 1
- Request to add features column to supportconfig output, for easier/quicker matching. HOT 1
- get iSCSI initiator HOT 1
- iscsiadm iface dump HOT 1
- If rsyslog not installed collect more from journalctl HOT 1
- Request to add ip neigh command output to show ARP cache on recent systems HOT 1
- request to add systemctl status output for every running service HOT 5
- Request add all available CPU schedulers to support config HOT 1
- Some log files aren't "exported" (as expected) HOT 1
- Add information about IO scheduler HOT 2
- Modify usage of df command within supportconfig HOT 6
- gather all files in /etc/security/limits.d/ HOT 1
- include more yast and hardware related info HOT 5
- change -x OPTION to really be exclude only HOT 3
- SLES15 pacemaker logs default location HOT 2
- collect `/var/log/zypp/history` HOT 6
- sed performance issues HOT 4
- Removal of confidential data HOT 1
- wrong detection for SLES 4 SAP in SLES12 and SLES15 SAP versions. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supportutils.