Questions tagged [net-snmp]

Common set of SNMP tools for *nix and Windows environments.

SNMP-NET

Widely used set of SNMP CLI tools, GUI and snmpd (for traps). Great docs and books written about this tool set. If you're walking down the SNMP road, this is the place to start!

651 questions
-1
votes
0 answers

Net-snmp: Error: Connection failure: Connection refused

I am in charge of SNMP module in an embedded Linux-based NAS (Network Attached Storage). The SNMP module is net-snmp-based, wrapped by customized OIDs. It works fine before I took over it. I added handlers of some new OIDs and built it. The strange…
-1
votes
1 answer

How to fix GET requests for "usmUserSecurity" in netsnmp?

snmpget -v 2c -c public myDevice usmUserSecurity Returns: SNMP-USER-BASED-SM-MIB::usmUserSecurityName.".q...s...."."__internal__" = STRING: __internal__ instead of NoSuchObject/Instance. The same behaviour happens for all the other columns in…
Andrei
  • 1,862
  • 4
  • 15
  • 15
-1
votes
1 answer

Connections to socket with Nodejs

I need to create Nodejs aplication that will connect to several devices using net-snmp, just one server connecting to 300 devices. But i don't know if is a good idea to use NodeJS. I started using NodeJS a short time ago.
-1
votes
1 answer

How to set user permissions in net-snmp snmpv3 agent?

I have net-snmp SNMPv3 agent. I have a MIB with read-only and read-write command. I know I can configure SNMPv3 user with read-only or read-write permissions - but, can I have more than that? Is there a way to configure for example full write…
Avner Flesch
  • 35
  • 1
  • 7
-1
votes
2 answers

Is it possible to set up many SNMP agents managing the same MIB on the same machine?

What I want to achieve is described in the following figure and below: The device answering to SNMP is a "gateway" to N devices (that don't implement SNMP) and the gateway must manage SNMP informations for each of these machines. The N devices in…
salvolds
  • 201
  • 2
  • 14
-1
votes
1 answer

snmpget() with different port other than port 161 not working

I have tried to get the name of snmp device through the below source. $sysname1 = snmpget("192.168.0.9:161", "public", ".1.3.6.1.2.1.1.5.0.0"); $sysname2 = snmpget("192.168.0.10:164", "public", ".1.3.6.1.2.1.1.5.0.0"); $sysname3 =…
-1
votes
1 answer

Using SNMP to obtain server information

I need to obtain information about my servers running on Linux Redhat, Windows Server 2003 and Windows Server 2008. I have found the SNMP protocol to be useful for my purpose, but I am not clear how to implement it in my application. I don't even…
-1
votes
1 answer

snmp Bad operator (DEFINITIONS):

I'm using SNMP (agent) and server but executing snmp agent (snmpwalk or snmpget) on centos,ubuntu system occurs that failure 'Bad operator (DEFINITIONS):'
-1
votes
1 answer

Convert MAC to aa:bb:cc:dd:11:22

I'm creating a SNMP program to list interfaces (with ip, mask and mac) of devices. I'm using NetSnmp to get the macaddress but the output looks like this ('\x00PV\xaf\x00v',) This is the SNMP request: oidmac =…
-1
votes
1 answer

Send trap with Perl (net-snmp)

I run snmptrapd and can see incoming trap, when send trap via snmptrap snmptrap -c public -v 2c localhost "" 1.3.3.3.3.3.3.3 1.2.2.2.2.2.2 s "Aliens here" But I no have trap, when send via Perl script use SNMP; $sess = new SNMP::Session(DestHost…
Igor
  • 11
  • 4
-1
votes
1 answer

windows7 can't install NET-SNMP perl module

I download net-snmp package from official website, and the version is 5.7.3 . However, everytime I tried execute build.bat file it just show up : print screen Installed : ActiveState Perl 5.20.1.2000 Microsoft Visual Studio professional 2012 Win32…
-1
votes
1 answer

How does snmpd process SNMP requests?

I am new to the SNMP protocol. I want to know how snmpd processes SNMP requests. For example: snmpget -v1 -c public localhost sysName My understanding is it is implementing MIBs, e.g. SNMPv2-MIB, but is executing the uname -n command?
-1
votes
1 answer

Scientific Notation Warning: named number `b10E-2' must not include a hyphen in SMIv2

I have the integer field with scientific notation. But I have the next warnings: pThreshold OBJECT-TYPE SYNTAX INTEGER { b10E-2(2), b10E-3(3) } (4) warning: named number `b10E-2' must not include a hyphen in SMIv2 (4)…
user1310873
  • 389
  • 1
  • 6
  • 17
-1
votes
2 answers

What are the benefits for adding SNMP server support

I want to understand what are prominent use case to add a SNMP support to a database server. I understand that one can send a SNMP trap but how does one use this .
Avinash
  • 12,851
  • 32
  • 116
  • 186
-1
votes
1 answer

Net-SNMP showing wrong version in Syslog?

I built Net-SNMP 5.7.2 from source and installed it. When I run snmpget --version and snmpd --version it displays the correct version. However only because of the fact that I am experiencing some SNMP related errors at the moment, I checked my…
uncle-junky
  • 723
  • 1
  • 8
  • 33
1 2 3
43
44