Net-SNMP is a suite of software for using and deploying the SNMP protocol.

learn more… | top users | synonyms

0
votes
0answers
9 views

Snmptrapd : how to find trapversion of received traps

Can anybody tell me how can I check version(snmp2c/3) of received traps by 'snmptrapd' ? Settings: runnging snmpd, snmptrapd and snmptrap on same system (localhost) CASE 1: SNMPv1 send snmpv1 trap ...
1
vote
0answers
12 views

Extending SNMP IF-MIB with custom data

I've a system where several specific NIC cards do not pass to the kernel traffic counters (DPDK cards) so I cannot use SNMP IF-MIB to get usage information. But, I've a system command that provides ...
1
vote
0answers
39 views

snmpget “No such object available on this agent at this OID”

I have been working on trying to get a value with a custom MIB through SNMP This is my custom MIB: MY-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, Integer32, enterprises ...
3
votes
2answers
132 views

How do I select an OID for my MIB

I've been trying to attach an OID to run a specific script for sometime and at this point I think the culprit is my bad MIB. I've corrected my MIB but I'm curious about the OID i'm trying to use. ...
0
votes
0answers
11 views

SNMPD doesn't send traps when events happen

I trying to send traps on events from snmpd to snmptrapd (at the beginning on the same host). If I do: snmptrap -v 1 -c public localhost TRAP-TEST-MIB::demotraps localhost 6 17 '' ...
1
vote
1answer
179 views

Where are the available debug tokens for the Net-SNMP tools listed?

In snmpcmd(1), under "Generic Options", it says, -D[TOKEN[,...]] Turn on debugging output for the given TOKEN(s). Try ALL for extremely verbose output. What tokens ...
0
votes
0answers
33 views

Kamailio doesn't restart with snmpstats module

I have Kamailio 4.2.0 running in a RedHat Entreprise Linux Server and I wanted to add some KAMAILIO-MIBS in order to monitor the machine. I went to the ...
1
vote
0answers
39 views

SNMP memory values do not match `free`

Compare this # free -m total used free shared buffers cached Mem: 72363 68035 4328 0 522 66294 -/+ buffers/cache: ...
0
votes
1answer
37 views

snmpv3 EngineID for Traps in net-snmp

I'm trying to collect simple logs from Cisco devices using netsnmp with SNMP v3. I can get the messages to appear in my snmptrapd, but I have to manually add the EngineID to for them to talk. E.g., ...
1
vote
1answer
35 views

Get information about inodes via snmp for linux

I want to check inodes via snmp for linux system, set up check. I could not find the correspondent MIB. Can any one help me to get information about inodes prozent ?
0
votes
1answer
937 views

CentOS, Timeout: No Response in remote SNMP access

i have installed snmp, utils using yum install net-snmp yum install net-snmp-utils This is my /etc/snmp/snmpd.config syslocation System Location syscontact email@a.com # sec.name source ...
2
votes
1answer
129 views

Why isn't snmptt translating this trap?

I have a device that is sending snmp v1 traps and snmptt cannot translate them. To grab a copy of the trap, I stopped the snmptt service, and copied the trap to /tmp. The OID I'm trying to trigger ...
0
votes
0answers
30 views

Net-SNMP SNMPv3 - Forwarding to a manager

We are currently in the process of moving from SNMPv2 to SNMPv3 in our enclave including both Linux and Windows machines. We are utilizing Net-SNMP which has been, up to this point, difficult to ...
0
votes
1answer
146 views

net-snmp mib loading and snmptranslate

I'm trying to run snmptranslate on my system but it does not work, even if I did everything by tutorial from net-snmp.org. They say it should work but it doesn't. I have a debian 6 server and ...
0
votes
1answer
3k views

nagios check_snmp ifoperstatus not OK

I'm reading Monitoring Routers and Switches page, in particular "Monitoring SNMP Status Information" section. quote: In the example above, the "-o ifOperStatus.1" refers to the OID for the ...
0
votes
0answers
142 views

Cacti: “An internal Net-Snmp error condition detected in Cacti snmp_count”

There's the odd forum topic about an error similarly obscure as this, but I haven't seen any for snmp_count in particular. Also I don't see graphing problems, though I can't simply go and eyeball ...
0
votes
0answers
62 views

Configuring net-snmp to ignore v1 and v2

