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

learn more… | top users | synonyms

0
votes
1answer
25 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))...
0
votes
1answer
19 views

Does snmp rely on or need CUPS to function?

I am trying to secure my latest hosting server, and realized that cupsd is running. After checking, it's running on all of my servers. In the name of security, I decided to permanently disable this ...
0
votes
0answers
10 views

centos infinite reboot upon starting snmp

My server was downed, when I rebooted it, it keep on reboot itself when it hit snmp service starting upon OS reboot process, I login as single user to disable snmp service then only it managed boot ...
0
votes
0answers
770 views

Cannot start snmpd correctly

I trying to setup snmp in an ubuntu-server 15.10 to perform some tests. I have installed snmp as: sudo apt-get install snmp snmpd snmp-mibs-downloader After the installation I commented the ...
3
votes
1answer
161 views

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, ...
0
votes
0answers
320 views

yum install net-snmp-utils -> No package available

I want to install SNMP packages (snmpget, snmpwalk etc.) on RHEL 6 but I receive "No package available" error: [root@RHEL-9220 ~]# yum -y install net-snmp net-snmp-utils Loaded plugins: aliases, ...
0
votes
0answers
93 views

How To Get the Environment Temperature on Observium Using SNMP for Solaris server?

We have enabled SNMP for our sun Solaris server. Now I need to add sensors for voltage, current & temperature. For this, I need to modify the /etc/snmp/conf file. How can I enable the sensors?
0
votes
0answers
56 views

Ubuntu 15.10 snmpd permissions

Having a weird problem - I can generate traps based off snmpd defaultTriggers & DISMAN events if I stop the snmpd service and "sudo" it in the foreground, but when using -u root -gid 0 it won't ...
0
votes
0answers
50 views

NUT communicate with APC via SNMP

I am installing NUT on a Suse 11 server, and wish to communicate with my APC Symmetra via the network driver (SNMP). I have setup my ups.conf to include: [upsrack] driver=snmp-ups ...
0
votes
0answers
26 views

configure CentOS to sen traps

We are using Centreon to monitor our Linux boxes. Now there's one particular (CentOS 5.5) running an Encryption Product on top of it. My question is now how would I configure the server to send traps ...
1
vote
0answers
61 views

Redirect SNMP ports to router for use with openHAB SNMP binding

OpenHAB provides an interesting SNMP binding that would allow me (I think) to get network bandwidth use statistics that may be used in rules. Interesting as the may be, it seems that openHAB cannot ...
0
votes
0answers
18 views

snmpwalk for icmpMsgStatsInPkts-ipv4-EchoReply

on executing snmpwalk -v 2c -c public localhost icmpMsgStatsInPkts I get the output: IP-MIB::icmpMsgStatsInPkts.ipv4.8 = Counter32: 2865 IP-MIB::icmpMsgStatsInPkts.ipv6.134 = Counter32: 53700 IP-...
0
votes
1answer
406 views

Which OID to check for extend-sh script output in Net-SNMP snmpd?

I extended(extend-sh) the functionality of Net-SNMP snmpd with a shell script which echoes "empty" in case the condition checked with the script is true. However, there seems to be multiple OIDs which ...
0
votes
0answers
70 views

SNMP Temperature with lm sensor

I have just managed to put in SNMP the lm sensor output. However, I have an alarm due to a fake threshold of Temperature SYSTIN (see output) nct6776-isa-0290 Adapter: ISA adapter Vcore: +1.02 ...
0
votes
1answer
130 views

How does DisplayString SIZE in MIB files affect the output of snmpget?

I have a Cisco switch which SNMP agent returns up to 256 characters long interface descriptions(ifAlias). For example here I receive an 100 characters long interface description: $ snmpget -m ./IF-...
1
vote
2answers
89 views

setting snmp extensions in snmpd.conf

On our servers ( debian, centos and ubuntu ) we set in snmpd.conf extend .1.3.6.1.4.1.2021.7890.1 distro "/bin/cat /etc/debian_version" This way a centralized monitor ( Observium ) read the OS ...
0
votes
0answers
24 views

Setup Debian for sending to established SNMP server

So, on most of the appliances I work with, we use SNMP monitoring. We have an SNMP server and an established server IP, community string, and user/pass. Fast-forward to now. I have a new Debian ...
2
votes
1answer
56 views

How to find out if the script is running in Linux or OSX

I want to write a bash script to get some information of Switches through snmpbulkwalk. I would like to use the same script in Linux and OSX environments, so I want to know if there is a way to do a ...
0
votes
0answers
99 views

rsyslog problem

I'm trying to execute this 3 commands into rsyslog: IFS=':' read -a trap <<< "${msg}" IFS='#' read -a trap2 <<< "${trap[11]}" if $trap2 > 300 then ^/pruebas/script.sh But when ...
3
votes
1answer
191 views

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?
0
votes
0answers
19 views

Are SNMP MIB files in NMS required if NMS will poll data from SNMP agent using OIDs directly?

I plan to write a MIB module for Net-SNMP SNMP agent so that my NMS can ask a value of certain custom OID from SNMP agent. As I don't mind using directly OID instead of object name in NMS, then am I ...
0
votes
2answers
124 views

Is SNMP MIB important for SNMP agent?

It is obvious that MIBs are important for network management stations as otherwise SNMP queries based on object names would not work. For example: $ snmpget -M /dir/that/does/not/exist -On -v 2c -c ...
1
vote
1answer
427 views

How to understand SNMP MIB?

As I understand, SNMP Management Information Base databases are used by Network Management Stations to translate data from SNMP agents into understandable form. For example in case of ...
1
vote
0answers
70 views

