Questions tagged [snmp]
Simple Network Management Protocol(`snmp`) is an "Internet-standard protocol for managing devices on networks.
111
questions
0
votes
0
answers
14
views
How to monitor systemd timers and path-invoked systemd processes
We used to use cron and switched to systemd timers for a number of scheduled tasks on our machines. With cron, the solution wasn't perfect, but when things broke, we sent emails to a mailing list and ...
0
votes
1
answer
46
views
How can I use snmpwalk to determine what I'm able to monitor via SNMP on a device?
Let me preface this by saying I'm familiar with SNMP only in theory. This is my first time working with SNMP.
I'm trying to determine what variables can be monitored using SNMP on a Dell EMC ML3 Tape ...
2
votes
0
answers
98
views
Getting details on printers with SNMP?
Under which OID is such detailed information on the make, model and features of the printer usually found?
I have to answer this question I have been researching and have installed the following
apt ...
0
votes
0
answers
38
views
What to do when you have a newer version of a shared library?
I want to execute an executable, which depends on libsnmp-dev, of which I do not have the source. This binary depends on some shared libraries. When I execute ldd <application> to inspect, I get:...
0
votes
0
answers
32
views
Handle MAC address with bash for snmp
we want to retrieve the MAC address from our device via snmp. For that we run following command:
snmpget -v 1 -c COMMUNITY IP OID
Then on the device a script is executed (according to the selected ...
0
votes
0
answers
43
views
tcpdump to monitor snmp from subnet causing syntax error
I'm trying to monitor SNMP from 2 hosts on the same subnet; 10.52.17.31 and 10.52.17.32. They are on the only machines on that subnet.
Using the following commands I receive a syntax error:
tcpdump -...
0
votes
1
answer
58
views
SNMP Client no Responding on Debian10
I setup SNMP client on a Debian10 machine with minimal configurations, but the SNMP server cound't receive the SNMP from the client.
The snmpd.conf on client:
com2sec my-sec default abc123
group my-...
1
vote
1
answer
84
views
SNMPv3 on AIX from Linux shows authentication failure
I want to use snmpv3 on AIX, the client is Linux which use snmpwalk command
On AIX side I first create the hash of the password
pwtokey -p HMAC-SHA -u auth mypass 192.178.0.37
the command return this ...
0
votes
0
answers
39
views
AIX: Is safe to delete those files?
On my AIX Workstation I see a lot of tmp files in etc
find /etc/snmpdv3.director.tmp*|wc -l
203
Is safe to delete those files?
Some of them are from 2017, other 2020, other from last month.
The ...
0
votes
1
answer
648
views
SNMPWalk module not found
I am currently trying to get extended output on SNMPWalk.
I have installed snmp-mibs downloader and have been running download-mibs.
I am using the following command:
snmpwalk -v2c -c public [ip] -m ...
0
votes
0
answers
133
views
Linux SNMP ifindex persistence
As we know Linux acts according RFC and does not make persistent SNMP if index entries. After reboot ifindexes re-renders.
I'm using Linux server as a router, so it has at least 7 logical interfaces, ...
1
vote
1
answer
413
views
snmpwalk from remote results in timeout
I have three devices (A,B,C) in my LAN all running snmpd. Apart from the community string they all have the same snmpd configuration. They can all run snmpwalk to the other devices except when trying ...
2
votes
1
answer
266
views
Different disk usage using df command and check_snmp_storage.pl
I am Junior System Administrator working in IT monitoring field.
I have an issue with check_snmp_storage.pl script which shows certain partition (/var) disk usage some percent below than what df ...
1
vote
0
answers
116
views
SNMP Support in Linux for IF-MIB
I am trying to setup an SNMP agent in my Linux Box. I installed net-snmp and did some basic config. However while performing snmpget,snmpwalk operations. I am able to get the outputs for only system ...
0
votes
1
answer
22
views
Query the network range for the particular OID and print result
this bash script query the network range for the particular OID and return results.
#!/bin/bash
# snmpget command query the network range for target OIDs
for (( i=254; $i; i=$i-1 )) do host=10.250....
0
votes
1
answer
375
views
Keepalived SNMP not working
Im configuring Keepalived in a RHEL 7.
It working correctly all by snmp.
snmpwalk -v2c -cpublic 10.18.0.8 KEEPALIVED-MIB::vrrpInstanceTable
KEEPALIVED-MIB::vrrpInstanceTable = No more variables left ...
0
votes
1
answer
3k
views
What is OID,MIB? Check transfer amount by check_snmp
I am setting snmpd and try to check by check_snmp.
snmpwalk -c public -v 2c localhost
iso.3.6.1.2.1.1.1.0 = STRING: "Linux ik1-325-22819 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 ...
0
votes
1
answer
86
views
Unable to retrieve Squid OID information for monitoring proxy
I installed Squid and snmp on my CentOS 7 virtual machine and now I would like to monitor the proxy server using snmp.
The problem is that I cannot retrieve (by the snmpwalk command) any of the ...
1
vote
2
answers
6k
views
How can I change the net-snmp engineID
I'm using NET-SNMP 5.7.3 on Freebsd 12.1. I want to chane engineID with snmpset command.
snmpd.conf
rwcommunity private
I enter this command:
snmpset -v 2c -c private localhost e x ...
1
vote
1
answer
389
views
How can I send snmp trap from freebsd
I'm on Freebsd 12. I installed NET-SNMP version 5.7.3 on my system. The problem is in sending traps. For example the link up/down does not sending trap. The config files are:
snmpd.conf
view V ...
1
vote
1
answer
849
views
SNMPv3 traps in Zabbix
My question is about zabbix traps with SNMPv3 and snmptrapd service using zabbix_trap_receiver.pl. I have a switch on which I enabled SNMPv3 only, so the switch has no SNMPv1/2c rw or ro communities ...
0
votes
1
answer
157
views
Identify idle or minimized process
I'm trying to know if some GUI process is idle o minimized in Linux, using Net-SNMP.
I've been doing research and as far as I know, SNMP seems to be designed for monitoring services, not processes run ...
1
vote
0
answers
93
views
centos 7 with adaptex and problem with snmp
I have a supermicor server with centos 7 and adaptec 6504e and i monitor all of my servers hard disks by snmp with observium, i followed the adaptec user manual for enable snmp sub agent but observium ...
1
vote
1
answer
645
views
OpenNMS 24 installation in Debian Buster: unmet dependencies
Trying to install the last version of OpenNMS in the last stable version of Debian, following the official installation instructions leads to an apt error with the repositories:
root@triplecero:~# ...
0
votes
0
answers
343
views
Reply with same source ip address as incoming?
I have a system with two different ip addresses on same interface. Both IPs are connected to the same network. One of them is set as the default route; a side effect of this is that if a packet comes ...
0
votes
0
answers
26
views
Is there any other way to verify cpu on a remote machine besides snmp?
I am writing a script for Nagios that would be able to verify the cpu load on a remote machine
I have already this line
snmpget 127.0.0.1 -v 2c -c public .1.3.6.1.4.1.2021.11.9.0 | grep -Eo '[0-9]+$'...
0
votes
1
answer
3k
views
Zabbix "No Such Object available on this agent at this OID" while MIB already added
I am stuck with Zabbix Import MIB. In fact, the MIB already imported to MIB database. But, it still alerts: "No Such Object available on this agent at this OID"
Here I show you what I did:
I am ...
1
vote
1
answer
754
views
How can I access remote host on VM via snmp protocol?
I have two VMs installed and I want to request a snmpwalk system from one VM to another. I have two different IPs for each VM but when I write my request snmpwalk 192.168.1.32 -v 2c -c public systemI ...
1
vote
2
answers
295
views
Where can I get Nagios plugin for cpu/hdd monitoring?
I have already installed nagios-plugins-contrib:
sudo apt update
sudo apt install nagios-plugins-contrib
However, there are no any cpu / hdd management plugin.
I am using a Debian VM just in case.
...
1
vote
2
answers
45
views
What are Free SNMP management probes?
I have just started to learn SNMP protocols.
My colleague asks me to "understand the use of free SNMP management probes (available on the internet or in distribution supervision packages)".
...
0
votes
1
answer
87
views
How can I verify the web page response using snmp? [closed]
I have just started to learn snmp protocols and notably centreon program and I need to find out how can a verify a web-page response or a web-service (in HTTP simple mode).
The only sourse I have ...
0
votes
1
answer
1k
views
keepalived + snmp = No such Object available
I'm unable to query information for keepalived status via snmp, all I get is the following error:
$ snmpwalk -v 2c -c public localhost 1.3.6.1.4.1.9586.100.5
1.3.6.1.4.1.9586.100.5 = No Such Object ...
-1
votes
1
answer
231
views
When using the snmpstatus command, redirect any terminal output including 'Timeout: ...' to a variable
I am running bash 5.0.007-1 and net-snmp 5.8-2 on an up to date arch linux.
This line collects the status of a device:
snmpstatus -c public -v1 192.168.1.240
When the device is not powered on, ie ...
0
votes
1
answer
95
views
Can't access SNMP stack on rasp pi through router from WAN
Background
I am running the following
On my laptop the very latest version of arch linux with all the latest updates. It is from this laptop that I am querying an SNMP stack on a rasp pi
$ uname -...
2
votes
0
answers
243
views
Get all writable OIDs from snmpwalk
It's easy to do a snmpwalk to get a list of all the valid OIDs for a system. How can I tell which of those OIDs are read only, and which are writeable?
$ snmpwalk -v1 -c testing 256.256.256.256
...
0
votes
0
answers
636
views
iptables prerouting to multiple ports
I want to redirect SNMP traps.
Let's say, receive an SNMP trap on UDP port 162, and redirect the package to ports 10162 and 20162 (both of them). How can I achieve this using iptables?
I can ...
0
votes
0
answers
134
views
snmptrap - further confusion
I received really useful advice on this post:
Here
I fiddled with it some more and right now I've only got one box to work with. I opened two sessions, one of which I want to view the traffic dump, ...
0
votes
1
answer
545
views
snmptrap - underlying config?
I'm trying to get my Ubuntu LTS 16.04 server to send SNMPTraps to my HP OVO server.
The reason for this is that there are legacy devices on the network that cannot send an SNMP warning upon failure, ...
0
votes
1
answer
3k
views
Configuring SNMP Traps
I've got an Ubuntu LTS 16.04 Server that I want to act as a Manager. There will be a few hundred Multiplexer devices which need to forward traps to the Manager's IP.
I can't seem to find any SNMP ...
1
vote
0
answers
173
views
snmpd conf extend : set fixed value instead of execute external script
We have a monitor application, reading info thru snmp.
This app expects to gather some values from snmp extensions, via "extend".
On the monitored hosts, for various reasons (security, performance), ...
0
votes
1
answer
1k
views
How to trace snmp trap sent by client process?
We have a process(should be a client program) on RHEL 7.4 that send snmp traps to a Solaris server that has trap receiver process(should be a server program listening on 162/1691) on other machine(...
3
votes
2
answers
23k
views
SNMP - No Such Object available on this agent at this OID
I installed a snmpd into a CentOS 7 minimal installation for system parameters search, for instance:
snmpget -v 2c -c public 127.0.0.1 .1.3.6.1.2.1.2.2.1.2
for the above command I get the following ...
1
vote
1
answer
2k
views
How to route all snmp request to remote deivces from a local machine through a proxy server
I have to forward all snmp request to remote deivces from a local machine to proxy server. Is it possible ?
The actual requirement is like i have set of network devices that are only accessible ...
1
vote
1
answer
316
views
SNMPTRAPD on RHEL 6
So getting it up and running isn't the problem and receiving traps work fine, however, none of them are being translated despite the fact that I've installed the mibs. I have confirmed that the mib ...
0
votes
1
answer
8k
views
tcpdump tracing UDP packets
On redhat linux box, I am trying to trace the snmp traps coming from IP a.b.c.d, as shown below:
sudo /usr/sbin/tcpdump src host 142.125.248.36 and udp dst port 162 -w /home/user1/troubleshoot.pcap
...
0
votes
1
answer
858
views
Reset net-snmp? I've forgotten the initial user password
I created an SNMP initial user several years ago for a project and have forgotten the password. Is there a way to reset net-snmp back to default, no users, and recreate the initial user and subsequent ...
0
votes
1
answer
800
views
Extracting specific data from SNMP
I've completed an SNMP poll to get different licenses from my routers. I've successfully polled the information; I now want to be able to present it. A snapshot of the output I have is:
SNMPv2-SMI::...
1
vote
1
answer
860
views
Why is /proc/net/snmp not showing Udp InCSumErrors?
I'm running Oracle Linux 6.5, kernel 2.6.32-431.5.1.el6.x86_64.
When I look at the Udp snmp stats it does not show me InCsumErrors. How can I see this stat?
cat /proc/net/snmp | grep Udp\:
Udp: ...
1
vote
1
answer
338
views
Service snmpd calls gettimeofday syscall too many times
Recently I am facing an issue with snmpd service. I have a Linux box running CentOS 6.9, when I issue an snmpwalk on localhost usually all I get is a timeout, then I try adding a timeout value of 10 ...
1
vote
0
answers
729
views
How to make /proc/net/arp accessible?
The snmpd service on my debian system doesn't deliver traffic information of the network adapters. I found the following message in the syslog:
snmpd: Cannot open /proc/net/arp
When I execute now "...