Skip to main content

Questions tagged [snmp]

Simple Network Management Protocol(SNMP) is an Internet-standard protocol for managing devices on IP networks. SNMP generally operates over UDP.

Filter by
Sorted by
Tagged with
1 vote
0 answers
101 views

snmpd pass_persist function not working with snmpwalk

I have a program handling pass_persist from snmpd. It works fine for get and getnext requests. Get on 0.0 returns 0.0, and GetNext on 0.0 returns 0.1: user@debianbase:~$ sudo snmpget -v 2c -c public ...
John Moffitt's user avatar
0 votes
1 answer
288 views

Need help using nftables to drop SNMP packets containing a specific community string

I am trying to use nftables [v1.0.2 (Lester Gooch)] to drop SNMP packets containing the community string 'pawan'. I am trying to use the nftables payload expressions - raw payload expression to match ...
Pa1's user avatar
  • 101
0 votes
1 answer
159 views

snmpwalk: settings are not populated in the SNMP requests

I use snmpwalk 5.9.3 on Kali, and try to send SNMPv3 requests, but the settings I put with my command lines are not used to populate the sent request. For instance, when I try: snmpwalk -v 3 -l ...
truklimb's user avatar
0 votes
0 answers
341 views

How to calculate cpu usage in % with the raw CPU ticks in SNMP

I was wondering how to calculate the percentage of CPU usage using the raw values obtained via these oids: UCD-SNMP-MIB::ssCpuRawIdle.0 UCD-SNMP-MIB::ssCpuRawUser.0 UCD-SNMP-MIB::ssCpuRawSystem.0 I ...
Sitrix's user avatar
  • 1
0 votes
0 answers
129 views

snmpd on Synology DSM6 cannot be joined anymore : snmpget: Timeout (Sub-id not found: (top) -> sysName)

