Greg and
Bill,
Thanks very much
for the help. That is just what I needed to know.
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
Greg
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> | |
| 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
"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> | |
| 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)
-------------------------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)
|