03-15-2010
Remote Monitoring
Hi All,
I am writing a tool which remotely monitors network devices and sends an alarm if the device does not respond just like an NMS.
Can I use Threads module and invoke a simultaneous ping/snmpwalk to 100 or more devices and raise an alarm if any of the devices do no respond?
Please guide me and help me with any tips to achieve the above task.
Thanks in Advance
Guru
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 REDHAT
snmpwalk
SNMPWALK(1) Net-SNMP SNMPWALK(1)
NAME
snmpwalk - communicates with a network entity using SNMP GETNEXT requests.
SYNOPSIS
snmpwalk [APPLICATION OPTIONS] [COMMON OPTIONS] [OID]
DESCRIPTION
snmpwalk is an SNMP application that uses SNMP GETNEXT requests to query a network entity for a tree of information.
An object identifier (OID) may be given on the command line. This OID specifies which portion of the object identifier space will be
searched using GETNEXT requests. All variables in the subtree below the given OID are queried and their values presented to the user.
Each variable name is given in the format specified in variables(5).
If no OID argument is present, snmpwalk will search MIB-2. If the network entity has an error processing the request packet, an error
packet will be returned and a message will be shown, helping to pinpoint why the request was malformed.
If the tree search causes attempts to search beyond the end of the MIB, the message "End of MIB" will be displayed.
OPTIONS
-Cc Do not check whether the returned OIDs are increasing. Some agents (LaserJets are an example) return OIDs out of order, but can
complete the walk anyway. Other agents return OIDs that are out of order and can cause snmpwalk to loop indefinitely. By default,
snmpwalk tries to detect this behavior and warns you when it hits an agent acting illegally. Use -Cc to turn off this behaviour.
-Ci Include the given OID in the search range. Normally snmpwalk uses GETNEXT requests starting with the OID you specified and returns
all results in the MIB tree after that OID. Sometimes, you may wish to include the OID specified on the command line in the
printed results if it is a valid OID in the tree itself. This option lets you do this.
-Cp Upon completion of the walk, print the number of variables found.
In addition to these options, snmpwalk takes the common options described in the snmpcmd(1) manual page.
EXAMPLE
The command:
snmpwalk -Os -c public -v 1 zeus system
will retrieve all of the variables under system:
sysDescr.0 = STRING: "SunOS zeus.net.cmu.edu 4.1.3_U1 1 sun4m"
sysObjectID.0 = OID: enterprises.hp.nm.hpsystem.10.1.1
sysUpTime.0 = Timeticks: (155274552) 17 days, 23:19:05
sysContact.0 = STRING: ""
sysName.0 = STRING: "zeus.net.cmu.edu"
sysLocation.0 = STRING: ""
sysServices.0 = INTEGER: 72
SEE ALSO
snmpcmd(1), snmpbulkwalk(1), variables(5).
4th Berkeley Distribution 08 Feb 2002 SNMPWALK(1)