Questions tagged [snmpd]
snmpd is a daemon to respond to SNMP (Simple Network Management Protocol) request packets.
75
questions
1
vote
0
answers
29
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 ...
0
votes
1
answer
375
views
Unable to create selinux policy to allow drbdadm to run
In snmpd.conf I have
exec drbd_cstate /sbin/drbdadm cstate all
exec drbd_role /sbin/drbdadm role all
exec drbd_state /sbin/drbdadm dstate all
With selinux set to permissive if I were to run the SNMP ...
-1
votes
1
answer
323
views
Snmpd stop working without any changes
I am monitoring multiple server/router with snmp. Everything was working but today I saw that 3 server was not responding anymore via SNMP. The 3 snmp daemon stoped at the same moment (Saturday 6 AM) ...
0
votes
1
answer
760
views
monitoring keeplived virtual IP with snmp
I am trying to monitor keepalived VIP with snmp. I got keepalived running on two servers. We had the situation that suddenly the VIP was on both servers which was a big problem, since these servers ...
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 ...
1
vote
0
answers
650
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 ...
1
vote
1
answer
588
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 ...
0
votes
0
answers
2k
views
SNMP timeout/stuck mid way
I have a proxmox 5.2 machine (4.15.18-8-pve) and snmp installed with default config. when I do a snmpwalk it outputs some information but then hangs.
Any future snmpwalk requests don't get any ...
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 ...
0
votes
1
answer
162
views
what is "tcpConnState.0.0.0.0.12000.0.0.0.0.0"?
I found below snmpget command in bash script which is used to check the remote server status; is the remote server up or down.
Command is
snmpget $1 tcpConnState.0.0.0.0.12000.0.0.0.0.0 | grep ...
0
votes
0
answers
383
views
snmp not responding under heavy network load
We have a group of servers with high usage of cpu and network (with 10 Gb bandwidth). Under this circumstances snmpwalk requests to this servers got timeout. So we can't monitor them.
The question is ...
0
votes
2
answers
73
views
snmptrap not executed, just return version
I'm having trouble receiving the traps on my destination computer.
On the destination machine I have a snmptrapd server running normally.
He executed the following command in a linux that would be ...
0
votes
1
answer
3k
views
RedHat 7 snmpd service failed due to Name or service not known
I have a RedHat 7 server installed, but I cannot start the snmpd service due to:
server11# systemctl status snmpd
snmpd.service - Simple Network Management Protocol (SNMP) Daemon.
Loaded: loaded (/...
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 ...
0
votes
1
answer
10k
views
Timeout while trying to query a SNMP server
I am trying to perform a query to a snmp server but I always obtain a timeout error. I am working with SLES 11 (OpenSUSE) and the firewall is disabled.
The query I am executin is:
> snmpwalk -...
0
votes
1
answer
294
views
Getting errors when retrieving the list of MIBs from a snmp daemon
I'm trying to configure and use the SLES 11 (OpenSUSE) snmp daemon.
The first thing I want to do is to run the snmpd daemon and query the availables MIBs. I do this by executing the following:
sudo /...
2
votes
1
answer
655
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:
##########################...
-1
votes
1
answer
372
views
What is the meaning of the sysContact object in snmpd.conf?
I have the following snmpd.conf file in my linux machine
rocommunity blmlom 127.0.0.1
rocommunity blmlom hty.corp
rocommunity blmlom hty.corp
syscontact [email protected]
syslocation UNKNOWN
...
1
vote
0
answers
944
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 "...
0
votes
1
answer
296
views
How calculate printer average-toner-coverage used per page using SNMP
I want to know the rage toner used per page, for example:
for one page print was used x toner
for other page print was uses 2X toner
I suppose are some SNMP mibs/oids to do this;
some idea ?
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 ...
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 ...
1
vote
0
answers
525
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 ...
1
vote
1
answer
778
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 ...
0
votes
1
answer
6k
views
Can a snmpd.conf access control entry contain multiple networks?
If I want to restrict SNMP access to a list of networks in snmpd.conf, can I do something like:
rocommunity secret 10.0.0.0/24, 172.10.0.0/16
(Just so nobody chastises me - "secret" is an example - ...
0
votes
1
answer
3k
views
How to clear or stop net-snmpd.log?
System: 3.10.17-gentoo
NET-SNMP version: 5.7.3.pre5
ps ax: /usr/sbin/snmpd -p /var/run/snmpd.pid
/etc/conf.d/snmpd: #SNMPD_FLAGS="${SNMPD_FLAGS} -Lsd -Lf /dev/null"
/var/log/net-snmpd.log:
...
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 ...
1
vote
0
answers
377
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
##
...
0
votes
1
answer
161
views
snmp on rhel cluster : from virtual address to a node
I am currently trying to set a server/client configuration, and i'm struggling a little with snmp behaviour. Just to precise, i'm not really into linux administration, nor network administration, so ...
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 ...
1
vote
0
answers
112
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 ...
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 ...
4
votes
0
answers
585
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 ...
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 ...
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 ...
-2
votes
1
answer
335
views
how to write a script to get ifInOctets and ifOutOctets? [closed]
Can any one help me with writing a script to get ifInOctets and ifOutOctets from a server 10.38.2.24 ?
I need help
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 ...
1
vote
1
answer
935
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:
...
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]:~$ ...
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:...
1
vote
0
answers
829
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
1
answer
1k
views
(bsnmpd), uid 0: exited on signal 6 (core dumped) / Syntax error: word unexpected (expecting "then")
I'm using FreeBSD 9.2-RELEASE:
# uname -a
FreeBSD f9.alexus.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 [email protected]:/usr/obj/usr/src/sys/GENERIC ...
-1
votes
1
answer
7k
views
How to find SNMP community string?
I've been trying to find the SNMP community string in Ubuntu here, but haven't had much luck.
I'm using Ubuntu 12.10 and have followed the instructions here, but my /etc/snmp/snmpd.conf file has ...
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 "/...
1
vote
0
answers
795
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 ...
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 ...
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 ...
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:...
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. ...
0
votes
1
answer
1k
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 ...