Mass SNMP updates?
Is there an easy way to update over 1000 Windows hosts with an additional permitted manager? I have tools to remotely run scripts on hosts, but it is a little bit difficult to filter out specific hosts, and you end up having to type each hostname into the program then add it to a list of hosts to run the script on. I have scripts that will update permitted managers, and other SNMP settings in [...]
Continue Reading »sysRestart Billion ADSL router (SNMP v2 or HTTP)
Background I am used to restart my servers on a scheduled basis. Now I want the same for my ADSL router. This is my reason: When a random failure occurs, I am used to normally try to reboot the servers , interfaces and related equipments (if possible) as the first step before any other troubleshooting (e.g: changing configurations, etc). In fact there are times that this corrects the problem (The service starts working as expected). [...]
Continue Reading »Why does snmp fail to use its own MIBs?
I’ve done a fresh install of Ubuntu 12.04LTS, and installed the snmpd and snmp packages. If I type: snmpwalk -m ALL -v2c -c public localhost 1.3 I get swathes of errors, of the form: Cannot adopt OID in SQUID-MIB: cacheClients ::= { cacheProtoAggregateStats 15 } Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendLineIndex ::= { nsExtendOutput2Entry 1 } Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutLine ::= { nsExtendOutput2Entry 2 } Cannot adopt OID in UCD-SNMP-MIB: laIndex ::= { [...]
Continue Reading »netsnmp – how to register string?
I use net-snmp. I try to add my own mibs (no need in handler, just a MIB that i can get and set by snmp call), so i followed the scalar example. In order to add my own mibs i defined them in the mib file and create an agent extension.(see below). It work, so i have now an integer MIB. Now i want to add string mib, so i define the MIB , but [...]
Continue Reading »Ubuntu program RAM and CPU OID
Running on Ubuntu. I need to monitor my program CPU and RAM , my prefer way is to monitor by SNMP. Does someone know the OID for program CPU and RAM(not total)? If there isnt so what is the simple way to get ? parse ps command? Asked by user1495181 Per-process performance information is found in HOST-RESOURCES-MIB::hrSWRunPerfCPU and `HOST-RESOURCES-MIB::hrSWRunPerfMem. Given a PID, $PID, you can run: snmpget hostname HOST-RESOURCES-MIB::hrSWRunPerfMem.$PID Or you can walk the whole [...]
Continue Reading »Understand SNMP architecture agent and management
I have difficulty to understand the SNMP terms. Who is responsible to the MIB , agent or management. Lets look on simple scenario: I monitor my linux machine by known OID (like CPU utilization) When i send an SNMP request to CPU OID who handle the request – agent or management ? If all that done is to read the data from the MIB, what is the agent role here? The agent has synchronize API [...]
Continue Reading »Do I need to enable some flag in order to monitor Ubuntu with SNMP?
Snmpd is running. I checked status by running snmpwalk(snmpwalk -v 1 -c public localhost). I ran this in order to get CPU info: snmpget -v 1 -c “community” localhost .1.3.6.1.4.1.2021.10.1.3.1 But I get an error: Timeout: No Response from localhost Do I need to enable something in order to enable SNMP monitoring? snmpd.conf: ############################################################################### # # EXAMPLE.conf: # An example configuration file for configuring the Net-SNMP agent (‘snmpd’) # See the ‘snmpd.conf(5)’ man page for [...]
Continue Reading »Default credentials for Cisco SNMPv3
I was wondering of SNMPv3 is enabled by default on Cisco devices and if there are default credentials? Asked by Lucas Kauffman You have to enable snmp on cisco devices and add users that are allowed to use it. Information on how to do this and troubleshooting commands can be found on the cisco website here Edit: another site where you can find usefull config examples is here Answered by Goez Check more discussion of [...]
Continue Reading »How to monitor a UDP multicast stream on a cisco network, hopefully with SNMP
We have a LAN with 2x Cisco 4500′s as gateways running HSRP. We’re using Exterity HD IP Encoders to take HD video and put it onto the network as a multicast UDP stream (playable in VLC). I have a fairely extensive Nagios setup on Linux and would like to find some way to check that: Multicast stream is on the network. Multicast stream isn’t frozen, so check for audio or … Confirm the source IP [...]
Continue Reading »Monitor Disk via SNMP polling
I’m using SNMP (polling not traps) to monitor a Snap Server with MIB-II (RFC 1213). Since there is no specialized MIB for this device I am stuck via standard MIB-II. My main goal is to poll the disks and make sure they are not disconnected and mounted. I’m really just looking for best practice here since I’m not much of a Linux admin. The snap server has a RAID 1. My plan is to monitor [...]
Continue Reading »


