- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Aruba & ProVision-based
- >
- logging not generating logs
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
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
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-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
- 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
- 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
- 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
- Report Inappropriate Content
10-13-2015 06:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- 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'