03-16-2010
The Magical Perl is... and it always surprises me.
I got an SNMP::Multi module which does just what I want. I can specify hosts and the OIDs to poll and the Multi does an snmpget to the hosts and returns the values.
I need figure if there could be any issues if my host list is exhaustive
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
There is programm of monitoring by telnet.
The main body of script is
mkfifo pipe0
telnet $host $port < pipe0 > file0 &
then after analizing of file0
printf "commands\r" > pipe0
This programm worked till then I kill pipe0 during working of programm. Now this script dont... (1 Reply)
Discussion started by: ILA
1 Replies
2. Solaris
I am looking for a dial-up remote printing solution as under :
1. We have a Centralized location where Sun Solaris (A) is installed. From here printing command will be despatched.
2. This printing command will be routed to WAN cloud to Main Branches (B1,B2,B3)and from there, printer at... (0 Replies)
Discussion started by: jayvee
0 Replies
3. AIX
peepz,
do any of you use Remote monitoring for your aix boxes??
I mean something like SNMP or third party monitoring?
I've looked some things up and this came out popular:
SNMP for AIX
NET-SNMP opensource program
Tivoli Netview Server to monitor the servers
AIX RMC
Ganglia for... (1 Reply)
Discussion started by: kvanelshocht
1 Replies
4. Shell Programming and Scripting
Hi guys i have purchased sun server for my visualization project.
Request you to help me finding the io for disk .
I have put storage(disks) on different location (File Server) and on server (Application) i have configured 4 virtual machines.
How would i monitor the io for file server from... (0 Replies)
Discussion started by: pinga123
0 Replies
5. Solaris
how to login with ssh to remote system with out applying the remote root/user password
with rlogin we can ujse .rhosts file
but with ssh howits possible
plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies
6. Shell Programming and Scripting
I m trying to run a batch script in remote desktop which executes unix commands on the unix server...the problem is i wnt the output in HTML format.so in my batch script i m giving the cmd like
ssh hostname path ksh HC_Report.ksh>out.html
...but it generates the HTML file in
remote desktop .i... (2 Replies)
Discussion started by: navsan
2 Replies
7. Shell Programming and Scripting
I am trying to cat on a file located on remote server and assign it to remote variable.
I have both local and remote variables. Running below script from local. test.sh
J_NAME=XXX2
J_IP=XXX
ssh $J_IP "ps auxw |grep java | grep -v grep |grep $J_NAME | awk '{print ... (2 Replies)
Discussion started by: oraclermanpt
2 Replies
8. Shell Programming and Scripting
Geeks,
Could you please help me out in my script and identify the missing piece. I need to check/get the exit status of a remote command executed on remote host through script and send out an email when process/processes is/are not running on any/all server(s).
Here's the complete... (5 Replies)
Discussion started by: lovesaikrishna
5 Replies
9. Shell Programming and Scripting
Hi all,
i'm trying to gether multiple pattern on remote hosts, and trying to print hostname and the pattern,
ssh remoteserver1 -C 'hostname 2>&1;cat /var/log/server1.log | awk -F ";" '"'"'{ print " "$2" "$5}'"'"'| sort | uniq -c | sort -g -r '
The output is the following,
remoteserver1
... (8 Replies)
Discussion started by: charli1
8 Replies
10. UNIX for Beginners Questions & Answers
Hi~
i have an authorized key which it made remote host(B).
i want log on without password from local(A) to the remote host(B) using authorized key of remote host.
what shell i do? anybody help me. (1 Reply)
Discussion started by: tomato00
1 Replies
LEARN ABOUT MINIX
snmpgetnext
SNMPGETNEXT(1) Net-SNMP SNMPGETNEXT(1)
NAME
snmpgetnext - communicates with a network entity using SNMP GETNEXT requests
SYNOPSIS
snmpgetnext [COMMON OPTIONS] [-Cf] OID [OID]...
DESCRIPTION
snmpget is an SNMP application that uses the SNMP GETNEXT request to query for information on a network entity. One or more object identi-
fiers (OIDs) may be given as arguments on the command line. Each variable name is given in the format specified in variables(5). For each
one, the variable that is lexicographically "next" in the remote entity's MIB will be returned.
For example:
snmpgetnext -c public zeus interfaces.ifTable.ifEntry.ifType.1
will retrieve the variable interfaces.ifTable.ifEntry.ifType.2:
interfaces.ifTable.ifEntry.ifType.2 = softwareLoopback(24)
If the network entity has an error processing the request packet, an error message will be shown, helping to pinpoint in what way the
request was malformed.
OPTIONS
snmpgetnext takes the common options described in the snmpcmd(1) manual page and also the -Cf option described in the snmpget(1) manual
page.
SEE ALSO
snmpcmd(1), snmpget(1), variables(5).
4th Berkeley Distribution 08 Feb 2002 SNMPGETNEXT(1)