Questions tagged [snmpd]

snmpd is a daemon to respond to SNMP (Simple Network Management Protocol) request packets.

Filter by
Sorted by
Tagged with
41 votes
6 answers
82k views

Reduce SNMPd logging verbosity

SNMPd on my CentOS systems is sending log messages to syslog every time it receives a query from my monitoring tools. Is there a way to lower the verbosity of SNMPd? It adds a lot of clutter to the ...
wjimenez5271's user avatar
7 votes
1 answer
10k views

Can I give my own MIB any OID that I want? Is there a convention to application MIB OID?

I created a scalar MIB for my application, monitor request_queue_size. I followed the write MIB tutorial . The OID there is a long hierarchical OID. I wonder if I can give a short hierarchical OID ...
Avihai Marchiano's user avatar
7 votes
2 answers
8k views

SNMP Extend not working

I've got a server running Postgresql 9.1 replication. I wrote a script which prints out the current replication lag (master inserts a unix timestamp every 60s, and the slave compares it to the ...
Tom O'Connor's user avatar
  • 27.6k
6 votes
2 answers
19k views

How to disable version 1 and version 2c in snmpd?

Because I just use snmp v3 and want to disable version 1 and version 2c in snmpd. How can I do this?
JMW's user avatar
  • 1,473
5 votes
1 answer
1k 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 bytes:...
NightFalcon's user avatar
4 votes
1 answer
6k views

Using an include directory with SNMP (snmpd.conf)

I'm having to add a number of extend directives to snmpd.conf, and each of the extends are actually apart of various monitoring groups. It makes a lot of sense to collect each group into a single ...
Joe's user avatar
  • 514
4 votes
1 answer
10k views

SNMP - snmpwalk does not return textual OIDs

I have snmpd running on an Ubuntu Linux system with a simple /etc/snmp/snmpd.conf: rocommunity public snmpd is listening on localhost. From the same system, I am running: snmpwalk -v 1 -c public ...
wirate's user avatar
  • 51
4 votes
2 answers
13k 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 ...
Avihai Marchiano's user avatar
4 votes
1 answer
19k views

Cacti not working for SNMP data sources

I installed packages cacti and snmpd on a Debian server. I'm able to display common graphs in Cacti (such as memory usage, load average, logged in users, etc) using the data templates listed as Unix. ...
lorenzo-s's user avatar
  • 347
4 votes
2 answers
5k views

Howto prevent snmpd cache results from extend script

On my freebsd box i have snmpd daemon from net-snmp-5.5_4 packet. In snmpd.conf file i have: extend .1.3.6.1.4.1.2021.2 inpt /usr/bin/perl /usr/local/etc/snmp/mpdinput.pl where mpdinput.pl my ...
Korjavin Ivan's user avatar
4 votes
0 answers
583 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 ...
Ignacio Verona's user avatar
3 votes
1 answer
18k views

How does snmpd know where to send a trap?

I'm trying to get my head around our snmpd.conf file in order to begin managing snmp with puppet. The existing file has several alarms setup for things like excessive disk space, load, etc. I'm ...
Andy's user avatar
  • 215
3 votes
3 answers
8k views

snmpd.conf: can't exec script (Permission denied)

I am trying to exec command to perform checks through snmp. I am on Debian 6.0 Here is my snmpd.conf file rwcommunity public 172.23.129.0/29 syslocation "Blah syscontact [email protected] sysname ...
philippe's user avatar
3 votes
3 answers
19k views

SNMPD bind error in Ubuntu 14.04 Server

I am trying to get SNMPD working on my Zenoss server that runs Ubuntu Server 14.04. I installed it and configured it but when I start it up, i get the following error in syslog: Aug 14 08:19:16 ...
Caynadian's user avatar
  • 466
3 votes
3 answers
11k views

How to restart snmpd on Opensolaris after changing snmpd.conf?

I need to restart snmpd after updating /etc/snmp/conf/snmpd.conf, so it recognizes the changes. I'm using Net-SNMP 5.4.2 on Opensolaris 10. I've tried these two: snmpd restart kill -9 pid The kill ...
Banjer's user avatar
  • 4,024
3 votes
4 answers
18k views

Finding out why Dell Controller is Degraded

I installed open manage on a couple of my PE 2950s for snmp monitoring of the RAID. All the checks seem to come back okay except for controllerState: [root@aMachine ~]# snmpwalk -v 2c -c ...
Kyle Brandt's user avatar
  • 84.3k
3 votes
1 answer
552 views

SNMPD Numbers added to my OID