The snmp service on a Synology DSM6 cannot be joined anymore : SynoServer $ snmpwalk -v3 -A $MDP_SNMP -l authNoPriv -u svc_snmp localhost system | grep sysName.0 snmpwalk: Timeout (Sub-id not found: (...
SebMa's user avatar
  • 1,863
2 votes
0 answers
293 views

How to install snmp in ASIANUX Server 7 offline?

I am working with ASIANUX Server7 machine offline and I need to install snmp. In fact, I downloaded net-snmp-5.7.2-49.el7.x86_64.rpm from other machine and I copied it to the ASIANUX machine and I ...
HakimFerchichi's user avatar
0 votes
0 answers
2k views

zabbix timeout while connecting to 161

I have a zabbix server, and I want to monitor an ubuntu 22.04 using SNMP I used the following commands to install and set the snmp user for the ubuntu 22.04 $ sudo apt install snmp snmpd libsnmp-dev $ ...
Abdo.Ch99's user avatar
1 vote
0 answers
157 views

ifAlias set but not showing from snmp query

I'm in a dead end with this problem. I set an ifAlias for some interfaces for some testing, the alias seems set properly: $ ip link show 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc ...
MonsieurMemons's user avatar
0 votes
1 answer
497 views

snmpwalk -- Gives no output and no error either

I'm running the command snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.10876 The command does not give any errors such as timeout and it also does not output anything. echo $? after running the ...
manhasnoname's user avatar
1 vote
0 answers
1k views

How to change default MIB search path for Windows?

I downloaded and installed Net-SNMP 5.7.0 for Windows from this link: https://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.7-binaries/ It's running ok, but every time I run SnmpGet....
Tomasi's user avatar
  • 11
0 votes
1 answer
124 views

How do I configure net-snmp DTLSUDP to listen on all IPv6 addresses?

When configuring net-snmp DTLSUDP to listen to all IPv4 addresses, it is configured as follows: agentaddress dtlsudp:10161 How do you configure DTLSUDP to listen on all IPv6 addresses?
Graham Leggett's user avatar
0 votes
1 answer
930 views

net-snmp (VACM): How to exclude IF-MIB::ifPhysAddress table column from view?

Tailoring an SNMP view for net-snmp 5.7.3, I fail to exclude IF-MIB::ifPhysAddress from my view: What ever I tried, I still get the MAC addresses in snmpwalk. Still I'm sure my view is being used as ...
U. Windl's user avatar
  • 663
0 votes
1 answer
177 views

Microsoft mystery MIB or Who has MSFT.MIB

Does anyone have the ASN.1 source for the Microsoft MIB? I'm not interested in network management but they use their enterprise number to define several object ID's that they include in CSR's ...
hkc's user avatar
  • 47
0 votes
0 answers
22 views

Linux server supervision with manager not in local network

I have several Ubuntu 16.04 servers (the "hosts") on a local network and I want to monitor them with a CentOS 7 server (the "supervisor") which is not on the local network. I want ...
ZoltanCocsis's user avatar
0 votes
1 answer
318 views

Error at OID for old SNMP Hardware

After fixing some bad config lines in old MIB's, I'm finally getting somewhere trying to walk an old hardware device. However, an error is still occuring on this particular OID which I can't ...
MFB's user avatar
  • 101
0 votes
1 answer
205 views

How to change Nagios check_snmp configuration to use SNMP v3

I am trying to check uptime via Nagios's check_snmp plugin on a SNMP version 3 enabled UPS. I'm able to do an snmpget call specifying version 3 with the proper credentials and get the proper response ...
DuckReconMajor's user avatar
1 vote
2 answers
2k views

SNMP: How to monitor devices that do not have static IP adress with Zabbix

I have some equipments in my LAN but the way things are working; I cannot set statics IPs for them, they really need to have DHCP enabled. I am using Zabbix, and for host configuration, the IP ...
Xsmael's user avatar
  • 351
0 votes
1 answer
1k views

Windows RAM OID value?

Currently looking for the OID(s) to query for: totalRam freeRam usedRam '1.3.6.1.4.1.2021.4.5.0' isn't giving me what I want, and generally I can't find the correct OIDs. The OIDs are queried ...
aPurpleDev's user avatar
0 votes
1 answer
6k views

Monitor RAID volume, check hard disk health

Trying to monitor the RAID volume using SNMP. Is there a command which can parse through the complete RAID volume and output the status of disks in it? If not SNMP, please suggest a better way to ...
Sri's user avatar
  • 3
0 votes
1 answer
428 views

How to add correlation/calculation to zabbix snmp data

I have cisco catalyst 6500 switch, I want to get ethernet transmit/receive power in dBm. In order to get the stats in dBm I need to do these calculations. https://community.cisco.com/t5/networking-...
qwerty12456's user avatar
2 votes
1 answer
8k views

Getting a “FATAL: Connection to Cacti database failed” when attempting to install Cacti on CentOS

I've nearly finished setting up Cacti on a headless VM CentOS server. Apache is up, MySQL is up, all requisite PHP modules are installed. When I browse to the server's IP, I can verify that httpd is ...
Nathan Williams's user avatar
1 vote
1 answer
2k views

What are the steps to take to get specific information from SNMP?

I want to query a FortiGate for its CPU usage. Per Fortinet documentation, the variable to use is fgPerCpuHighDetails: $ grep fgPerCpuHighDetails /home/qa/.snmp/mibs/FORTINET-* /home/qa/.snmp/mibs/...
boardrider's user avatar
  • 1,153
0 votes
1 answer
2k views

SNMP pass script works but snmpget for OID doesn't provide correct result

I wrote a prototype script to start examining the status of a service using SNMP. The script itself, seems to work, as I am using mysql as a test example, but the OID as requested via snmpget returns ...
Doug Gardiner's user avatar
1 vote
1 answer
272 views

How to implement lwIP+SNMP in LPCxpresso?

I am using lpcxpresso software and done with lpcopen's webserver example . Now I would like to implement SNMP with the existing lwip present in webserver. I have seen the steps to build SNMP agent on ...
Kanak Dakhane's user avatar
0 votes
0 answers
49 views

Request a router to search for a wifi network

My computer is connected to a router by Ethernet and doesn't have wifi. The router has a wifi interface. I would like to find a way to interrogate the router, in a script, to know if a wifi network ...
user1482030's user avatar
0 votes
1 answer
248 views

What's the function of SNMP protocol?

The SNMP protocol is an application layer protocol and is based on UDP. We know that there has SNMP protocol on the router, so is there a switch and a PC? What is the specific role of it?
aircraft's user avatar
  • 870
0 votes
1 answer
168 views

Munin snmp plugin: how to ignore a counter?

I am monitoring a printer usage via a munin snmp plugin. I configured it by typing sudo munin-node-configure --shell --snmp myprinter.example.com which instructed me to create a symlink to /usr/...
Magnetic_dud's user avatar
  • 3,602
0 votes
0 answers
49 views

Ubuntu Variable to output on webpage

I'm at the edge of my technical knowledge and I need your expertise. I want to view the output of a certain command on Linux onto a webpage. I am managing a number of devices which I always monitor ...
user avatar
2 votes
1 answer
978 views

snmptrap V3 with net-snmp not working "usm: no match on engineID"

I am trying to send snmptrap from my centos machine to other centos machine. I am seeing the below in logs, snmptrap V3 with net-snmp not working "usm: no match on engineID" trace: sc_hash(): scapi.c,...
Kalpesh Tawde's user avatar
1 vote
1 answer
361 views

Creating a service for snmpd.exe on windows server + Cygwin

I need to create a service for the snmp daemon snmpd.exe which is installed on my windows server 2016. I use sc create snmpd binPath= "C:/path/to/snmpd.exe" and then I try to start it with sc start ...
John Smith's user avatar
0 votes
0 answers
259 views

snmp-check not sending output via 1> to a .txt file

In Kali, running snmp-check <IP target> -c public 1> OP.txt does NOT place the output in the file but snmp-check <IP target> -c public writes to the terminal. Why is this ...
Baron_Samedi's user avatar
0 votes
1 answer
540 views

snmpwalk v2 unknown token (centos)

I've installed opennms on centos7 but when trying to enable snmp on it I keep getting the unknown token errors. Such as comsec2, group, view, access. The command I'm trying to run is: snmpwalk -v 2c ...
Sam's user avatar
  • 1
1 vote
1 answer
3k views

Collect MAC-Adresses of connected devices via SNMP

i am working on an script, which collects data from Netgear-switches via SNMP. My problem is, that i am not able to find the OID, which represents the MAC-address of the clients connected to a port. ...
R.Christes's user avatar
1 vote
0 answers
205 views

Why a device is not detected on pci network card?

UPDATE 1 The OS on the server is Windows 10 Enterprise I have a device that is connected directly to a server with an ethernet cable. No other ethernet cables or devices are connected to the server. ...
theateist's user avatar
  • 159
0 votes
1 answer
185 views

How can I get a graphical representation of the traffic going through my switch

I have a small home network with 4 PCs, several tablets and a number of appliances. These all route to the WAN router through a Netgear Managed Switch (GS724Tv4). I have noticed that the network ...
Richard210363's user avatar
2 votes
1 answer
3k views

How to change the SNMP community name "public" in (ZT230) Zebra printer?

I have an SNMP issue with the community name. The default name is "public". When I tried to change it to anther one, I find that I can walk the SNMP with two name "public" and "loreal" (giving the ...
yazan's user avatar
  • 397
1 vote
0 answers
45 views

net-snmp what's wrong with the OID?

I have requested for a PEN(Private Enterprise Number) and got it. The PEN is 50743. I have a very simple MIB which looks like this: SAMPLE-SNMP-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-...
aCoder's user avatar
  • 191
0 votes
1 answer
1k views

Net SNMP daemon doesn't start

I had it working perfectly for years but suddenly (I think it's following the debian 8 -> debian 9 upgrade) it stopped working. I have tried several things and ended up purging everything: # apt ...
Benoit Duffez's user avatar
0 votes
1 answer
2k views

Selecting between Zabbix Agent, SNMP and other available protocols in Zabbix NMS

I have started using zabbix 3.2 and currently I am monitoring 10 devices , 8 of which are Snmp based and 2 are Agent based. Currently both type of devices are showing basic data like CPU, Memory etc. ...
gadhvi's user avatar
  • 157
0 votes
1 answer
2k views

SNMP Set:Timeout, No Response

snmpwalk -v1 -c public $ip enterprises.10642.20.10.10.5.11.3.0; snmpget -v1 -c public $ip enterprises.10642.20.10.10.5.11.4.0; snmpset -v1 -c public $ip enterprises.10642.20.10.10.5.11.4.0 s ...
yazan's user avatar
  • 397
1 vote
1 answer
2k views

SNMP : Community Name is "public", how I can change it?

I want to change SNMP community Name in Zebra ZM600 printer from public to private for ex: snmpwalk -v1 -c public "address IP" enterprises.10642.20.10.10.5 when I walk the MIB tree I use public like ...
yazan's user avatar
  • 397
1 vote
1 answer
290 views

change commuinty name snmp via zpl commande

I want to change the community name snmp for zebra printer via zpl commands the community name snmp is public in default, i tried with ^NN command , but nothing change, this is an example : ^XA ^NN,,...
yazan's user avatar
  • 397
7 votes
2 answers
153k views

How to get CPU temperature on Windows system using both Snmp and cmd

I am currently working on NMS Zabbix. After some R&D, I am able to get the CPU temperature info on Linux via snmp as well as terminal using LM-SENSORS. However, the same doesn't work for Windows; ...
gadhvi's user avatar
  • 157
0 votes
1 answer
120 views

Where are MIBs installed?

I'm a little confused on where MIBs are installed/required for SNMP. Do they need to be on both the end point device AND the monitoring tool? Or just the monitoring tool?
Mike B's user avatar
  • 2,690
0 votes
1 answer
1k views

Not able to install SNMP on CentOS

I am trying to install SNMP utility on my CentOS. I have Mysql pre-installed on the machine. I am getting following error : yum install net-snmp Loaded plugins: fastestmirror, langpacks Loading ...
Prabhat's user avatar
0 votes
2 answers
919 views

Remote shutdown of a group of linux servers (SNMP/Bonjour/socat?)

I have a group of linux servers on my subnet that I want to be able to remotely shutdown from a master machine. I don't want the non-master machines to have to coordinate with the master in advance, i....
George Hawkins's user avatar
0 votes
0 answers
441 views

How to properly control snmptrapd within a bash script

I am trying to monitor snmp notifications using snmptrapd. It is ran using bash script and I add the '&' at the end of the snmptrapd line (1) to run it in the background. This way I start ...
Nazar's user avatar
  • 113
1 vote
0 answers
53 views

Measure download volume from a service provider

I have an internet service provider that uses satellites. I need to measure the actual download volume for specified time periods. My reading on this lead me to believe that SNMP will do this. Thus I ...
Roger39's user avatar
  • 11
1 vote
0 answers
12k views

tcpdump is overlooking some snmp traffic

I am sniffing for SNMP traffic to code a testcase for some network hardware. Currently I start tcpdump like this: tcpdump -i any -nn port snmp I then send some SNMP traffic from the same host: ...
icehawk's user avatar
  • 235
0 votes
1 answer
879 views

Datacenter traffic reporting with Cacti

I am trying to get a good profile of my data usage so I know what kind of connection speeds I need when placing servers for colocation. I have Cacti installed and connected to 2 servers through snmp ...
Alan's user avatar
  • 525