472,358 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,358 software developers and data experts.

SNMP OID's for CPU usage,Temperature and Hard Disk Status

Hi All,
I am developing a web site using PHP.I am fetching the data using snmpget function to display data in the site . Anybody tell me the common OIDís for CPU usage Temperature an HD status of system, I require OIDís for LINUX and WINDOWS system. Thanks guys

Oct 13 '09 #1
6 28005
8,658 Expert Mod 8TB
PHP has nothing to do with the client machine. those status values you need to fetch by a client side application.
Oct 13 '09 #2
Thanks for the replay,
right now I am fetching some values like system name, up-time of the system and displaying on the page by using "snmpget" method in PHP, for example SNMP OID of System name is "" similarly is there any SNMP OID for CPU usage, temperature and HD status which is generally common for all computers
Oct 14 '09 #3
code green
1,726 Expert 1GB
right now I am fetching some values like system name, up-time of the system
Thats fine. SNMP is a system management tool. PHP can do similar things
But you are talking about getting information from a client machine.
Entirely different. May I suggest you read about the Server-Client relationship and how that fits into the the OSI model.
Then you will know what Dormilich means by
PHP has nothing to do with the client machine. those status values you need to fetch by a client side application
So it is a case of a client application passing the info via the system to a server side application.
An interesting project.
Oct 14 '09 #4
Let me explain my project and what i did till now. I have a database of clients whose details will be stored in it(like name,ip address,etc) all my clients have SNMP enable systems.When administrator logs to site(he will get the details from DB), he can view the status of the system (Internal process is like, if the system response for 2 pings status is green if not status is red and also some info like up-time,system name etc).I am getting the details of those clients by SNMP communication so, there is no need of any client side scripting (i am thinking so , tell me if anything wrong).I just require proper SNMP OID's for CPU usage to display them in the table.Please check the image which is a part of the screen, it consists of up-time and ping response(red n green indication).
Attached Images
File Type: jpg sysStatus.jpg (11.7 KB, 2341 views)
Oct 14 '09 #5
code green
1,726 Expert 1GB
I'm sorry. You are referring to the CPU usage of the network hardware.
Well I don't know, but I quickly googled "SNMP OID CPU usage" which brought up a lot of articles where the answer probably lies.
I will politely bow out as I am no SNMP expert.
Oct 14 '09 #6
Hi thanks guys for your suggestions,After almost 48 hours googling I got the solution, hope it may use for other people. Please find the link http://www.satsignal.eu/mrtg/performance_howto.php
Oct 15 '09 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

by: dan byers | last post by:
hey everyone, i'm working on a system to monitor devices through SNMP. i'm using the Net::SNMP modules by D.Town. i try to load the snmp session request with a set of OIDs to make the system...
by: Michael Conlen | last post by:
I'm developing a net-snmp module that executes a 'show status' command on a MySQL server and advertises the values. My choices seem to be super concrete: one server, one set of results, the...
by: Christian Hammers | last post by:
Hello How can I do the following command with PHP? $ snmpwalk -Ir -On myhost \ 'ASCEND-MIBINET-MIB::internetProfile-Active."cir-1-26"' ..
by: Gellert, Andre | last post by:
Hello, i have a bug in a php application based on postgres 7.2.2 , which cannot handle oid's greater than 2147483647 . So I have to reset the used oids to start from 1 again, so that we have more...
by: Jeff Bohmer | last post by:
I have a table in a PG 7.4.1 database with 380 duplicate rows, including duplicate oid and primary key values. Looking through our backups, the duplicates did not exist before Friday, 02/06/2004. ...
by: John Sidney-Woollett | last post by:
<rant> Please can someone explain why Postgres cannot recognize that objects (referenced by pl/pgsql functions) whose OID no longer exists could in fact be found (as new objects) if the function...
by: frbn | last post by:
hi all, we currently experience an original problem on a production server with a postgresql 7.1.3 ( a bit old, I know :\ ) We just want to know if somebody experienced this problem: the...
by: idoha | last post by:
Hi, I am trying to determine the SNMP status on remote machine. I need to distinguish between two possible options, where the SNMP is not active: 1)When the SNMP listener is not active on a...
by: moon1 | last post by:
how will I change the code the 1st code according to the 2nd one? 1st code sub snmpGet(@) { # Assign arguments my ($deviceName)=$_; # Device name to read from my...
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.