Hello,
Can I make a tool like “snmpwalk” to show only a oid.column?
Thanks!
Hello,
Can I make a tool like “snmpwalk” to show only a oid.column?
Thanks!
If you put this on a device label of a windows server it will list all the services running…
[array_element(oid_column(“1.3.6.1.2.1.25.4.2.1.2”)]
Does that help?
Thanks for the reply,
Yes, this is the solution that i´ve implemented, but i don´t want to see that all the time in the label.
I need to do possibly with the type tool snmpwalk. That is, a tool that does exactly this:
[array_element(oid_column(“1.3.6.1.2.1.25.4.2.1.2”)]
Can be done?
Yeah I can imagine that the label is huge ![]()
You can create a tool that runs an executable… run net-snmp with the request to the specific device and oid you are wanting to retrieve.
You have some reading to do ![]()
http://net-snmp.sourceforge.net/
Download net-snmp for windows…
http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.4.2.1%20binaries/
I have yet to actually make one but it should be fairly straight forward. So in the end you should be able to right click on the device, select tools, select the tool you built and see the results in a cmd prompt. If you have to make it a batch job that pauses at the end. If you didn’t know you can pass variables into a batch job with %1 %2 %3 etc…
GL
SD
Ok, I wanted to find something more direct using ‘snmpwalk’, but I knew that I did not succeed. I’ll try to do this way.
Thank you very much for the links and for your time
I’ve solved!!!. ![]()
I write down the executable file (.bat) I created which is then added to the tools.
It´s an easy code but very useful (at least in my case
)
@echo off
snmpwalk -Ov -v 1 -c PASSWORD 10.0.0.1 "oidcolumn"
pause
10.0.0.1 is the host.
In “oidcolumn” you can insert the oid that you want to see in cmd.
Thanks for the help.
Nice work ccu, glad to see this is so simple ![]()
Thank you for the help!