nv-l

RE: [NV-L] How to capture "down since" information

2007-05-10 12:47:50
Subject: RE: [NV-L] How to capture "down since" information
From: "Dold, Randal" <Randal.Dold AT ladwp DOT com>
To: "Tivoli NetView Discussions" <nv-l AT lists.ca.ibm DOT com>
Date: Thu, 10 May 2007 09:18:05 -0700
Greg and Bill,
 
Thanks very much for the help. That is just what I needed to know.

-----Original Message-----
From: nv-l-bounces AT lists.ca.ibm DOT com [mailto:nv-l-bounces AT lists.ca.ibm 
DOT com]On Behalf Of Greg Keetch
Sent: Wednesday, May 09, 2007 4:02 PM
To: Tivoli NetView Discussions
Subject: RE: [NV-L] How to capture "down since" information



Hello again,

I seem to have sent this before I completely finished it.... 

The quicktest command shows the same as the nmdemandpoll output, so it appears 
to use the same information.

A quick method of reporting on all these things might be something like:

for SELECTIONNAME in `/usr/OV/bin/nvUtil e '((isNode=true) && (("IP Status" = 
Critical) || ("IP Status" = Marginal) || ("IP Status" = Unreachable)))'`; do
/usr/OV/bin/ovtopodump -v $SELECTIONNAME | egrep -p -v "STATUS: +Up" | egrep 
"(HOSTNAME|STATUS:|IP ADDR|LAST SUCCESSFUL)"
done

At least it should work in theory for reporting the last successful poll on 
interfaces for Nodes that are showing as Critical, Marginal, or Unreachable.... 
;-)

Regards,
Greg Keetch
IT Specialist (Advisor), Network Services
Network Management Tools Specialist
Information Technology Services Americas (ITSA), Global Services, IBM Canada

Inactive hide details for Greg Keetch/CanWest/IBM@IBMCAGreg 
Keetch/CanWest/IBM@IBMCA






        Greg Keetch/CanWest/IBM@IBMCA 
Sent by: nv-l-bounces AT lists.ca.ibm DOT com 

        05/09/2007 03:33 PM 

        

        Please respond to
Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com>




To

Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com>       



cc

        



Subject

RE: [NV-L] How to capture "down since" information      
                

Hello,

ovtopodump -v is the correct place to find this information... While the SYMBOL 
CHANGE TIME will have information that can be useful, it is not what is 
indicated in the "(down since...)" part of the nmdemandpoll output. The 
date/time displayed there is found in the LAST SUCCESSFUL POLL line of the 
INTERFACE sections of the ovtopodump output. With nmdemandpoll, I believe this 
value is only displayed for interfaces with a STATUS of "Down" (also found in 
the ovtopodump output).

Hope this helps.

Regards,
Greg Keetch
IT Specialist (Advisor), Network Services
Network Management Tools Specialist
Information Technology Services Americas (ITSA), Global Services, IBM Canada

Inactive hide details for "Evans, Bill" ' src="cid:230491616@10052007-37f2" 
width=16>"Evans, Bill" <Bill.Evans AT hq.doe DOT gov>




        "Evans, Bill" <Bill.Evans AT hq.doe DOT gov> 
Sent by: nv-l-bounces AT lists.ca.ibm DOT com 

        05/09/2007 03:05 PM 


Please respond to
Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com>
 

To

"Tivoli NetView Discussions" <nv-l AT lists.ca.ibm DOT com>     
 

cc
        
 

Subject

RE: [NV-L] How to capture "down since" information      
                

Ovtopodump -v will give you a detailed display where the SYMBOL CHANGE TIME 
will contain the information you want.  It will also tell you when the device 
came up or went marginal or was unmanaged.  There will also be a symbol change 
time for each interface so the Unix command to use for the whole time string on 
the device is: 

ovtopodump -v <hostname> | grep "SYMBOL CHANGE TIME" | awk 'NR==1' | cut -d":" 
-f2- 



Bill Evans
Home: 570-639-5691
Cell:    570-852-9549


-----Original Message-----
From: nv-l-bounces AT lists.ca.ibm DOT com [  <mailto:nv-l-bounces AT 
lists.ca.ibm DOT com> mailto:nv-l-bounces AT lists.ca.ibm DOT com] On Behalf Of 
Dold, Randal
Sent: Wednesday, May 09, 2007 3:50 PM
To: nv-l AT lists.ca.ibm DOT com
Subject: [NV-L] How to capture "down since" information

Hi List,

I generate a report of critical, unreachable and marginal nodes three times a 
day.

I would like to include the "down since" timestamp for each node. 

I know a quicktest will provide the "down since" timestamp, but I am assuming 
that information is in one of the databases already.

Does anyone know where that timestamp is, or how I could get that information 
for each node?

NV7.1.4, FP5 on AIX 5.2

Thanks
Randal Dold



-------------------------Confidentiality Notice--------------------------
This electronic message transmission contains information from the Los Angeles 
Department of Water and Power, which may be confidential.  If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the content of this information is prohibited.  If you have received this 
communication in error, please notify us immediately by e-mail and delete the 
original message and any attachment without reading or saving in any manner.

_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
 <http://lists.ca.ibm.com/mailman/listinfo/nv-l> 
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.6.6/794 - Release Date: 5/8/2007 2:23 PM


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.6.6/794 - Release Date: 5/8/2007 2:23 PM



_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
 <http://lists.ca.ibm.com/mailman/listinfo/nv-l> 
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)





-------------------------Confidentiality Notice--------------------------
This electronic message transmission contains information from the Los Angeles 
Department of Water and Power, which may be confidential.  If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the content of this information is prohibited.  If you have received this 
communication in error, please notify us immediately by e-mail and delete the 
original message and any attachment without reading or saving in any manner.

GIF image

GIF image

GIF image

_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>