Questions tagged [snmp]

Simple Network Management Protocol(`snmp`) is an "Internet-standard protocol for managing devices on networks.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 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
1answer
52 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
0answers
18 views

Missing dependencies to install net-snmp

This is set up on CentOS 7 I was trying to install net-snmp via rpm (our yum wont work at all). so I gathered the following rpm packages: (all from the centos updates repository) net-snmp net-snmp-...
0
votes
0answers
33 views

Create custom OID in net-snmp agent

I'm very new to snmp development, so what I want to achieve is that, I want to create an SNMP agent with custom OID using C or C++ shell on a linux machine/server. I have a PEN but I have no idea ...
0
votes
0answers
13 views

SNMPTRAP - Send a trap with a custom summary

I am trying to figure out how to use snmptrap command to send a trap with a custom summary to a SNMP destination. For example, there is a script that runs on a server, and that script telnets to ...
0
votes
0answers
19 views

monitoring service on redhat server by snmp

I have a server dedicated to running syslog-ng and service crash sometimes (I don’t know why for now). I would like to find a way to monitor this service or sending a trap when syslog-ng crashes. ...
0
votes
1answer
11 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 ...
0
votes
2answers
962 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
1answer
147 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
1answer
242 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
1answer
51 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 ...
1
vote
0answers
59 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
1answer
380 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
0answers
163 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
0answers
24 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
1answer
978 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
1answer
120 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 ...
0
votes
2answers
137 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
2answers
41 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
1answer
35 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
1answer
531 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
1answer
96 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
1answer
48 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
0answers
132 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
0answers
306 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
0answers
36 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
1answer
345 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, ...
-1
votes
1answer
2k 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
0answers
129 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
1answer
808 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(...
2
votes
2answers
11k 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 ...
0
votes
1answer
884 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
1answer
206 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
1answer
2k 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
1answer
338 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
1answer
372 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
1answer
521 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
1answer
275 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
0answers
530 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 "...
0
votes
1answer
958 views

snmptt running as non-root, writting to file as root

I'm running snmptt as a SNMP trap handler for snmptrapd, with the aim being to write to a trap file that can be read and processed by Zabbix. I have set up snmptt to run as the zabbix user by ...
0
votes
1answer
96 views

CentOs DISMAN-EVENT-MIB_mteTrigger not fired when average load thresholds are breached

I'm using CentOS OS with the following SNMP config. ###### CPU load monitoring ######## load 12 10 5 monitor -r 60s -o laNames -o laErrMessage "laTable" laErrorFlag !=0 When I increase the load (...
0
votes
1answer
283 views

Where does SNMP OIDs get the data from?

If I want to find out network traffic on my Linux Servers using SNMP. I use the ifOutOctets. and ifInOctets. OIDs in an snmpget request. Where do these OIDs get the data from? I tried looking at the ...
4
votes
1answer
11k views

How to configure snmptrapd to process incoming traps from a Juniper device?

I have a CentOS server (7.2). I am trying to configure this as a SNMP trap receiver. In my snmptrapd configuration, I am calling a very basic shell script just to identify if the trap was received: [...
0
votes
1answer
1k views

Python and snmpset with netsnmp

On the linux command line, centos 7, I can to do this to change an snmp setting on a device. snmpset -v 2c -c private 172.16.1.2 .1.3.6.1.2.1.1.5.0 s new_name With python and netsnmp I can read the ...
2
votes
0answers
3k views

SNMP query the network range for multiple OIDs

I looked for any SNMP scanner tool for Linux that can SNMP query an IP range for multiple OIDs and return results (if found), but didn't find anything. I have SNMP installed on Ubuntu, is it ...
1
vote
1answer
1k views

Debian stretch: upgrade of `snmpd` giving an error

During the latest security upgrades, snmpd was upgraded to 5.7.3. Before finishing the procedure, apt-get upgrade starting giving the error: Starting SNMP services::Bad user id: snmp snmpd is ...
0
votes
1answer
5k views

Bash script to parse SNMP output

I am working on monitoring a Cisco device where I would need to parse the snmp output and print it in separate more verbose lines. Through the command line I can do this: snmpwalk -m /usr/share/snmp/...
6
votes
2answers
12k views

Nmap scan for SNMP enabled devices

Nmap scanning network for SNMP enabled devices: sudo nmap -sU -p 161 --script default,snmp-sysdescr 26.14.32.120/24 I'm trying figure out how make that nmap return only devices that have specific ...
1
vote
0answers
116 views

snmpd configuration + how to set snmpd correctly

Regarding the following snmpd.conf file: more /etc/snmp/snmpd.conf rocommunity bingo 127.0.0.1 rocommunity bingo server18 rocommunity bingo server19 syscontact server3 syslocation UNKNOWN ...
1
vote
0answers
491 views

Incorrect used memory result by snmp hrSWRunPerfMem

We have few Esxi 5.0 server (with 64GB memory in each srvr) & snmp is enabled. As per my research there is no oid for used/available memory OID, it have only hrMemorySize.0. Therefore in order ...