Place this in /usr/OV/registration/C
name of file is Ownping
Application "pingappl"
{
Description {
"eigene Ping-Applikation mit endlosem Ping"
}
Version "V6.0.1";
Copyright {
"basierend auf NetView V5 mit eigenen Modifikationen (S.Koch)"
}
Command -Shared "${xnmappmon:-/usr/OV/bin/xnmappmon}";
MenuBar "Test"
{
<90> "Ping_endless..." _P f.action "ping";
<90> "Ping_endless..." _P f.action "pingIF";
}
/*******/
Action "ping" {
MinSelected 1 ;
MaxSelected 5 ;
SelectionRule (isNode && isIP);
Command "sh -c 'unset OVwSessionLoc \;
/usr/OV/bin/xnmappmon \
-commandTitle \"Ping Node\" \
-appendSelectListToTitle \
-appendSelectList \
-selectList $OVwSelections \
-followOutput \
-lingerOnStop \
-cmd /usr/sbin/ping'" ;
}
Action "pingIF" {
MinSelected 1 ;
MaxSelected 5 ;
NameField "IP Address" ;
SelectionRule (isIP && isInterface) ;
Command "sh -c 'unset OVwSessionLoc \;
/usr/OV/bin/xnmappmon \
-commandTitle \"Ping Interface\" \
-appendSelectListToTitle \
-appendSelectList \
-selectList $OVwSelections \
-followOutput \
-lingerOnStop \
-cmd /usr/sbin/ping'" ;
}
}
>From: "Haseneder, Martina" <martina.haseneder@datev.de>
>Reply-To: IBM NetView Discussion <nv-l@tkg.com>
>To: nv-l@tkg.com
>Subject: [NV-L] ping - more the one run
>Date: 5 Oct 2001 13:51:30 -0000
>
>
>--
>Hey folks,
>
>at NetView Vers. 6 the ping executable runs only one time
>and stop's than with the results output.
>How can I get it running more often or maybe endlessly?
>
>Thanks
>Martina
>_________________________________________________________________________
>NV-L List information and Archives: http://www.tkg.com/nv-l
_________________________________________________________________
|