I've registered my own oid with IANA. For this post we'll call it 99999. so in my snmpd.conf file (Ubuntu 14) I added the following line extend .1.3.6.1.4.1.99999.1 test /bin/echo hello When I ...
Ian Chilvers's user avatar
2 votes
2 answers
5k 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]:~$ ...
Sammitch's user avatar
  • 2,151
2 votes
4 answers
46k views

Snmp configuration giving me timeout, no response

This is definitely not a firewall issue as no firewalls are in between the src and tgt machines. I'm simply setting up snmp to be queried by a nagios server. My snmpd.conf looks like the following (I'...
imaginative's user avatar
  • 1,981
2 votes
1 answer
2k views

Forwarding SNMP GET requests

I have a cluster of linux servers and a single (gateway) linux server that can access the machines in the cluster by hostname or ip. From outside of the cluster the machines are not accessible by ...
user avatar
2 votes
2 answers
12k views

snmpget error: “No Such Object available on this agent at this OID”

I want to create my own MIB. I'm struggling on this from couple of weeks. I followed this tutorial and using net-snmp 5.7.3. What I'm doing is: My setup: I have two VM's, both Ubuntu 16, one is ...
Ashish Srivastava's user avatar
2 votes
1 answer
639 views

Problems about snmpd configuration on Ubuntu

I have the following questions about the configuration of snmpd service on Ubuntu server 16.04 LTS: Question 1: In the /etc/snmp/snmpd.conf, there is a snippet of comment: ##########################...
Aetherus's user avatar
  • 123
2 votes
1 answer
2k views

How to define another source IP in snmp traps

I'm looking for a way to change source IP in traps sent by snmpd (CentOS 6.6). My requirement is to set in trap configurable virtual IP (VIP) instead of real station IP in case of system defined in ...
Alex Fooks's user avatar
2 votes
1 answer
2k views

snmpd.conf disk directive dskIndex order

I'm trying to configure snmpd on my CentOS hosts to monitor the free disk usage in percent. If I set snmpd.conf to disk / disk /var , the values can be queries with 1.3.6.1.4.1.2021.9.1.1.1 for "/...
zero_r's user avatar
  • 2,455
2 votes
0 answers
886 views

Can't get NetSNMP agent to answer using my prorietary MIB

I have to add a proprietary MIB to debian's snmpd that I must be able to query (get and set) from another networked computer on a non-standard UDP port (network aspects will be a further step). I ...
Daniel's user avatar
  • 21
1 vote
3 answers
10k views

How to selectively use mutliple interfaces with Net-SNMP?

I have this monitoring network setting for Net-SNMP 5.7.2.1 listening to multiple Ethernet interfaces on my home gateway but it would only take the following combination from the snmpd.conf ...
John Greene's user avatar
1 vote
1 answer
9k 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 ...
Avihai Marchiano's user avatar
1 vote
1 answer
994 views

Differences in SNMPD.conf between CentOS 5 and RHEL 5

I find myself vexed this afternoon, I have recently taken on some RHEL5 servers on board and have found something rather peculiar, most likely I am missing something glaringly obvious so please let me ...
Oneiroi's user avatar
  • 2,063
1 vote
1 answer
8k views

SNMPD starts without errors but is not listening on any port?

HP ProLiant DL360 G7 running CentOS6 5.7 with Net-SNMP 5.3.2.2-14. I have 7 of these servers in a remote site all running mixture of CentOS 5.7 and RHEL 5.7 with same Net-SNMP installed from RPM. On ...
Lukasz's user avatar
  • 482
1 vote
1 answer
1k views

Will the OID for a custom extend SNMP call be the same on multiple boxes?

CentOS 5.7 | SNMPD This question is a little messy so I apologize in advance for any confusion. I'm using the extend command in /etc/snmp/snmpd.conf to run a script. I later used the snmpwalk ...
Mike B's user avatar
  • 12k
1 vote
1 answer
2k views

Debian Testing - SNMPD Configuration for Zenoss

Linux server1.xen.prgmr.com 3.0.0-1-686-pae #1 SMP Sat Aug 27 16:41:03 UTC 2011 i686 GNU/Linux snmpd 5.4.3~dfsg-2.3 zenoss-stack 3.2.1-0 I have installed Debian Testing, Zenoss and smpd on the same ...
Justin S's user avatar
  • 350
1 vote
1 answer
1k views

snmp get value from a file

I've a script getting value in form of 33333 or 23939 etc. i.e. ./script output: 24310 Is there any possibility that i could monitor in nms over snmp by using the above value. If the value is greater ...
User4283's user avatar
  • 781
1 vote
1 answer
4k views

monitoring keepalived with snmp

I am trying to monitor keepalived with snmp. Here are the relevant part of the config: /etc/snmp/snmp.conf # As the snmp packages come without MIB files due to license reasons, loading # of MIBs is ...
Max's user avatar
  • 143
