Questions tagged [snmpd]

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

75 questions
39
votes
6 answers

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 logs. Sep 12 13:05:40 myhost snmpd[7073]: Received…
wjimenez5271
  • 709
  • 2
  • 6
  • 16
7
votes
1 answer

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 like 1.1 . Is there any convention? My application…
Avihai Marchiano
  • 592
  • 3
  • 15
  • 32
7
votes
2 answers

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 current timestamp). I've added extend replag…
Tom O'Connor
  • 27,440
  • 10
  • 72
  • 148
5
votes
1 answer

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:1002418728 (1.0 GB) It's not an SNMP…
5
votes
1 answer

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
  • 1,451
  • 4
  • 19
  • 27
4
votes
0 answers

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 that counters so I'd like to expose them over SNMP…
4
votes
1 answer

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. Now I want to replace these graphs with new ones…
lorenzo-s
  • 347
  • 4
  • 10
  • 19
4
votes
2 answers

/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 view systemonly included .1.3.6.1.2.1.1 view …
Avihai Marchiano
  • 592
  • 3
  • 15
  • 32
4
votes
2 answers

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 script which return input-octets from some mpd5-ng…
Korjavin Ivan
  • 2,230
  • 2
  • 25
  • 39
3
votes
1 answer

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 get a snmpget with the oid .1.3.6.1.4.1.99999.1,…
Ian Chilvers
  • 407
  • 2
  • 7
  • 19
3
votes
1 answer

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 localhost and part of the output…
wirate
  • 31
  • 1
  • 4
3
votes
3 answers

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 zenoss snmpd[9904]: Turning on AgentX master…
Caynadian
  • 432
  • 2
  • 9
  • 24
3
votes
1 answer

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 file and then just add include somewhere in…
Joe
  • 472
  • 4
  • 15
3
votes
1 answer

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 assuming that when these conditions are reached an…
Andy
  • 215
  • 2
  • 3
  • 5
3
votes
3 answers

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 admin@domain.net sysname belleville.domain.net sysdescr "Syslog Domain…
philippe
  • 31
  • 1
  • 2
1
2 3 4 5