Questions tagged [snmpwalk]
13 questions
2
votes
2 answers
Trying to store interface when preg_match_all is executed using php
I would like to store the interface name only. So in this case, I would like to store Interface900. Below is my code. Can't seem to figure out how to do this.
$str = '[TIMETRA-VRTR-MIB::vRtrIfName.22.178] => STRING: "interface900"…

Mike T
- 47
- 3
2
votes
1 answer
data gets overwritten when using array_combine in php after creating another array
Trying to figure out how I can update the new array with a value.
$data = array('[ETRA-VRTR-MIB::vRtrIfName.1.1]' => 'STRING: "intf1"', '[ETRA-VRTR-MIB::vRtrIfName.1.2]' => 'STRING: "intf2"');
echo '
'; print_r($data); foreach($data as $key =>…

Mike T
- 47
- 3
1
vote
0 answers
How do I display units when doing snmpwalk?
This is a part of my MIB :
callSuccessRate OBJECT-TYPE
SYNTAX Integer32
UNITS "%"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Success rate of call"
DEFVAL { 0 }
::= { call 1 }
When I run snmpwalk…

gee22
- 13
- 3
1
vote
1 answer
How to list nodes from a custom mib file using snmpwalk?
I'm trying to add a custom mib file that contains few nodes.
For an example I tried loading SNMP-COMMUNITY-MIB as it's a standard mib and thus shouldn't throw errors.
I copied the mib into the path
~/.snmp/mibs
and also updated snmpd.conf…

Sujay
- 26
- 1
- 6
0
votes
0 answers
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 authPriv -u my_user -a SHA-256 -A auth_password -x…

truklimb
- 1
- 1
0
votes
0 answers
pysnmp does not show the data like snmpwalk does
i'm trying to fetch the hrstorage and hrDevice using pysnmp.
this is the code I'm using in pysnmp:
def snmp_walk_v2c(ip, community_string, snmp_list):
parsed_dict = {}
for obj in snmp_list:
snmp_data = nextCmd(SnmpEngine(),
…

red wing
- 43
- 9
0
votes
0 answers
Why do SNMP walks fail here?
I'm learning about zabbix and how to use SNMP to monitor networks. As a test, I wanted to create a MIB of my PC and find the CPU temperature.
So I got Paessler SNMP tester and started an SNMP walk. All was going well until OID 1.3.6.1.4.1.77.1.1.4.0…
0
votes
1 answer
How can I output the variable name instead of the numerical OID with SNMP walk in python?
I'm writing a python script for an SNMP walk and want to print out the variable names along with their associated values. The code I'm currently using gives the numerical OIDs and their values. I have the MIB file - is there a way to output the…

Delta88
- 1
- 1
0
votes
0 answers
The port value in dot1dTpFdbPort MIB oid is not available in ifIndex object which is fetched in dot1dBasePortIfIndex MIB oid
I see the value 17 in the Output of dot1dTpFdbPort does not exist in the Output of dot1dBasePortIfIndex. Can anyone please explain what could be the reason for this behavior?
I would like to know under what circumstances this scenario occurs.
…

Riya
- 1
0
votes
0 answers
Some optimization required in snmpwalk, getting response in 5 sec from SNMP Manager . Need to reduce this time either in 1 sec or milisec?
I am using this snmpwalk command to query :
snmpwalk -c public -v 2c 10.10.68.70:18089 1.3.6.1.4.1.11080.300 -t 4
port : 18089 -> where SNMP Manager is running
timeout - 4 sec
In locally , I can see the response came instantly with out any…

Ritika Saxena
- 43
- 1
- 7
0
votes
1 answer
Why cann't I use snmptable to search a mib table in net-snmp?
I know this oid is a table from the web, so I try to use snmptable,but it return wrong.
scEnclFanTable 1.3.6.1.4.1.674.11000.2000.500.1.2.20
snmptable -c public -v 2c 192.168.1.10 1.3.6.1.4.1.674.11000.2000.500.1.2.20
When I use walk,the result…

flower
- 2,212
- 3
- 29
- 44
0
votes
1 answer
snmpwalk: –c: Unknown Object Identifier (Sub-id not found: (top) -> –c)
I am relatively new to snmp and am trying to test out snmp on a device with snmpwalk command. I am using it as such: snmpwalk -v2c -c public
and it returns and error of –c: Unknown Object Identifier (Sub-id not found: (top) -> –c)
I've tried…

Ryan w
- 528
- 1
- 7
- 21
0
votes
1 answer
SNMP Find correct OID to get specific port data from FA-EXT-MIB
I want to fetch data from FA-EXT-MIB::swSfpTxPower.
Is there any way to snmpwalk this OID (1.3.6.1.4.1.1588.2.1.1.1.28.1.1.5) for a specific port?
Looking at the output (added below) I do not understand the "'....q.......'.1" part of this output.
Is…

Andy Thompson
- 284
- 1
- 3
- 21