[Top] [All Lists]

RE: [NV-L] Node Status Report (Up/Down)

To: "Tivoli NetView Discussions" <nv-l@lists.ca.ibm.com>
Subject: RE: [NV-L] Node Status Report (Up/Down)
From: "Evans, Bill" <Bill.Evans@hq.doe.gov>
Date: Tue, 3 Apr 2007 09:54:23 -0400
Delivery-date: Tue, 03 Apr 2007 14:57:33 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <b6875d680704030609m22c1447bi6390f97774229500@mail.gmail.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>
References: <b6875d680704030609m22c1447bi6390f97774229500@mail.gmail.com>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com
Thread-index: Acd19CMAJ8asv3jWRvqFNTJ7hZ/pjAAAhYtQ
Thread-topic: [NV-L] Node Status Report (Up/Down)
Here's a procedure I use in a cron job to notify me of the state of the universe every morning. 
It comes in handy when the night shift operations desk marks items as acknowledged and forgets them.
The operational command is highlighted.
echo "This morning report was generated at `date`." >MorningReminder.txt
echo -e "\n--------------\n" >>MorningReminder.txt
echo "The following devices are marked as down in the NetView database." >>MorningReminder.txt
echo -e "These devices may require attention.\n" >>MorningReminder.txt
/usr/OV/bin/ovtopodump 2>/dev/null | egrep '(Down|Unreachable)' | grep -v Segment \
      | awk '{ printf ("\t %s \t %s \t %s \n",  $2, $3, $4) }' >>MorningReminder.txt
cat MorningReminder.txt | mail -s "Morning Reminder"

Bill Evans

From: nv-l-bounces@lists.ca.ibm.com [mailto:nv-l-bounces@lists.ca.ibm.com] On Behalf Of Usman Taokeer
Sent: Tuesday, April 03, 2007 9:10 AM
To: Tivoli NetView Discussions
Subject: [NV-L] Node Status Report (Up/Down)

NV v7.1.4 FP05
Windows 2003 Std Edt SP1

Is there any way to get the status(up/down only) of all/any node(s) currently in the NV database .


NV-L mailing list
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