nv-l
[Top] [All Lists]

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

To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Subject: RE: [NV-L] How to capture "down since" information
From: Greg Keetch <gkeetch@ca.ibm.com>
Date: Wed, 9 May 2007 16:02:02 -0700
Delivery-date: Thu, 10 May 2007 00:04:02 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OF05982BDF.F9A88841-ON882572D6.007AFB04-882572D6.007BDF02@ca.ibm.com>
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com

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@lists.ca.ibm.com

          05/09/2007 03:33 PM
          Please respond to
          Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>


To

Tivoli NetView Discussions <nv-l@lists.ca.ibm.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" <Bill.Evans@hq.doe.gov>"Evans, Bill" <Bill.Evans@hq.doe.gov>

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

                  05/09/2007 03:05 PM

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

"Tivoli NetView Discussions" <nv-l@lists.ca.ibm.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@lists.ca.ibm.com [
mailto:nv-l-bounces@lists.ca.ibm.com] On Behalf Of Dold, Randal
Sent: Wednesday, May 09, 2007 3:50 PM
To: nv-l@lists.ca.ibm.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@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com

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@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com

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

GIF image

_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.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>

Archive operated by Skills 1st Ltd

See also: The NetView Web