nv-l
[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: "Usman Taokeer" <usman.taokeer@gmail.com>
Date: Tue, 3 Apr 2007 19:17:13 +0500
Delivery-date: Tue, 03 Apr 2007 15:18:38 +0100
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Q5+GYX5muRPxIMv0GAtaDM51LXpGJyG3gQyz24WnajV/wdUa7u8PM6RYBGxRItU8StZHoDVdVj5Kz+vt5DAb5bZhcauafxRZX9DalEBGozYoYLQc+vNC1bcBI3AEDdUj+XqXXpzqYuFxQW+dNkJpVHTyV+ClScvRuIgoj8DGxWQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=SLR8wwFKKhihrenFgr+dVPMnHRcoIeawdlC3x0rFzak1pPyJXl29a0G8CmoAA+LaVgVOxvfha4uqQ3w1x9zfQctPF0BvDhvhL8lptQwu7bd0qDIPdm5ILaGJIUyt3u50LX9jOgPxEhOogO/4cV2hdrxE/HW1U76byzdC9rn7i5k=
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <1D99739B79BF7744BF8927B8F2274CA201737049@HQGTNEX5.doe.local>
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> <1D99739B79BF7744BF8927B8F2274CA201737049@HQGTNEX5.doe.local>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com
thanks bill, do u have the windows version of the scipt :/

On 4/3/07, Evans, Bill <Bill.Evans@hq.doe.gov> wrote:
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.
 
#!/bin/bash
 
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@hq.xxx.xxx

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)

 
Hi,
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 .


Regards,

Usman

_______________________________________________
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)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web