11-10-2006
in a nutshell ...
you cannot use "public," "private," "system," or anything being used as a password for the SNMP community string
that's it for my translation services ... good luck!
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can someone tell me exactly what this code is doing?
#
# gnutest
#
# Test launch of ghostscript (gs) from a script
#
rm gnutest.ps
#
# ------- calculation that would generate file(s) to
# be plotted with gnuplot would be placed here -----------
#
gnuplot << \E-o-f2
set... (1 Reply)
Discussion started by: wmosley2
1 Replies
2. Programming
Sorry if this been posted before.
At the moment I'm having problem with the iscntrl() function. I need it to run a check on code entered into a Text Box, however I also need to allow the "Ö, ö" Swedish characters. The iscntrl() function seems to pick up the characters above as part of the... (0 Replies)
Discussion started by: rebelwassie
0 Replies
3. Shell Programming and Scripting
Someone give me info on this script. I put all the parts I do not understand in BOLD. Please someone explain what the parts in BOLD does/mean. Thanks!
#!/bin/bash
#Usage: cmdArgs.sh arg1 arg2 arg3
printf "The number of command line args is: $#\n"
declare -i counter #Not strictly... (7 Replies)
Discussion started by: 801238429
7 Replies
4. UNIX for Dummies Questions & Answers
I have been looking up the allocated space, free space and the contents (raw, jfs, paging) of the logical volumes in AIX servers. I have been using lsvg and lsvg -l (server name). What is the HP-UX equivalent to that? I was given this command also so I would not have to type in each volume group... (2 Replies)
Discussion started by: compan023
2 Replies
5. UNIX Desktop Questions & Answers
hi all,
Im a unix newbie and Im trying to find and replace text and I been looking at these posts since 7 am and I still dont see what Im
after.
Here is the task at hand. Im trying to translate few lines by doing cat <file> and here is what Im doing
<file>
20110228 Mike Original apartment... (4 Replies)
Discussion started by: PG3
4 Replies
6. AIX
Hello,
Any help or advice on this would be greatly appreciated. I have a site-to-site VPN, across which data is synced between two CRM systems.
The opposing side of this tunnel is a flat network (lets call it 201.200.156.xx/24)
My internal network is a 192.168.0.xx/24 network, however before... (2 Replies)
Discussion started by: thruster9
2 Replies
7. IP Networking
How would one approach the problem of determining the NAT tables of a router without knowing the userid and password. The only password holder died.
I know the internal ip address of the router is 192.168.2.1, and also ports 80 or 8080 and 3389 are open. (5 Replies)
Discussion started by: jgt
5 Replies
LEARN ABOUT PHP
snmprealwalk
SNMPREALWALK(3) 1 SNMPREALWALK(3)
snmprealwalk - Return all objects including their respective object ID within the specified one
SYNOPSIS
array snmprealwalk (string $host, string $community, string $object_id, [int $timeout = 1000000], [int $retries = 5])
DESCRIPTION
The snmprealwalk(3) function is used to traverse over a number of SNMP objects starting from $object_id and return not only their values
but also their object ids.
PARAMETERS
o $host
-The hostname of the SNMP agent (server).
o $community
-The read community.
o $object_id
-The SNMP object id which precedes the wanted one.
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 associative array of the SNMP object ids and their values on success or FALSE on error. In case of an error, an E_WARNING mes-
sage is shown.
EXAMPLES
Example #1
Using snmprealwalk(3)
<?php
print_r(snmprealwalk("localhost", "public", "IF-MIB::ifName"));
?>
The above will output something like:
Array
(
[IF-MIB::ifName.1] => STRING: lo
[IF-MIB::ifName.2] => STRING: eth0
[IF-MIB::ifName.3] => STRING: eth2
[IF-MIB::ifName.4] => STRING: sit0
[IF-MIB::ifName.5] => STRING: sixxs
)
SEE ALSO
snmpwalk(3).
PHP Documentation Group SNMPREALWALK(3)