Questions tagged [snmp]

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

0
votes
1answer
32 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
22 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
34 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
27 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
22 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
13 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
19 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
0answers
2 views

No auth and no privilege in snmv3

There are three level of authentication and privilege in snmpv3 ..But how NoAUth and NoPriv level provides authentication, data encryption and privilege
0
votes
0answers
24 views

Can I expose Docker container stats to SNMP

We have a system where it's possible to deploy containerized applications on a remote device. We would like a way to expose stats on a per-container basis to SNMP to aid in troubleshooting these ...
0
votes
0answers
18 views

how to find snmp device is switch, router or printer?

I am discovery Network devices any I have some of the information like IpAddress snmpVersion Community String Udp host port using above information I am able to discover Network device but how I ...
0
votes
1answer
34 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 -...
1
vote
0answers
39 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
129 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
19 views

how to get enumerated out from snmptrap?

I have the following part in my own MIB: Severity OBJECT-TYPE SYNTAX INTEGER { clear( 0 ), warning( 1 ), ...
0
votes
0answers
23 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
62 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
0answers
71 views

NUT on FreeBSD unable to detect UPS

I've been trying to get my APC SNMP v3 UPS to work with NUT (network UPS tools) on FreeBSD 11.2. It's not detecting it. What I've done so far Clean install FreeBSD 11.2 AMD64 and check UPS pingable ...
-1
votes
1answer
563 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
65 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
376 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(...
1
vote
2answers
2k 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
306 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
137 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
1k 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
84 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
111 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
273 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
196 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
374 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
650 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
69 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
200 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 ...
3
votes
1answer
7k 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
862 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 ...
0
votes
1answer
1k views

snmpd service failed to start on Red Hat 6

I got the following error when I try to start the snmpd service: service snmpd start **Starting snmpd: [FAILED]** Log say: 2017-02-13T13:09:54.473284+01:...
2
votes
0answers
2k 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
870 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
3k 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
8k 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
105 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
398 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 ...
1
vote
0answers
63 views

Nagios/SNMP - devices alerting when ppp/tun connections cycle

Sorry if this is a repeat. I searched, but with no luck. I'm using SNMPd on an openwrt/wr host with some ppp and tun connections. These connections get IDs in the if table, and will actually get a ...
2
votes
0answers
99 views

How can set value for mteHotContextName when using monitor process in SNMP

I'm using RHEL 5, I tried to find some way to set value for set value of mteHotContextName or mteHotTargetName of DISMAN-EVENT-MIB but I can't find the answer. I searched in stacoverflow but nothing ...
0
votes
2answers
2k views

How to calculate disk IO load percentage?

The following is net-snmp output and as you see, diskIOLA is not availabe: SNMP table: UCD-DISKIO-MIB::diskIOTable diskIOIndex diskIODevice diskIONRead diskIONWritten diskIOReads diskIOWrites ...
0
votes
1answer
188 views

How to use SNMP to get any information that we need in Redhat?

I am new to SNMP and I can not find any clear article if we can add a data node in SNMP. And also how does SNMP collect data? I want to monitor the following resources, which can be obtained from ...
1
vote
0answers
522 views

Setting multiple SNMP OID values at once as a single action

I'd like to be able to configure the component of a software stack through SNMP. I integrated Agent++ into the software, and can already control other values via SNMP. I can detect snmp set operations ...
1
vote
0answers
631 views

Test/Simulate SNMP traps on disk failures

On my monitored system I configure SNMP to sent traps in the event that hardware failures occur. For example, I add the following (rather well-known) line to my snmpd.conf file: monitor -60 -o ...
0
votes
1answer
114 views

Bash script to filter specifc entries from snmpd.conf

I am working on a script to filter community entries from snmpd.conf Script is: SERVER=$(hostname) touch /tmp/snmp_audit_$SERVER echo $SERVER >> /tmp/snmp_audit_$SERVER SNMP=$(cat /etc/snmp/...
0
votes
1answer
2k views

Error installing php-snmp in CentOS

I'm currently on php 5.6 on CentOS 6.7. I'm trying to install yum install php-snmp I keep getting Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Loading ...
0
votes
1answer
831 views

parse snmpwalk output to array

Im trying to get network interfaces by doing a snmpwalk, but cannot separate in array, the variable stores all in element 0 ifname=(\$(snmpwalk -Oqv -v2c -c comm xxx.xxx.xxx.xxx 1.3.6.1.2.1.2.2.1.2))...