Home    Forums    Feature Requests    Beta Issues    SysAid Resources    Documentation    Support
Hello Guest,  Login   
        
DOWNLOAD FREE EDITION
    
     Recent Topics    Hottest Topics    Online Members    Member Listing    Advanced Search
SNMP command line tool  XML
Forum Index » SysAid Labs
 
Author Message
Oded M
VP Product


Joined: 28/05/2008
Messages: 892
Offline

Dear SysAid Lab members !


For those of you who want to make the most out of the SNMP network scanning - I would like to forward all of your attention to an open source command line tool for snmp queries you can use to learn a lot about your devices and then configure SysAid to extract and save that information.

This net-snmp tool will allow you to be able to send simple queries to your SNMP devices and receive the values.

Learn more about the tool [url=http://sourceforge.net/project/showfiles.php?group_id=12694&package_id=162885&release_id=637301]Here[/url]


Download the third link on the above download page or click this direct link : [url=http://downloads.sourceforge.net/net-snmp/net-snmp-5.4.2.1-1.win32.exe?modtime=1225732382&big_mirror=1]net-snmp-5.4.2.1-1.win32.exe [/url]


Perform a default installation – next next….


Open a command line prompt in Windows: (cmd)


The following command lines are usefull:

Get value of a single OID:
snmpget -v1 -c public OID
Example : snmpget -v1 -c public 192.168.1.1 1.3.6.1.2.1.43.5.1.1.1.1.0


Get all values of a sub tree:
snmpwalk -v 1 -c public mib-2
snmpwalk -v 1 -c public private
snmpwalk -v 1 -c public mgmt

The outputs are long so you can add "> file1.txt" to the end of each command : snmpwalk -v 1 -c public mgmt > mgmt.txt

If you find OID-s of interesting information for printers like page counter , toner level , or any other interesting information for network devices – please post them here !


Good Luck !
Oded
Guillaume
SysAider


SysAider from release 6 Canada
Joined: 12/05/2009
Messages: 2
Offline

Hey ! Nice to know !! Thanks!

Good Call !

Guillaume, IT.
TRS-80
SysAider


SysAider from release 7
Joined: 25/09/2009
Messages: 7
Location: Nashville, TN
Offline

Thank you for this tool. Previously, I had to log on to a linux box to get this functionality. Now I can do this from my pc.
Lev
SysAid Mod


SysAider from release 5.5 Israel Pathfinder
Joined: 18/08/2008
Messages: 508
Location: Haifa, Israel
Offline

Here are some OID's i have found:

1.3.6.1.2.1.43.10.2.1.4.1.1 HP Printer Total Page Count
1.3.6.1.2.1.47.1.1.1.1.11.1 ProCurve Serial
1.3.6.1.2.1.43.5.1.1.17.1 HP Printer Serial

If some body will give an idea for OID's I'll try to find them.

Those 2 free tools can help you as well.

HiliSoft - MIB browser

Script Logic - sl360 tool suit (there are nice free tools not only for SNMP)

Lev

DONT !!! DONT TOUCH THE KEYBOARD !!!
kamika
SysAider

SysAider from release 7.5
Joined: 28/02/2012
Messages: 1
Offline

hi,
I installed succefully the net-snmp.exe but when I tried to tape some comands in the cmd like snmpget or snmpwalk I get a message like that:
'snmpget' is not recognized as internal command
or external, operable program or batch file.
plz can anyone help me and thanks
marijan_zg
SysAider

SysAider from release 7.5
Joined: 30/08/2012
Messages: 2
Offline

kamika wrote:hi,
I installed succefully the net-snmp.exe but when I tried to tape some comands in the cmd like snmpget or snmpwalk I get a message like that:
'snmpget' is not recognized as internal command
or external, operable program or batch file.
plz can anyone help me and thanks


position you cursor to the folder that you install SNMP.
marijan_zg
SysAider

SysAider from release 7.5
Joined: 30/08/2012
Messages: 2
Offline

I found OID for RICOH counter:
C:\snmp\bin>snmpget -v1 -c public 192.168.1.81 .1.3.6.1.2.1.43.10.2.1.4.1.1
SNMPv2-SMI::mib-2.43.10.2.1.4.1.1 = Counter32: 45069


I used:
C:\snmp\bin>snmpwalk -v 2c -c public 192.168.1.80 >80.txt
after that open 80.txt and compare counter from machine and txt file

note* in snmpwalk I use ver 2 of snmp protocol.

SNMP-for-life
SysAider

SysAider from release 7.5
Joined: 09/04/2013
Messages: 1
Offline

Provided is a whitepaper I wrote a while back on Net-SNMP and using SNMP at the Command Line - CLI

I also have a section in here about using NET-SNMP in scripts


http://www.tobiassystems.com/?page_id=944

Hopefully this helps everyone
Forum Index » SysAid Labs
Go to:   
Help Desk Software
Free Help Desk Software
Free Asset Management Software
SysAid Helpdesk Software
Web Based Help Desk Software
SysAid Help Desk Forum
General IT Discussion Forum
SysAid CSS Customer Service Software
Customer Support Software
   SysAid Technologies Ltd.
   Toll-Free phone center (U.S.): 1-800-686-7047
   Offices - U.S.617-231-0124
   Israel:+972-3-533-3675
   Email:helpdesk@sysaid.com
   Optimized by SEO Israel
   SysAid logos and other SysAid Technologies marks
   are trademarks or registered trademarks of
   SysAid Technologies Ltd.
   All Rights Reserved by SysAid Technologies Ltd.
   2002-2011
   Live Support Hours
   07:00 AM - 09:30 PM (UK)
   03:00 AM - 05:30 PM (EDT)

   We provide worldwide services, and we do our best
   to match the working times of customers from
   different time zones.

   SysAid Help Desk Software and Asset Management Software
Privacy Policy © Terms Of Use