FreeBSD: Control operational and administrative status of virtual interface

I'm looking for a way to freely control the administrative and operational status of a virtual interface as seen by a snmp get requests: $ snmptable -c public -v 2c myserver iftable SNMP table: IF-...
0
votes
2answers
100 views

Variable in for loop to be used as an array for a csv output

I've been struggling to come up with a solution for this, the goal is to organize the results into comma separated columns as we have to recable our entire datacenter from cat6 to cat6a. $DBFILE ...
3
votes
1answer
111 views

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?
1
vote
1answer
719 views

Pass SNMP trap packet to a php daemon on Ubuntu

I have a Ubuntu server which is collecting incoming SNMP traps. Currently these traps are handled and logged using a PHP script. file /etc/snmp/snmptrapd.conf traphandle default /home/svr/00-VHOSTS/...
0
votes
1answer
446 views

make a table output

if it possible to do a snmpwalk in a perl script and put the output in a table to make a sort of association like for each hostname i have in the same line if index and desc i have the script in bash ...
1
vote
1answer
155 views

Setting Qualifiers for Bash Array

I have a bash script that is running an SNMPGET of two values. I want to take the results and put them in an array. Here is the code: OUTPUT=`snmpget -v2c -c public -Oqv 192.168.0.33' \ ' sysName'\ '...
1
vote
1answer
125 views

Total data usage history with SNMP

I am working on a project to monitor the network devices by the help of SNMP and MRTG, RRDTool. As part of bandwidth monitoring, I can be able to get the maximum used bandwidth per time resolution. ...
2
votes
0answers
68 views

Multiple configuration files for Net-SNMP for easier MIBS management

I currently have a single /etc/snmp/snmp.conf that contains many mibdirs clauses. This is fine as we have a single package that contains all our MIBS, but now I would like to tie a subset of those ...
1
vote
0answers
159 views

rsyslog and netsnmp support for Linux namespaces

I have configured different net namespaces (netns) on my linux machine (Ubuntu) with different routes in each. Now, if I want rsyslog and SNMP traps (netsnmp) to use one of the route from these ...
2
votes
1answer
275 views

Where do I find the OID descriptions for SNMPv2 in Linux?

I was looking at this link here: http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html and noticed that the OIDs are the same ones I see for the same stats for our ...
1
vote
0answers
109 views

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 ...
6
votes
3answers
2k views

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?
1
vote
1answer
36 views

Net-SNMP Application

I don't know if this is the right place to ask this question, but, does anyone knows about Net-SNMP. Is it possible to not truncate the log file whenever snmptrapd is restarted? The logs are being ...
1
vote
0answers
146 views

SNMPV3 traps are not being captured correctly

I have configured master agent (snmpd.conf/snmptrapd.conf) of SNMPv5.5 on RHEL6.3 server to support SNMPV3 traps, but when I try to generate a snmptrap and capture the trace through tcpdump, I still ...
0
votes
1answer
2k views

Unable to view traps through snmptrad?

I've been unable to view traps through snmptrapd. I generated a SNMP trap manually using the below provided snmptrap command: snmptrap -c public -v 2c -n "" localhost 0 uptime But I'm ...
-1
votes
2answers
432 views

Bandwidth Management tool

There are tools available like MRTG , Cacti etc through which we can monitor network traffic on network interfaces on a host. The network traffic flow information that is provided by these tools is ...
1
vote
1answer
7k views

No response from remote host for Nagios check_snmp_mem.pl plugin

Trying to setup memory usage monitoring for Nagios using the check_snmp_mem.pl from Nagios SNMP plugin. I could not even get it working from the command line, I mean I go to /usr/lib/nagios/plugins ...
3
votes
1answer
5k views

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 ...
1
vote
0answers
258 views

Nagios trap snmptt fails to trigger

I want to monitor a HP 7500 switch power supplies. I have my OID, given by the HP web interface. So I create a snmptt.conf.hp, I create a service, passive and volatile, add this OID to a trap, and ...
1
vote
1answer
5k views

How do I generate an SNMP community string for MRTG?

I have trying to set up MRTG on my server, following this guide: https://help.ubuntu.com/community/MRTG I followed it as far as, cfgmaker <snmp_community_string>@<...
1
vote
1answer
2k views

Net-SNMP over TCP?

Is it possible to get Net-SNMP running over TCP instead of UDP? The daemon program can be configured at the termiinnal to listen for TCP connections with: snmpd tcp:1161 However, there are no flags ...
1
vote
1answer
427 views

Why doesn't build of net-snmp 5.7.2. provide /etc/rc.d/init.d/snmptrapd?

I am packaging an RPM for RHEL6, built from net-snmp-5.7.2.tar.gz. I see that the file /etc/rc.d/init.d/snmpd gets created and packaged but I do not see the init file for /etc/rc.d/init.d/snmptrapd. ...
1
vote
0answers
100 views

snmp issue:Two similar sever returning different output

I am having issue with SNMP OID's . I have two similar servers (hardware and software ) Which is DEll server with RHEL 5.3 X86_64.Issue is when I run the SNMPWALK for one server it shows proper data ...
5
votes
2answers
287 views

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 ...
2
votes
1answer
1k views

snmp/snmptrap support of ipv6

I have IPv6 only (not dual stack) system I wondering how to - send snmptrap from this system? - configure snmpd to be able to access it? I mean, is snmp is ready to use in IPv6 only environment?
4
votes
1answer
1k views

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 ...
2
votes
1answer
294 views

SNMPD only system group available!

I installed at fedora snmpd package... > view systemview included > .1.3.6.1.2.1.1 view systemview > included .1.3.6.1.2.1.25.1.1 view > all included .1 80 &...