Operating System - HP-UX
1838741 Members
3819 Online
110129 Solutions
New Discussion

Re: network failure message in glance

 
SOLVED
Go to solution
Patrice Blanchard_2
Frequent Advisor

network failure message in glance

Hi,

we have a little problem with our switch that keeps disconnecting my server (with HP-UX 11i). The switch will be replaced but i want to keep track of the network failures.

Is there a log where that info is stored? I do not want to look at galnce all day for that.

regards

Patrice
6 REPLIES 6
RAC_1
Honored Contributor

Re: network failure message in glance

A ping to the switch and loggin it.

while true
do
date >> /tmp/ping.log
ping "switch" -n1 >> /tmp/ping.log
sleep 3
done

Run the script in background. This will ping the switch every 3 sec and put details in a log file.

Anil
There is no substitute to HARDWORK
Patrice Blanchard_2
Frequent Advisor

Re: network failure message in glance

Hi,

thanks, but the problem is that i'm able to ping when the error happends.

Patrice
Dave Olker
Neighborhood Moderator

Re: network failure message in glance

Hi Patrice,

Most switches actually have logging facilities built into them. I have several HP ProCurve switches and I can use a web browser interface or telnet interface to connect directly to the switch and look at the log files on the switch itself. I can look at individual port statistics, warnings, hard errors, etc.

You should check with your switch manufacturer, or the manual for your switch, to see if telnet/web access is available for your switch model and then see if any logging facilities are available.

Even if web/telnet isn't available, most switches have RS-232 connections on them which allow you to connect directly with a serial cable. You could then use that connection to check the switch logs and statistics.

Hope this helps,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
RAC_1
Honored Contributor

Re: network failure message in glance

What is the error message you get?? Anything in syslog.log file, in dmesg??
What makes you think that there is a problem with switch???

Anil
There is no substitute to HARDWORK
Patrice Blanchard_2
Frequent Advisor

Re: network failure message in glance

Hi,

Dave, thanks for the info, we'll look into it.

Anil, the message is fast and i'm able to see part of it (that's why i'm trying to find a log about it). But it's something like: "Alert, network failure as occured ...". sys admi thinks it's the switch because other users keeps losing the connection and they are are the same switch plus he checked it (few ports looks like dead on it).

what we're going to do is install another hub and transfer defect connection to it and see if we can locate the problem.

Everything was running fine until yesterday and nothing changed on the servers or on the network.

regards

Patrice
Matthew Couper
Frequent Advisor
Solution

Re: network failure message in glance

Most network logging is in /var/adm/nettl.LOG000
To veiw this looking for errors use this command

netfmt -Nvf /var/adm/nettl.LOG000