LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-13-2017, 08:49 AM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Logwatch is reporting on network switches not RHEL servers


I have Logwatch setup to monitor all RHEL servers in my environment.

In the last few days, where the Reporting on hosts is, it is showing the names of four network switches which are not RHEL in any, shape or form.

Not sure why this happened or what caused it. Was wondering if anyone had any idea on how to troubleshoot this?

thanks
 
Old 01-13-2017, 09:04 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Somewhere along the line there are DNS or host file entries that are out of sync with reality?
 
Old 01-13-2017, 09:06 AM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Logwatch as I understand it only scans your logs to report information.

You have to have a tool such as syslog (or syslog-ng or similar) to actually accept the logging connections from systems. Network switches and other devices can run syslogd and communicate with central logging servers. We have a setup here on one our Linux systems running syslog-ng specifically just to get logs from all of our network devices.

You'd have to determine what your central logging server is running then look at the configuration for that to see if you can restrict it to certain devices that do NOT include your switches. It is probably better to set it up to only include devices you do want rather than restricting those you not want.
 
Old 01-13-2017, 09:53 AM   #4
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Running rsyslog on all RHEL servers, which includes the logging server.

I checked /etc/hosts on that logging server and only RHEL systems and other servers that run services on that server have entries on it.

Not sure if there is way to restrict what is sent to rsyslog, will have to look into this.
 
  


Reply

Tags
logwatch, rhel



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
logwatch on multiple servers, need only short/critical output fishjohn Linux - Server 2 04-27-2010 04:54 AM
logwatch is not reporting on SSH abefroman Linux - Software 2 09-16-2009 07:43 AM
I want to disable logwatch on our RHEL servers to stop the logwatch mail svik Linux - Enterprise 10 08-27-2009 02:51 PM
SNMP agents automatically installed on switches, routers and servers? hondo Linux - Networking 3 08-13-2007 07:31 PM
Logwatch - and NT Servers shadowknight Linux - Software 1 07-14-2005 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration