For disk usage u might also want to check following:
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.
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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT PHP
snmpwalkoid
SNMPWALKOID(3) 1 SNMPWALKOID(3)snmpwalkoid - Query for a tree of information about a network entitySYNOPSIS
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)