Sponsored Content
Special Forums UNIX and Linux Applications Infrastructure Monitoring Using SNMP to monitor remote processes and disk space Post 302476010 by mtomar on Tuesday 30th of November 2010 02:20:19 PM
Old 11-30-2010
Here man ..

Code:
snmpwalk -v 1 -c public localhost hrSWRun

For disk usage u might also want to check following:
Code:
snmpwalk -v 1 -c public localhost hrStorage

But as i said before... do snmpwalk to your system.since some enterprise oids may be different.
it takes some time but u will get to it.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Automatic monitor disk-space

Hello, I am trying to find a shell script to monitor diskspace. When the script encounteres a disk which above the treashold, I want an email notification. My system runs on a Sun Solaris. Is there anybode around who can help me with such a script? Norbert (3 Replies)
Discussion started by: nfbeerse
3 Replies

2. Filesystems, Disks and Memory

Automatic monitor disk-space

Hello, I am trying to find a shell script to monitor diskspace of all the directories in the server. When the script encounteres a disk which above the treashold, I want an email notification. My system runs on AIX. Is there anybody around who can help me with such a script? ... (3 Replies)
Discussion started by: anuradha
3 Replies

3. Shell Programming and Scripting

Monitor Disk Space

I would like to monitor disk space on solaris system.Need script which will send email if the disk space exceeds 90%. Thanks -sam (3 Replies)
Discussion started by: sam786
3 Replies

4. Shell Programming and Scripting

script to monitor disk space usage

Some times my disk space is used upto 100% due to the application logs . So this script is to monitor the disk space usage and wall message to the users about the disk space usage if it exceeds the limit set in the script. Here for example the limit is set to 80%. This job is added in cron to... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

5. Shell Programming and Scripting

perl script to monitor 2 processes

I have two processes that I need to keep running. The first process is a server, the second is basically a canvas for creating images which get saved to a directory. So I plan on using launchd (Mac OS 10.5) on a server to check every minute or so to make sure two things are true: 1) Both apps... (3 Replies)
Discussion started by: Solerous
3 Replies

6. AIX

how to monitor deamon processes

we have several deamon processes which were killed for some unknown reasons. we have to bring the deamon back manually everytime. Deamons running on 2 identical instances. It is ok on one instance but be killed 3 or 4 times a day on another. Any idea how to monitor it? like who/how the processes be... (3 Replies)
Discussion started by: hamiltonhall
3 Replies

7. Infrastructure Monitoring

SNMP disk space - inaccurate numbers

on the remote server that im running the snmp command against, below is the information about the specific directory i'm concerned about: SIZE USED AVAIL 673G 483G 157G can someone explain to me why snmp is telling me the size of this filesystem is 176399584? ... (5 Replies)
Discussion started by: SkySmart
5 Replies

8. Ubuntu

How to monitor firefox processes?

Hi Team, I have over 100 users,working on LINUX machine & all they use firefox. I want to monitor traffic from every IP and mainly CPU USAGE TAKEN BY FIREFOX PROCESSES ON EACH MACHINE. Is there any tool which runs on lunux and will help me to monitor firefox processes of our entire LAN? ... (2 Replies)
Discussion started by: paragnehete
2 Replies

9. Shell Programming and Scripting

Script to monitor the disk space details in HP-UX

Hi, I need to monitor the disk space details in HP-UX . I need a command on how to display the information on below format File System Total_Space_KB Used_Space_KB Available_Space_KB %Used /u05 524288000 376235344 138799427 73% /u02 ... (0 Replies)
Discussion started by: ali560045
0 Replies

10. Linux

Linux Total Processes - Why monitor it?

Hi Guys, Monitoring 'Total Processes' on Linux servers has been always something you 'should' do. My question is - why? Is it relevant anymore? If you monitor memory and cpu params, you have a pretty good idea about what's going on. Is the number of processes really matter? Thanks (1 Reply)
Discussion started by: DjDeaf
1 Replies
SNMPWALKOID(3)								 1							    SNMPWALKOID(3)

snmpwalkoid - Query for a tree of information about a network entity

SYNOPSIS
array snmpwalkoid (string $hostname, string $community, string $object_id, [int $timeout = 1000000], [int $retries = 5]) DESCRIPTION
snmpwalkoid(3) function is used to read all object ids and their respective values from an SNMP agent specified by $hostname. The existence of snmpwalkoid(3) and snmpwalk(3) has historical reasons. Both functions are provided for backward compatibility. Use snm- prealwalk(3) instead. PARAMETERS
o $hostname - The SNMP agent. 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 associative array with object ids and their respective object value starting from the $object_id as root or FALSE on error. EXAMPLES
Example #1 snmpwalkoid(3) Example <?php $a = snmpwalkoid("127.0.0.1", "public", ""); for (reset($a); $i = key($a); next($a)) { echo "$i: $a[$i]<br /> "; } ?> 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
snmpwalk(3). PHP Documentation Group SNMPWALKOID(3)
All times are GMT -4. The time now is 01:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy