DX NetOps

  • 1.  Polling from Command line

    Posted May 23, 2013 04:38 AM
    Hello Friend,

    I just want to know the command to poll the device from CLI from SDC server. Windows 2003

    Thanks,
    Amit


  • 2.  RE: Polling from Command line

    Posted May 23, 2013 04:57 AM
    Hello Amit,

    Use any third party snmp browser like ireasoning , snmpwalk etc.we can also use sapwalk utility to poll for the Mib objects inside the Mib.Incase the device is not responding we get an alarm "Device not responding" in the output command line.

    kalyan


  • 3.  RE: Polling from Command line

    Posted May 23, 2013 07:32 AM
    Hello Kalyan,

    Thanks for the info, but I was looking for any specific command to poll the device from command line, same like ping.

    Regards,
    Amit


  • 4.  RE: Polling from Command line

    Posted May 23, 2013 07:58 AM
    These may work for you.

    To ping the router from command line use:
    ping ***.***.***.*** (x = ip address of the router you want to ping)

    To SNMP query the router for its system name and send the output to your screen use:
    nhSnmpTool -n -a -c yyyyyyyyyy -o sysName.0 ***.***.***.*** (y = your community string) (x = ip address of device you want to query)

    To SNMP query the router for its system values and send the output to your screen use:
    nhSnmpTool -n -a -c yyyyyyyyyy -o system ***.***.***.*** (y = your community string) (x = ip address of device you want to query)

    The only command I'm aware of to poll from the command line is "nhPollToFile" and this is used when your database is down and you want to continue to poll and write the data to a file. Once the database comes back online then you can load the polled data gathered in the file into the database. I wouldn't recommend trying this comman unless your database is inaccessible and you want to continue to poll data.

    Hope this helps
    Have a great day
    Bryan


  • 5.  RE: Polling from Command line

    Posted May 23, 2013 10:21 AM
    Hello Mate,

    Again nhsnmptool is also a utility to poll the device for snmp.
    If you would like to go with this then here is the link to download

    http://ehealth-spectrum.ca.com/support/secure/certkits/index.asp?Path=nhSnmpTool/

    kalyan


  • 6.  RE: Polling from Command line

    Posted May 24, 2013 03:56 AM
    Hello Dear,

    I just ran the SAPWALK command for a switch from SDC server, and reviced an file for the same as an output. Now can the check in that file, if SDC or spectrum server is sending trap to poll that device.

    Regards,
    Amit