Operating System - HP-UX
1753449 Members
6121 Online
108794 Solutions
New Discussion юеВ

Re: Link down notification and logging

 
SOLVED
Go to solution
Adam Morris
Occasional Advisor

Link down notification and logging

Greetings,

I have a server running 11i which has had the switch connected to it fail a few times recently.

I checked the syslog output last time and nothing anywhere in it relates to the link going down. I've since told it to send everything of .notice or higher to one file so that I can check.

Is this normally logged somewhere? If so, where?

dmesg shows nothing, syslog is either configured to ignore it, or it isn't logged there.

Any ideas?
4 REPLIES 4
Tom Danzig
Honored Contributor
Solution

Re: Link down notification and logging

If the network tracing and logging daemon is running (which it should be), run:

netfmt -f /var/adm/nettl.LOG00 > /tmp/log

Look at the end of the output file for any clues. Netwwork disconnects should show up here.

dmesg should show these also.
Steven E. Protter
Exalted Contributor

Re: Link down notification and logging

Shalom,

That is decidedly abnormal. If link is lost there should be syslog entries.

I do recall 11i v1 not being as twitchy as 11.00 but if link is lost the system should complain.

You can set this up in EMS with sam and have the system monitor the link. If its lost, you will get notice when it comes back up.

Not terribly helpful,but better than nothing.


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
Adam Morris
Occasional Advisor

Re: Link down notification and logging

netfmt ... worked to show me the times it went down.

dmesg has been flooded by a user filling up /home (normally at 16% used)...

But syslog had nothing...

If it was writing to syslog does anyone know the standard facility and level that it would write at?

Thanks,

Adam
Chauhan Amit
Respected Contributor

Re: Link down notification and logging

Hi Adam,

Generally the Network related error messages are logged in "/var/adm/nettl.LOG000" .
But syslog also shows these messages wehn the Monitoring for the resource ("lan" in our case) is configured. I have seen in ServiceGuard setup , you do get "Subnet down" messages in syslog as well.

-Amit
If you are not a part of solution , then you are a part of problem