nv-l
[Top] [All Lists]

Netmon Daemon - nmcheckconf Warning

To: nv-l@lists.tivoli.com
Subject: Netmon Daemon - nmcheckconf Warning
From: Donald Davis <don-n-darla@worldnet.att.net>
Date: Tue, 13 Feb 2001 01:21:38 -0500
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>

<blockquote TYPE=CITE>
<pre>When I see the&nbsp;&nbsp; /usr/OV/log/netmon.trace ,&nbsp; it shows the 
next message :

/usr/OV/bin/nmcheckconf: ERROR: LAN interface "Name" not UP and RUNNING.
**** Warnings from /usr/OV/bin/nmcheckconf configuration check script

Does anybody know what is the meaning of this message and how can I fix 
it&nbsp; ?

</pre>
</blockquote>

<p><br>I have found that this is caused by an error in the 
/usr/OV/bin/nmcheckconf
script file.
<br>If you execute netstat -i | cut -d&nbsp; -f1 you will see that the
output is presented as a table
<br>with column headings, the first one is "Name".
<br>The comments indicate that if "Name" is found it will be ignored, trouble
is that they forgot to code it.
<br>Add the following line to the "if clause" as indicated below:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \( "${interface}" = "Name" \)
-o \
<br>Here is the fixed "if clause" (with comments).
<br>#
<br># CHECK LAN INTERFACE CARD
<br>#
<p>interfaceError=FALSE
<br>interfaceCount=0
<p>for interface in `netstat -i | cut -d' ' -f1` ; do
<p>&nbsp;&nbsp; # If ifconfig&nbsp; does not&nbsp; complain&nbsp; about
the&nbsp; interface&nbsp; you hand it,
<br>&nbsp;&nbsp; # e.g., it does not complain that you gave it the 'Name'
column label
<br>&nbsp;&nbsp; # from&nbsp; netstat&nbsp; output or 'ni0*'&nbsp; (used
for serial link IP) on HP-UX
<br>&nbsp;&nbsp; # then
<p>&nbsp;&nbsp; if ifconfig ${interface} 1> /dev/null 2>&amp;1 ; then
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Do NOT look at the loop back interface.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # A subnet mask of "ff000000" is valid
for loopback interface.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # DWD : 11JAN01 : Ignore "Name" Label
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if [ \( "${interface}" = "lo0" \) -o
\
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \( 
"${interface}"
= "Name" \) -o \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
\( "${interface}" = "sna0" \) ] ; then
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; continue
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi
<p>========================================
<br>Don Davis&nbsp; - Tivoli Certified Consultant / Instructor
<br>Alliance of Professionals and Consultants, Inc.
<br>Phone: 919-510-9696
<br>Visit our Web site at: <A 
HREF="http://www.apc-services.com";>http://www.apc-services.com</A>


<Prev in Thread] Current Thread [Next in Thread>
  • Netmon Daemon - nmcheckconf Warning, Donald Davis <=

Archive operated by Skills 1st Ltd

See also: The NetView Web