We are using RHEL5, and have numerous servers running 2 different versions of net-snmp (one is rolled up into a vendor application, one is standard net-snmp, and then both instances are proxied so ...
0
votes
0answers
1k views

cacti returning empty graphs, showing only “nan”

I installed cacti on a separate user account, on a server running WHM/CPanel. RRDTool and snmpwalk are both installed correctly and when running the poller.php through the user "cacti" (not root), I ...
0
votes
1answer
272 views

Perl - Using Net::SNMP::Interfaces to list interfaces of host

How could i get a list of all interfaces on a host with snmp, i am using. use Net::SNMP::Interfaces; my $interfaces = Net::SNMP::Interfaces->new(Hostname => 'localhost', ...
0
votes
1answer
132 views

Community string indexing error in non-cisco switches

I am trying to retrieve CAM table information from non-cisco switches. I am using D-Link DES 3526 and Brocade fastiron sx 800 switches and installed net-snmp. When I execute the cmd: $snmpwalk -v ...
3
votes
2answers
1k views

snmpwalk to ipv6 address timeout

Snmpwalk is failing. I don't know why. I have a host configured with a global ipv6 address. Snmpd is listening on ipv6. netstat -l|grep snmp udp6 0 0 [::]:snmp [::]:* udp6 ...
1
vote
1answer
229 views

Delay between sending and recieving SNMP Traps within a machine

I am experimenting with sending and receiving SNMP traps via net-SNMP. I have a script that sends traps out to localhost. I have snmptrapd set to write traps to a file. This works fine, except for ...
0
votes
0answers
62 views

SNMPv3 messages not generating

I am new to configuring SNMPV3 on my redhat linux net-snmp. I have made some changes in the /etc/snmp/snmpd.conf file and also added the user with createUser directive in snmptrapd.conf file. The ...
0
votes
1answer
424 views

snmpbulkwalk hangs at certain OIDs

While setting up some hosts in Check_MK for SNMP-only monitoring I've found some hosts where snmpbulkwalk appears to 'hang' and then timeout while processing a certain OID. eg: OMD[prod]:~$ ...
0
votes
1answer
269 views

How to fetch a cpu status thought net-snmp

I want to fetch a device's cpu and memory status thought net-snmp. I get my device's info with this command: snmpwalk -v 2c -c public 210.38.xxx.xxx system And I got this info: ...
1
vote
0answers
60 views

snmpget on IPv6 local address timesout though snmpd is listening on ipv4 and ipv6

I am doing snmpget from a RHEL machine to the localhost. It works for IPv4 and doesn't work for IPv6. # snmpget -v2c -c public udp6:[::1] sysName.0 Timeout: No Response from udp6:[::1]. # snmpget ...
0
votes
1answer
134 views

Does net-snmp for CentOS support SNMP v2 and v1?

CentOS 5.9 | net-snmp-5.3.2.2 I'm running netsnmp on a CentOS 5.9 box and it's unclear to me from the config on whether or not it support SNMP v2 and v1. I've always used SNMP v3 and ...
0
votes
1answer
781 views

Sending e-mail when SNMP Trap is received

I have to configure SNMP trap receiver to handle traps from a particular device (in this case it is a IBM TS3584 Tape Library) and send them over (as e-mail) with the information about the error. My ...
3
votes
2answers
5k views

/usr/local/share/snmp/snmpd.conf: line 5: Error: unknown payload OID

using ubuntu with net-snmp snmp work but in sys.log i see a lot of errors about snmpd.conf snmpd.conf: rwcommunity community 10.0.0.1 rwcommunity community 10.0.0.2 agentAddress udp:10.0.0.1:161 ...
1
vote
0answers
190 views

Unable to send v3 trap using snmptrap

I am trying to send snmp v3 trap using snmptrap command on ubuntu 12. I tried: sudo snmptrap -v 3 -c 1 localhost -a MD5 -A abcdefgh -l noAuthNoPriv -u myuser sudo snmptrap -v 3 -c 1 localhost -a MD5 ...
0
votes
1answer
71 views

Netgear FVS338 SNMP and OID

I downloaded SNMPWalk.exe and I ran the following: snmpwalk.exe -r:192.168.2.254 -p:161 -c:"public" -os:.1.3.1.1.4.1.4526 I ended up with over 900 something OID options. How do I know what they do ...
0
votes
2answers
6k views

How to pull SNMP information from Windows commandline without installing software

I would like to be able to quickly pull SNMP information via commandline such as device uptime. I noticed Net-SNMP's snmpget.exe can do this; but it looks like I need to install Net-SNMP first before ...
1
vote
1answer
411 views

Cannot start the Net-SNMP daemon from systemd (but it works from the command-line)

When I start Net-SNMP from systemd, there is no error message but the daemon does not run: % sudo systemctl start snmpd % When I start it from the command line, it runs: % sudo /usr/sbin/snmpd ...
0
votes
1answer
145 views

Why doesn't build of net-snmp-5.7.2 provide /etc/rc.d/init.d/snmptrapd?

I am packaging an RPM for RHEL6, built from net-snmp-5.7.2.tar.gz. I see that the file /etc/rc.d/init.d/snmpd gets created and packaged but I do not see the init file for /etc/rc.d/init.d/snmptrapd. ...
1
vote
1answer
144 views

Server-Ip address is not getting displayed in snmp-trap messages

my problem is about Ip Address which I am receiving on the windows system snmp-trap messages,is some thing like that UDP: [192.168.1.150]:1029->[0.0.0.0]:0 while same trap message on linux system ...
5
votes
1answer
389 views

SNMP bytes received disagrees with ifconfig

SNMP ifInOctets = 2145342796 - about 2GB. ifconfig: RX bytes:174302710687 (174.3 GB) Interestingly, the sent bytes agree almost perfectly: ifOutOctets: 1002415050 - about 1GB ifconfig: TX ...
1
vote
1answer
205 views

Solaris 10 snmp exec multiple strings

I am trying to use snmp to query a directory listing. I have added the exec line to snmp.conf ("exec list /bin/ls /pathtodirectory") and restarted the service. When I perform an snmp walk for the exec ...
0
votes
2answers
1k views

net-snmp snptranslate dosnt work for my MIB (snmpget does work)

I add my own MIB module to net-snmp. I put my Mib txt file under - '/usr/local/share/snmp/mibs' I see that if i change net-snmp files their the change is reflected , so this mibs are loaded ...
2
votes
1answer
2k views

Did not find 'zeroDotZero' in module SNMPv2-SMI

I have a perl script that searches through our switches to find which one hosts a given IP address; this script uses net-snmp libraries to poll through a daisy-chain of ethernet switches (think core / ...
1
vote
0answers
199 views

snmptrap and snmptt - authcommunity not found

I am trying to configure snmptt to translate the snmp traps received and handle them as passive checks in an icinga monitoring server as described here. after doing the changes to the snmptrapd.conf ...
0
votes
1answer
328 views

snmp trap using disman-event mib related issue

notificationEvent ifMtu.1 IF-MIB::ifMtu.1 1.3.6.1.2.1.2.2.1.4.1 monitor -I -u root -s -t -r 18 "Warn: High ipp Usage" -e ifMtu.1 1.3.6.1.2.1.2.2.1.4.1 != The above lines are in my snmpd.conf file ...
12
votes
2answers
1k views

16TB Volumes and SNMP On Windows

As volumes larger than 16TB became more common, it was recognized that the 32 bit value used to report disk size and usage within the standard "HOST-RESOURCES" MIB in SNMP was not large enough to ...
4
votes
2answers
673 views

Snmpd update interface counters slowly or something like this

I update one my freebsd box to 9-stable (totally new installation) and install net-snmp for monitoring. uname -r 9.1-PRERELEASE pkg_info net-snmp-5.7.1_7 Information for net-snmp-5.7.1_7: ...
0
votes
1answer
251 views

netsnmp - how to register string? [closed]

I use net-snmp. I try to add my own mibs (no need in handler, just a MIB that i can get and set by snmp call), so i followed the scalar example. In order to add my own mibs i defined them in the mib ...
6
votes
1answer
4k views

snmptt not translating traps, even with translate_log_trap_oid=1

I am having some trouble configuring snmptt to properly translate snmp traps. The following is a problem: /etc/snmp/snmptt.conf reflects: EVENT fgFmTrapIfChange .1.3.6.1.4.1.12356.101.6.0.1004 ...
0
votes
1answer
2k views

snmp.conf how to allow any remote client

Using linux (Ubuntu) with net-snmp. I want to allow any remote client to execute snmpget. The remote client not have to be from the same subnet , so i cannot do this by define subnet. Now i add line ...
3
votes
1answer
2k views

Why do SNMP agents need MIB files?

After reading up on SNMP and some of the questions help here I think understand the agent role as a SNMP service to device (Like SQL, it is an API to storage). When you execute a SQL query the SQL ...
-5
votes
1answer
2k views

how to instal snmp server in redhat linux?

I am having some problem with snmp server installation.I want to install snmp server and agent also by which i can query to my local host. i have downloaded the snmp tar version as I want to write a ...
1
vote
1answer
508 views

Spoofing origin host using snmptrap

I'm about ready to lose my mind with this... I need to spoof the host that snmp traps are being sent from using the snmptrap command. The man pages for snmptrap state that you can utilize common ...
2
votes
3answers
4k views

How to find all the snmp enabled devices in my network?

I want to find all the snmp enabled devices in my network, I got something like how it works in a agent and manager architecture. I got net-snmp library to create a simple application to get the snmp ...