[c-nsp] Monitoring Nexus 7000 platform

Lee ler762 at gmail.com
Fri Aug 14 17:37:54 EDT 2009


On 8/14/09, Lincoln Dale <ltd at cisco.com> wrote:

  .. snip lots of really cool examples ..

> why one would ever touch SNMP willingly after using the above is
> beyond me. :)

Is there an XML equivalent to the Net-SNMP package?    For example,
finding devices that haven't had their config saved is easy with SNMP:

  chgTime=`snmpget -OqUtv $DEV ccmHistoryRunningLastChanged.0`
  savTime=`snmpget -OqUtv $DEV ccmHistoryStartupLastChanged.0`
  if [ $savTime -lt $chgTime ]; then
     printf "%-14s config needs to be saved\n"  $DEV
  fi

how do you do that with Netconf/XML?

Regards,
Lee


More information about the cisco-nsp mailing list