Operating System - HP-UX
1826290 Members
4439 Online
109692 Solutions
New Discussion

Re: Problem with sending lan interface down information to syslog

 
SOLVED
Go to solution
MQ'ski
Regular Advisor

Problem with sending lan interface down information to syslog

Hello.
I found that sending information about lan port failure beeing a member of APA (just logging apa) is available in newer APA release than I have. Is there any idea to monitor interface status to syslog.
Id like just information that interface assigned to APA is down or cames up.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Problem with sending lan interface down information to syslog

Shalom,

tail -f /var/adm/syslog/syslog.log

Unplug the NIC cable on one of the two interfaces.

Take a look at the output.

You can then write a simple grep script that monitors the log for you.

You can also probably monitor this status and receive notification with EMS, configurable with SAM.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
MQ'ski
Regular Advisor

Re: Problem with sending lan interface down information to syslog

Hello.
Good point. Im not 100% sure but I thought there is no information send to syslog
when lan cable is simple disconnected
Am I wrong?
Prashanth.D.S
Honored Contributor
Solution

Re: Problem with sending lan interface down information to syslog

Hi Marcin,

APA interface status information can be checked from nettl.log

/var/adm/nettl.LOG000

Example:
========
<1006> HP Auto-Port Aggregation product found that ports in failover
group lan901 are no longer connected to each other. Port 7 did
not receive any poll packets.

**********************Auto-Port Aggregation/9000 Networking*****************@#%
Timestamp : Wed Oct 24 BST 2007 14:01:53.415266
Process ID : [ICS] Subsystem : HP_APA
User ID ( UID ) : -1 Log Class : DISASTER
Device ID : 901 Path ID : 0
Connection ID : 0 Log Instance : 0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<1006> HP Auto-Port Aggregation product found that ports in failover
group lan901 are no longer connected to each other. Port 8 did
not receive any poll packets.

Best Regards,
Prashanth
MQ'ski
Regular Advisor

Re: Problem with sending lan interface down information to syslog

Thank you for advices