hi all.......

I m running a program in windows like this

import os
os.system('snmpwalk -v2c -c ar441c 192.168.1.10 .1.3.6.1.4.1.18489.1.2.1.1')

when i run this i m getting error like
SNMPWALK IS NOT RECOGNISED AS A INTERNAL AND EXTERNAL COMMAND,OPERABLE PROGRAM OR BATCH FILE


so anyone can plz help me........


thanks in advance:(:(

Does this command work from the Cmd window? Try providing the complete path to snmpwalk?

thanks for a reply.....


in cmd window itself it is showing error like this

i had given complete path to snmpwalk but is still showing error

Based on the error, I think probably you don't have snmpwalk installed; or maybe it cannot be run by you as you are currently logged in, or possibly the installation is incomplete or otherwise fubar.

First be sure the exe exists, then that you can run it from the command line. If it doesn't exist, your problem is obvious. If you just cannot run it, check the snmpwalk web pages for help about authorization.

thanks griswolf i had not installed snmpwalk properly so it was not working ...now it is working fine:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.