Questions tagged [snmpd]
snmpd is a daemon to respond to SNMP (Simple Network Management Protocol) request packets.
75
questions
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 ...
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?
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 ...
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
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:...
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 (/...
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
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 ...
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 ...
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 ...
0
votes
1
answer
370
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
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 ...
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 ...
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
votes
1
answer
316
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) ...
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 ...
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 ...
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]:~$ ...
0
votes
1
answer
754
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 ...
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:
##########################...
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 ...
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 ...
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
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 ...
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
159
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
382
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
72
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 ...
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. ...
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 ...
0
votes
1
answer
9k
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
286
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 /...
-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
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 "...
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 ...
0
votes
1
answer
293
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 ?
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:
...
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 ...
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 ...
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 ...
0
votes
1
answer
5k
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 - ...
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
##
...
0
votes
1
answer
160
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
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 ...
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
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 ...
-2
votes
1
answer
334
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
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:
...