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
0
votes
1 answer

Cacti SNMP - Getting "value: U" although there is a value available

I've followed the guide on the following forum to get postfix logs graphed in cacti: http://forums.cacti.net/viewtopic.php?f=12&t=6657 (See the fifth post) The installation steps on the post is as follows: 1) Configure SNMP agent on Mail server and…
Kevin
  • 321
  • 4
  • 21
0
votes
0 answers

logstash-snmptrap not showing any logs in logstash

We are trying to implement logstash with snmptrap, but the logs are not coming in logstash, in netstat the logstash udp port is not open for all can that be the issue. logstash.conf input { snmptrap { type => "snmptrap" community =>…
0
votes
0 answers

SNMP GETBULK Table COMMAND

I Have a doubt, when we request snmptable request it basically send the snmpbulk request to the NET-SNMP agent and NET-SNMP Agent converts it into multiple "getnext" requests. Is there any way by which we can detects that all these getnext requests…
soni
  • 77
  • 1
  • 9
0
votes
1 answer

How to configure collectd-snmp to poll a router?

I am trying to use a Raspberry Pi to poll the interface MIB (IF:MIB) of a TP-LINK router and then send the metrics to Librato. Setting up collectd and integrating it with Librato is no problem at all - I am successfully tracking other metrics (cpu,…
Nik
  • 39
  • 1
  • 6
0
votes
1 answer

SNMP4J bulkwalk on if-mib

I am using snmp4j.jar. I want to do a snmpwalk on if-table to get ifDescr from all the rows. Using netsnmp : snmpwalk -v2c -c**** -t 1 1.2.3.4 ifDescr I can get ... IF-MIB::ifDescr.1 = STRING: ATM0 IF-MIB::ifDescr.2 = STRING: Ethernet0 .... I…
harpal18
  • 137
  • 1
  • 9
  • 20
0
votes
1 answer

how to snmpset string or integer value with python?

I'm trying to set value with snmpset via python. import netsnmp snmpcfgfile=netsnmp.Varbind(".1.3.6.1.4.1.171.12.1.2.18.1.1.5.3", "switch.cfg","STRING") netsnmp.snmpset(snmpcfgfile, Version=2, DestHost="10.0.112.4",…
Dees7
  • 23
  • 1
  • 6
0
votes
1 answer

Logging snmpbulkwalk

I am trying to log the command for snmpbulkwalk using snmpbulkwalk -Lf /etc/snmp/snmplog -v 2c -c public 192.168.2.4 1.3.6.1.4.9 I can see that the file /etc/snmp/snmplog is being overwritten, however it is blank and the result of the bulkwalk is…
0
votes
1 answer

Perl and SNMP - input options

script uses Net::SNMP module for Perl. I'm trying to run snmpget command with some options added e.g. ( -Ir ) (here is list of options), but I haven't found any way to do that. In documentation for this module I didn't found anything about adding…
zonelsk
  • 235
  • 1
  • 5
  • 14
0
votes
0 answers

register multiple instances of application in the same host to same Net-SNMP agent

I've been struggling with this for a couple of days, and none of the solutions I've found work the way I'd like (I can be completely wrong, I've not used SNMP for a very long time, though). This is existing code in my company, a perl application…
Alberto
  • 687
  • 6
  • 21
0
votes
0 answers

snmpbulkwalk error with opensips mibs

I have configured SNMP support with Opensips but i am getting following error when i am running snmpbulkwalk I did following too apt-get install snmp-mibs-downloader /etc/snmp/snmpd.conf master agentx rocommunity voip syslocation …
Satish
  • 16,544
  • 29
  • 93
  • 149
0
votes
0 answers

Convert SNMP traps from v1 to v3

I'm trying to convert snmp v1 traps to v3. I've followed this discussion but it's vague. I've also looked here but without success. To be more clear: I have a Centos 6 station, with net-snmp 5.5 on it. I need to generate v1 traps, receive them,…
pAndrei
  • 383
  • 6
  • 19
0
votes
0 answers

Running a script upon OID GET

I am trying to use NET-SNMP to run a little script and return the value returned by the script I have my snmpd.conf file configured with the extend statement: although when I query the device using iReasonings MIB Browser, I get this: I haven't…
Funkyguy
  • 628
  • 2
  • 10
  • 31
0
votes
1 answer

Windows 2012 SNMP Memory Usage OID

I'm having difficulty tracking down an SNMP OID that will give me some form of memory utilization for Windows 2012 Servers. Has anyone came across one? For previous windows versions I would use 1.3.6.1.4.1.311.1.1.3.1.1.1.2, combined with…
ldg
  • 15
  • 1
  • 3
0
votes
2 answers

Integer8, Unsigned8, Integer16 values in SNMPv2 MIB

I want to define a MIB containing integer-valued OIDs that are 1 or 2 octets long to keep down the size of my TRAP messages - they're going over a mobile data network so we pay by the byte, and transmission times go up with bigger data types as…
kbro
  • 4,754
  • 7
  • 29
  • 40
0
votes
2 answers

C++ Qt5 with net-snmp crashes after build

I am trying to use the http://www.net-snmp.org library in my project but after it build it crashes without the chance to get debug information. To be more clear: I hit the run button -> Starting program.exe -> The program crashed without any output…
user2357505
  • 81
  • 11