Sponsored Content
The Lounge What is on Your Mind? An Introduction to new Member Post 303038527 by Neo on Thursday 5th of September 2019 08:30:38 AM
Old 09-05-2019
Welcome!

Look forward to seeing your contributions.
 

4 More Discussions You Might Find Interesting

1. What is on Your Mind?

introduction forum

sorry, I feel like such a dummy, but upon logging in you ask me to do a post introducing myself. I cannot find an "introduction forum" :o (1 Reply)
Discussion started by: shed
1 Replies

2. Shell Programming and Scripting

Introduction

Hi, I am new here. Recently I have started working on Unix Shell Scripting. So may I know from where to start... Regards, Darshak Raut (3 Replies)
Discussion started by: darshakraut
3 Replies

3. What is on Your Mind?

Introduction

Hello, I couldn't find an actual introduction thread, so I decided to just put this here. I go by d0wngrade online. I have been programming in multiple languages for about 15+ years. I started with standard web design languages like HTML and CSS, but I then advanced from design to development... (2 Replies)
Discussion started by: d0wngrade
2 Replies

4. What is on Your Mind?

Introduction

Hi everyone. I am not really a new member i was once a member using the handle despiragado. I now wish to be identified with my new handle. It's been a while i have last visited the forum to see whats happening. I guess a lot has happened. I will try to read up and keep up to date. I am a... (3 Replies)
Discussion started by: split_func0
3 Replies
SNMPWALK(3)								 1							       SNMPWALK(3)

snmpwalk - Fetch all theSNMPobjects from an agent

SYNOPSIS
array snmpwalk (string $hostname, string $community, string $object_id, [int $timeout = 1000000], [int $retries = 5]) DESCRIPTION
snmpwalk(3) function is used to read all the values from an SNMP agent specified by the $hostname. PARAMETERS
o $hostname - The SNMP agent (server). o $community - The read community. o $object_id - If NULL, $object_id is taken as the root of the SNMP objects tree and all objects under that tree are returned as an array. If $object_id is specified, all the SNMP objects below that $object_id are returned. o $timeout - The number of microseconds until the first timeout. o $retries -The number of times to retry if timeouts occur. RETURN VALUES
Returns an array of SNMP object values starting from the $object_id as root or FALSE on error. EXAMPLES
Example #1 snmpwalk(3) Example <?php $a = snmpwalk("127.0.0.1", "public", ""); foreach ($a as $val) { echo "$val "; } ?> Above function call would return all the SNMP objects from the SNMP agent running on localhost. One can step through the values with a loop SEE ALSO
snmprealwalk(3). PHP Documentation Group SNMPWALK(3)
All times are GMT -4. The time now is 02:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy