Questions tagged [snmp]
Simple Network Management Protocol(`snmp`) is an "Internet-standard protocol for managing devices on networks.
120
questions
-1
votes
0
answers
41
views
configure SNMP Daemon for v2/v3 and manage v3 users (add/delete)
I'm here to ask for help about snmp configuration. I'm pretty new to snmp so I hope to be clear and do not write wrong things. I also hope this is the write forum.
My current architecture is composed ...
0
votes
1
answer
85
views
Why does snmpwalk show only numerical OIDs in some situations?
I have several Debian 11 systems from which I query network appliances over SNMP - these are the snmp packages:
# dpkg -l | grep -i snmp
ii libsnmp-base 5.9+dfsg-...
0
votes
0
answers
38
views
Unable to receive snmp trap from a siemens device
I have a Siemens switch whose IP I have assigned as 192.168.0.1. I have installed the net-snmp snmaptrapd application on my ubuntu system whose IP is 192.168.0.2 and am trying to get the traps from ...
0
votes
1
answer
23
views
SNMP forwarder to reduce load of switch
I have a core switch and running SNMPv3 on this.
I need to reduce load of my switch. So if I have a SNMP Forwarder and do snmp on my core switch and other server snmp on my SNMP Forwarder, Do you know ...
0
votes
0
answers
95
views
Not able to get snmptrapd traphandler to fire
The client system is running Pop OS (Ubuntu 12.1.0) with snmpd v5.9.1 and I'm sending trap messages from both an Ubuntu server (9.3) w/ snmpd v5.8 and a machine running TrueNAS Scale, (latest build 22....
0
votes
1
answer
54
views
I'm curious about the difference between running a daemon with a systemctl command and running it directly [duplicate]
I had a question while dealing with the issue related to snmp in my project.
If you enter the following command to execute snmpd with various options, snmpd will be executed without any problem.
$ ...
0
votes
1
answer
614
views
Systemd does not seem to be generating the Main PID properly
I modified the /lib/systemd/system/snmpd.service file as needed.
Below is the contents of the snmpd.service file that I modified.
[Unit]
Description=Simple Network Management Protocol (SNMP) Daemon.
...
2
votes
1
answer
132
views
How to generally restore configurations files ? (SNMP)
I wanted to know what should I do to restore the configuration files if I've modified or accidentally deleted a file.
In my case, I'm talking about /etc/snmp/snmpd.conf, what command should I use to ...
0
votes
0
answers
109
views
How can I do snmp v3 queries using DH on Debian 11?
snmp tool: net-snmp v5.9
os: Debian 11
I saw an article here that gives an example using DH (I assume this means diffie-hellman).
snmpget \
-v 3 \
-l authPriv \
-u v3localKeys \
-3k ...
0
votes
0
answers
109
views
restarting service remotely via snmp blocked by selinux/pam on Redhat8
I am having some trouble remotely starting/stopping/restarting a service through snmp.
It seems to work fine with SElinux set in permissive but with it in enforcing mode it will fail with this type of ...
0
votes
1
answer
132
views
SAR / syssstat issues
I am having issues with SAR not populating daily logs from the 10 minute interval runs it is supposed to be doing. I have the same configuration on multiple servers, and they are running sar just fine....
1
vote
0
answers
221
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
689
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
1k
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
310
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
509
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
221
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
79
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
2k
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
302
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
3k
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
741
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
248
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
180
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....
1
vote
1
answer
844
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
6k
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
181
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 ...
3
votes
2
answers
9k
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
585
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
2k
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
247
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
130
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
760
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
655
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
30
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
5k
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
1k
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
360
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
75
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
132
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
2k
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
369
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
162
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
1
answer
620
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
921
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
177
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
764
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
4k
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
251
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
2k
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(...