1 vote
1 answer
1k views

Install SNMP on Debian Squeeze

I know Debian Squeeze (v6.0) is EOL and LTS officially ended in Feb. However, i have a few squeeze server (cant be upgraded for now) and i must monitor those Via SNMP. My problem is that all squeeze ...
Joe's user avatar
  • 376
1 vote
1 answer
933 views

Graph on cacti linux sub interfaces network usage

i'm trying to find the way to create specific network usage. I just added new subinterfaces (eth0:1, eth0:2) on my server, restarted net-snmpd but on cacti server only export the main interface: ...
reiven's user avatar
  • 11
1 vote
1 answer
2k 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 ...
Greg's user avatar
  • 11
1 vote
1 answer
182 views

SNMP segfaults on Ubuntu 10.04 after some time

Just had snmpd segfault on an Ubuntu 10.04 LTS box. snmpd has been running on this system for some time (weeks). There has been a reasonable amount of load, but nothing too extreme for the system. ...
wjimenez5271's user avatar
1 vote
0 answers
27 views

Connection from UDP: [172.X.X.X]:44313->[172.X.X.X]:161SNMP logging Messages on SSH connection

Evey time we do an SNMP query.We get Connection from UDP: [172.X.X.X]:44313->[172.X.X.X]:161 Obviously, this is an annoyance rather than a problem Is there away to hide them to see on SSH ...
shashikant's user avatar
1 vote
0 answers
646 views

I am getting 403 forbidden error while accessing cacti from the browser

I can't access cacti from my browser although I have configured the cacti.conf file and also my cacti directory permission is 755. I have disabled selinux as well but still, I can't access cacti from ...
Kulsum Siddique's user avatar
1 vote
1 answer
580 views

SNMP service crashes on reload - Kernel error

My server has a SNMP service (NET-SNMP) started with systemd. It runs well, except that every 3 days, at 3:00 PM, the service crashes. I notice in the log that there is a reload of the agent. Then it ...
jayooin's user avatar
  • 294
1 vote
0 answers
15k views

CentOS - SNMP timeout: No Response from remote host

Hopefully someone can help me, I've searched this site and none of the answers have proven successful. I've spun up a CentOS VM and installed net-snmp & net-snmp-utils. I am trying to do a ...
yaySecurity's user avatar
1 vote
0 answers
940 views

SNMP monitoring

I trying configure SNMP trap in CentOS without positive result. Purpose: Configure SNMP trap on SNMP Agent for checking if file exist and send message to SNMP Server. For testing purposes I've put "...
jackaaxc's user avatar
1 vote
0 answers
521 views

UC Davis (1.3.6.1.4.1.2021) MIBS not working with SNMPv3

I made a SNMPv3 setup in order to test how it can be integrated with some third party scripts. I need to use some of the MIBS from 1.3.6.1.4.1.2021 in order to do this but couldn't manage to ...
Sebastian Strajan's user avatar
1 vote
1 answer
773 views

SNMPD - Add custom OID not working

I've got an application which keeps an error counter in a table in MySQL. I want to be able to put this information into Cacti for long term graphing, so I'm learning about SNMP now. I want to write ...
Joshua Michael's user avatar
1 vote
0 answers
376 views

snmpd won't generate traps

I'm trying to get snmpd to inform our monitoring system when an event such as low disk space takes place. I'm using snmpd on Debian 8. My snmpd.conf file looks like this: ## # Daemon ## ...
MTeck's user avatar
  • 163
1 vote
0 answers
111 views

Is it possible to add support for additional OIDs in SNMPD (RHEL)

I am trying to have my monitor poll the number of ESTABLISHED TCP sessions on a Linux server that is running snmpd. The OID information I am trying to poll can be found Here . The OID is ...
LinuxGuy2902934's user avatar
1 vote
0 answers
2k views

SNMP agent for LSI MegaRAID does not display updated Temperatures

I have an ASUS PIKE 2208 ( this is LSI SAS2208 ROC ) configured and working with four physical drives. Additionally I have installed the LSI SNMP agent. The agent provides all the data defined by the ...
Marm0t's user avatar
  • 379
1 vote
1 answer
2k views

snmpd not working in centos 6

I have centos 6.4 64-bit. snmpd is not working properly: when I restart I get the following Nov 18 12:43:31 hector kernel: CIFS VFS: No task to wake, unknown frame received! NumMids 58 Nov 18 12:43:...
shorif2000's user avatar
1 vote
0 answers
825 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 -...
Prem's user avatar
  • 11
1 vote
0 answers
786 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 ...
user674669's user avatar