------------------ Original ------------------
  From:  "astal vista"<astal.vista...@gmail.com>;
 Date:  Thu, Jan 7, 2010 06:15 PM
 To:  "飞飞"<new...@foxmail.com>; 
 
 Subject:  Re: SNMP HELP

  
Hi,

Thank you.

 #snmpget -OvQ -c public -v 1 localhost 
enterprises.ucdavis.systemStats.ssCpuIdle.0 

with above command i am able to get the CPU idle time. But i want retrive the 
Overall Percentage of CPU consumed not
just cpu idle time.
  
  
 

what is OID value for " enterprises.ucdavis.systemStats.ssCpuIdle.0"
 .1.3.6.1.4.1.2021.11.11 ----use ' snmptranslate -On UCD-SNMP-MIB::ssCpuIdle    
  '
 
" enterprises.ucdavis.memory "
 .1.3.6.1.4.1.2021.4   ---- like above
 

" host.hrStorage.hrStorageTable "
 sys-man snmp # snmptranslate -On HOST-RESOURCES-MIB::hrStorageTable
.1.3.6.1.2.1.25.2.3

 


Please help me in this regard.



 On Thu, Jan 7, 2010 at 2:12 PM, 飞飞 <new...@foxmail.com> wrote:
   I run the commands in CLI on my machine below:
 
 snmpget -OvQ -c public -v 1 localhost 
enterprises.ucdavis.systemStats.ssCpuIdle.0 
 ----*public* *localhost* are in my machine.
 snmpwalk -OvQ -c public -v 1 localhost enterprises.ucdavis.memory
 ----memoy
 snmpwalk -Os -c public -v 1 localhost host.hrStorage.hrStorageTable
 ----disk data

  You need replace 'public' 'localhost' for your environment,whatever,it is 
work perfect in my machine.
 
 Is it right,Dave?
 
 Alex
 
 
 
 ------------------Original------------------
   From: "astal vista"<astal.vista...@gmail.com>;
 Date: Thu, Jan 7, 2010 04:38 PM
 To: "net-snmp-users"<net-snmp-users@lists.sourceforge.net>; 
 
 Subject: SNMP HELP

  
  
I have configured net-snmp on RHEL-5.

I am very much confused with MIBs and OIDs.

now i am able to get the output.but
my requirement is...

I want to retrieve the CPU usage and Disk free usage SNMP agent.
I want to monitor one application that is running on SNMP agent.

how can i do that?

Can anyone help me in this regard.


Thank you.



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to