Which version of CiscoView? Version 4.0 is OK, but for previous one I had the
following trick
to get correctly the community from NV:
Action CWCiscoView{
SelectionRule isNode && isCisco;
MinSelected 1;
MaxSelected 1;
SelectionRule isNode && isCisco;
Command "${NMSROOT}/bin/nmcview -host ${OVwSelection1} `xnmsnmpconf
-resolve ${OVwSelection1} | awk '/community/ { printf \"-rd %s \", $3 } ;
/setCommunity/ { printf \"-wr %s \", $3 }'`";
}
----------------------------------------------------------------------------
Thierry Van Mol email: thierry.van-mol@ciev.vd.ch
Centre Informatique de l'Etat de Vaud Tel: 41 (0) 21 316 27 05
NV-L@UCSBVM.ucsb.edu le 03/12/98 13:53:42
Veuillez ripondre ` NV-L@UCSBVM.ucsb.edu @ INTERNET
Pour : NV-L@UCSBVM.ucsb.edu @ INTERNET
cc :
Objet : CiscoView
I know this is a little off-Topic, but... What is the Correct Sysntax for
the ciscoview registration file? When I start ciscoview from a router
icon, I don't get the community strings.....are these available in the same
way as OVwSelected1 ?
Thanks
Howard
|