Questions tagged [snmp]

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

SNMP stands for Simple Network Management Protocol.

This standard protocol helps manage and collect data on machines like switches, routers, servers, desktops, etc. It is used mostly in network management systems to monitor network-attached devices for conditions that warrant administrative attention. A service like cacti or nagios take snmp information and provide better ways on monitoring your systems.

119 questions
8
votes
2 answers

How to let the Firewall of RHEL7 the SNMP connection passing?

How to let the Firewall of RHEL7 the SNMP connection passing? When I did this command on the computer: systemctl stop firewalld All the SNMP packet are passing well. When I restarted firewalld all the packet arre blocked. I tried several…
dubis
  • 1,430
  • 2
  • 18
  • 31
7
votes
2 answers

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 entries in snmp-sysdescr object: snmp-sysdescr:…
Lexx Luxx
  • 1,343
  • 11
  • 26
  • 37
6
votes
1 answer

snmpwalk community results to timeout

My snmpwalk suddenly stopped working, which was working earlier, after restarting the snmp also didn't work out, snmpwalk -v1 -c gives me timeout and it's working for other machines as well. I tried to recreate snmpconf with community string and IP…
6
votes
3 answers

How to send snmp trap when syslog is logged?

I need to send snmp trap n number of host whenever any syslog is logged in /var/log/messages. How can I do this, can anybody give me any idea?
Rahul Dhobi
  • 2,037
  • 3
  • 14
  • 11
5
votes
2 answers

High-level command to request several branches of snmp in one tcp-session?

We are trying to monitor our servers mainly with SNMP. Due to performance reasons we are changing this from single requests to snmp-bulk-requests (as allowed in SNMP v2c). In theory (at least to my knowledge) it should be possible to request several…
Nils
  • 18,202
  • 11
  • 46
  • 82
5
votes
1 answer

SNMP Trap on Unix

Nearly for 6 days I'm trying to get over this problem . I have 2 machines . One of them is manager 10.201 machine, and the other is agent (10.226) I've configured manager's snmptrap.conf file like this . authCommunity execute public default…
icameto
  • 341
  • 2
  • 6
4
votes
1 answer

Query DHCP server leases from Perl script

I have a Windows 2003 server and need to poll the DHCP lease information from it with a perl script that is running on a Ubuntu server. Then I need to analyze & store the information in a mysql database. Is there a way to query the leases from a…
BrNathan
  • 185
  • 1
  • 8
4
votes
1 answer

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: [root@centos-Main snmp]# cat…
Vinod
  • 131
  • 1
  • 2
  • 11
4
votes
1 answer

How to properly configure snmpd?

I installed snmp on CentOS 7.2, like so: yum -y install net-snmp net-snmp-utils I made a backup of my snmpd.conf file: cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig then I cleared the text, with this: echo "" > /etc/snmp/snmpd.conf and added…
blade19899
  • 547
  • 5
  • 12
  • 25
4
votes
1 answer

Is it possible to expose a USB UPS via SNMPD?

I have a Rack Mount Cyberpower UPS I'd like to be able to monitor with LibreNMS. It only connects via USB. Is it possible to have the Ubuntu Server running SNMPD expose the UPS MIBs?
Jonathan S. Fisher
  • 200
  • 1
  • 2
  • 13
3
votes
2 answers

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 800000020109840301 The error is: Error in packet. Reason:…
F.M
  • 378
  • 1
  • 3
  • 16
3
votes
2 answers

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 result: IF-MIB::ifDescr = No Such Object available…
D Venzi
  • 35
  • 1
  • 1
  • 5
3
votes
1 answer

Where does snmpwalk start if no OID is specified?

Where in the SNMP OID tree does snmpwalk start if no OID is specified, i.e. snmpwalk is started like snmpwalk -v 2c -c public host? From .1.3.6.1.2.1?
Martin
  • 7,284
  • 40
  • 125
  • 208
3
votes
1 answer

Start a unit after another unit goes inactive

Is there any way to delay a unit from starting up once another unit goes inactive? I have a startup process (oneshot.service) that runs as a one-shot and sets up the environment for all other processes to utilize and then exits (which makes the…
3
votes
1 answer

Unable to make outbound SNMP connections when IPTables is enabled

I have a bunch of windows servers configured with the windows SNMP agent. Each server has four IP addresses and SNMP listens on all of them. There is something very odd with my monitoring server (which is Centos 5.5 32 bit with net-snmp 5.3.2.2).…
Kev
  • 1,429
  • 7
  • 21
  • 32
1
2 3 4 5 6 7 8