- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Aruba & ProVision-based
- >
- logging not generating logs
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
10-12-2015 03:15 AM
10-12-2015 03:15 AM
I'm trying to enable logging from our HP ProCurve switch to a network server, but nothing seems to be generated:
On the switch:
conf t logging 192.168.21.51 logging facility local0 end sh debug Debug Logging Source IP Selection: Outgoing Interface Destination: Logging -- 192.168.21.51 Protocol = UDP Port = 514 Facility = local0 Severity = debug System Module = all-pass Priority Desc = Enabled debug types: event
on the server side, we are using rsyslog to collect messages, which works well with Cisco device:
# netstat -anp | grep rsyslog udp 0 0 0.0.0.0:514 0.0.0.0:* 20568/rsyslogd udp6 0 0 :::514 :::* 20568/rsyslogd unix 10 [ ] DGRAM 9664099 20568/rsyslogd /dev/log
but I can't find any messages from HP Switch in /var/log/messages or in the destination log file via configuration in /etc/rsyslog.conf:
local0.* -/var/log/network.log
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-12-2015 05:35 AM
10-12-2015 05:35 AM
Re: logging not generating logs
We have the same setup as you: Procurve switches and rsyslog. We use a different facility, but that shouldn't matter. We use LogAnalyzer as a graphical frontend to rsyslog.
Is there a firewall between the switches and the Syslog server? Can you see the syslog traffic in the firewall logs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-12-2015 06:18 PM
10-12-2015 06:18 PM
Re: logging not generating logs
I can be sure that there're no firewalls or any packet filters between the switch and the rsyslog server, is there any way to check if messages are being sent from the switch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-13-2015 04:55 AM
10-13-2015 04:55 AM
Re: logging not generating logs
Try to mirror the switch port where the syslog server is connected and use Wireshark to see if the syslog traffic is being received by the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-13-2015 06:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-13-2015 03:19 PM
10-13-2015 03:19 PM
Re: logging not generating logs
Also, install something like Kiwi syslog on your laptop, point the switch at it, and see if that receives the logs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-14-2015 12:59 PM
10-14-2015 12:59 PM
Re: logging not generating logs
On the server side, I find this useful for checking syslogs.
$ tcpdump -i eth0 'udp port 514'
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP