- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- HPE Aruba Networking & ProVision-based
- >
- Syslog configuration?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 10:51 AM
тАО10-07-2008 10:51 AM
Syslog configuration?
Hello,
when configuration a syslog destination server (logging 123.123.123.123), is that "enough" configuration?
I have seen that you can change the facility settings and some other stuff, but do I need to do that? (I am unsure what is default?)
- Tags:
- syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 12:41 PM
тАО10-07-2008 12:41 PM
Re: Syslog configuration?
this command enough
whit logging command all system log data transfer to system log server
(you must be set up system log serveron network)
for example free system log server
tftpd32
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 12:55 PM
тАО10-07-2008 12:55 PM
Re: Syslog configuration?
Thank you Cenk for your reply!
I have a syslog server, but was not sure if everything was forwarded to it.
When could I need to use the facility command to change this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 01:32 PM
тАО10-07-2008 01:32 PM
Re: Syslog configuration?
you can see all switch logs same page
all network switch send logging information same system log server very useful feature
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 01:56 PM
тАО10-07-2008 01:56 PM
Re: Syslog configuration?
logging facility for multiple system system log server
Configuring the Switch To Send Debug Messages to One or More SyslogD Servers
Use the logging command to configure the switch to send Syslog messages to a SyslogD server, or to remove a SyslogD server from the switch configuration.
Syntax: [no] logging < syslog-ip-address | facility < facility-name >>
< syslog-ip-address >
If there are no SyslogD servers configured, logging enters a SyslogD server IP address and automatically enables Syslog logging to the server. If at least one SyslogD server is already configured and Syslog logging has been disabled, you can still use logging < syslog-ipaddr
> to add another SyslogD server, but Syslog logging remains disabled until you re-enable it with the debug destination logging command. While Syslog logging is enabled, the switch attempts to send Syslog messages to all configured SyslogD server addresses, and operates regardless of whether session logging is also enabled. To configure multiple SyslogD servers, repeat the command
once for each server IP address. (Default: none; Range: Up to six IP addresses)
facility < facility-name >
Specifies the destination subsystem the SyslogD server(s) must use. (All SyslogD servers must use the same subsystem.) ProCurve recommends the default (user) subsystem unless your application specifically requires another subsystem. Options include:
user (the default) - Various user-level messages kern - Kernel messages mail - Mail system daemon - system daemons auth - security/authorization messages syslog - messages generated internally by Syslog lpr -line printer subsystem news - netnews subsystem uucp - uucp subsystem cron - cron/at subsystem sys9 - cron/at subsystem sys10 through sys14 - Reserved for system use local0 through local7 - Reserved for system use
C-27
Troubleshooting
Using Logging To Identify Problem Sources
For example, on a switch where there are no SyslogD servers configured, you would do the following to configure SyslogD servers 18.120.38.155 and
18.120.43.125 and automatically enable Syslog logging (with user as the default logging facility):
ProCurve(config)# logging 18.120.38.155ProCurve(config)# logging 18.120.43.125ProCurve(config)# write memProCurve(config)# show config
logging < syslog-ip-addr > configures the Syslog
Startup configuration:
server(s) to use and enables Syslog debug
logging. (In this case, ; J9085A Configuration Editor; Created on release #R.11.XX Syslog is automatically enabled because debug hostname "ProCurve Switch 2610-24" The configured Syslog server destination logging has ip default-gateway 10.0.8.1
IP addresses appear in the not been previously logging 18.20.38.155
switch├в s configuration file. disabled with other Syslog logging 18.129.43.125
servers already snmp-server community "public" Unrestricted
configured in the switch.
vlan 1
(Refer to the Syntax box
name "DEFAULT_VLAN"
under ├в Configuring the Switch To Send Debug untagged 1-28
Messages to One or More ip address dhcp-bootp SyslogD Servers├в on page exit C-27.)
ProCurve(config)# show debug This command shows that
Syslog logging is enabled for Debug Logging the listed IP addresses.
Destination:
Logging -
-
18.120.38.155 Default Logging Facility
18.120.43.125 Facility = user
Enabled debug types: event
Figure C-9. Example of Configuring and Enabling Syslog Logging
To use a non-default logging facility, such as lpr, in the same operation as in figure C-9, you would use this command set:
ProCurve(config)# logging 18.120.38.155
ProCurve(config)# logging 18.120.43.125
ProCurve(config)# logging facility lpr
Specify the syslog facility value that will be used for all syslog servers. Syslog facility determines
where syslog servers should log the syslog message.
Supported Values:
├в ┬в kern
├в ┬в user
├в ┬в mail
├в ┬в daemon
├в ┬в auth
├в ┬в syslog
├в ┬в lpr
├в ┬в news
├в ┬в uucp
├в ┬в sys9
├в ┬в sys10
├в ┬в sys11
├в ┬в sys12
├в ┬в sys13
├в ┬в sys14
├в ┬в cron
├в ┬в local0
├в ┬в local1
├в ┬в local2
├в ┬в local3
├в ┬в local4
├в ┬в local5
├в ┬в local6
├в ┬в local7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2008 12:49 PM
тАО10-09-2008 12:49 PM
Re: Syslog configuration?
> When could I need to use the facility
> command to change this?
You might want different devices log to different files, so the messages don't mix or so that more relevant boxes log into other files than less relevant boxes. Something like e.g.
local2.debug /var/log/core.log
local3.debug /var/log/access.log
local4.debug /var/log/wireless.log
You might also have other things already log to what ProCurve uses as the default facility, so to not mix with existing logs, you might want to change the facility just for this reason.
HTH,
Andre.