pure SNMP Replacement for SNMP - Get Processor Information
Moderators: Developers, Moderators
SNMP data
Hi I have the following cnmp installed on my RHEL ES4 server
net-snmp-devel-5.1.2-11.el4_6.11.2
php-snmp-4.3.9-3.22.9
net-snmp-libs-5.1.2-11.el4_6.11.2
net-snmp-perl-5.1.2-11.el4_6.11.2
net-snmp-5.1.2-11.el4_6.11.2
net-snmp-utils-5.1.2-11.el4_6.11.2
When i do snmpwalk -c public -v 1 -On localhost
am getting the below result and can you plz tell me which value should i use to get the dick space data or process data
.1.3.6.1.2.1.1.1.0 = STRING: Linux itevmd3 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.8072.3.2.10
.1.3.6.1.2.1.1.3.0 = Timeticks: (177539) 0:29:35.39
.1.3.6.1.2.1.1.4.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
.1.3.6.1.2.1.1.5.0 = STRING: itevmd3
.1.3.6.1.2.1.1.6.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)
.1.3.6.1.2.1.1.8.0 = Timeticks: (1) 0:00:00.01
.1.3.6.1.2.1.1.9.1.2.1 = OID: .1.3.6.1.2.1.31
.1.3.6.1.2.1.1.9.1.2.2 = OID: .1.3.6.1.6.3.1
.1.3.6.1.2.1.1.9.1.2.3 = OID: .1.3.6.1.2.1.49
.1.3.6.1.2.1.1.9.1.2.4 = OID: .1.3.6.1.2.1.4
.1.3.6.1.2.1.1.9.1.2.5 = OID: .1.3.6.1.2.1.50
.1.3.6.1.2.1.1.9.1.2.6 = OID: .1.3.6.1.6.3.16.2.2.1
.1.3.6.1.2.1.1.9.1.2.7 = OID: .1.3.6.1.6.3.10.3.1.1
.1.3.6.1.2.1.1.9.1.2.8 = OID: .1.3.6.1.6.3.11.3.1.1
.1.3.6.1.2.1.1.9.1.2.9 = OID: .1.3.6.1.6.3.15.2.1.1
.1.3.6.1.2.1.1.9.1.3.1 = STRING: The MIB module to describe generic objects for network interface sub-layers
.1.3.6.1.2.1.1.9.1.3.2 = STRING: The MIB module for SNMPv2 entities
.1.3.6.1.2.1.1.9.1.3.3 = STRING: The MIB module for managing TCP implementations
.1.3.6.1.2.1.1.9.1.3.4 = STRING: The MIB module for managing IP and ICMP implementations
.1.3.6.1.2.1.1.9.1.3.5 = STRING: The MIB module for managing UDP implementations
.1.3.6.1.2.1.1.9.1.3.6 = STRING: View-based Access Control Model for SNMP.
.1.3.6.1.2.1.1.9.1.3.7 = STRING: The SNMP Management Architecture MIB.
.1.3.6.1.2.1.1.9.1.3.8 = STRING: The MIB for Message Processing and Dispatching.
.1.3.6.1.2.1.1.9.1.3.9 = STRING: The management information definitions for the SNMP User-based Security Model.
.1.3.6.1.2.1.1.9.1.4.1 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.1.9.1.4.2 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.1.9.1.4.3 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.1.9.1.4.4 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.1.9.1.4.5 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.1.9.1.4.6 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.1.9.1.4.7 = Timeticks: (1) 0:00:00.01
.1.3.6.1.2.1.1.9.1.4.8 = Timeticks: (1) 0:00:00.01
.1.3.6.1.2.1.1.9.1.4.9 = Timeticks: (1) 0:00:00.01
.1.3.6.1.2.1.25.1.1.0 = Timeticks: (4235888) 11:45:58.88
End of MIB
net-snmp-devel-5.1.2-11.el4_6.11.2
php-snmp-4.3.9-3.22.9
net-snmp-libs-5.1.2-11.el4_6.11.2
net-snmp-perl-5.1.2-11.el4_6.11.2
net-snmp-5.1.2-11.el4_6.11.2
net-snmp-utils-5.1.2-11.el4_6.11.2
When i do snmpwalk -c public -v 1 -On localhost
am getting the below result and can you plz tell me which value should i use to get the dick space data or process data
.1.3.6.1.2.1.1.1.0 = STRING: Linux itevmd3 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.8072.3.2.10
.1.3.6.1.2.1.1.3.0 = Timeticks: (177539) 0:29:35.39
.1.3.6.1.2.1.1.4.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
.1.3.6.1.2.1.1.5.0 = STRING: itevmd3
.1.3.6.1.2.1.1.6.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)
.1.3.6.1.2.1.1.8.0 = Timeticks: (1) 0:00:00.01
.1.3.6.1.2.1.1.9.1.2.1 = OID: .1.3.6.1.2.1.31
.1.3.6.1.2.1.1.9.1.2.2 = OID: .1.3.6.1.6.3.1
.1.3.6.1.2.1.1.9.1.2.3 = OID: .1.3.6.1.2.1.49
.1.3.6.1.2.1.1.9.1.2.4 = OID: .1.3.6.1.2.1.4
.1.3.6.1.2.1.1.9.1.2.5 = OID: .1.3.6.1.2.1.50
.1.3.6.1.2.1.1.9.1.2.6 = OID: .1.3.6.1.6.3.16.2.2.1
.1.3.6.1.2.1.1.9.1.2.7 = OID: .1.3.6.1.6.3.10.3.1.1
.1.3.6.1.2.1.1.9.1.2.8 = OID: .1.3.6.1.6.3.11.3.1.1
.1.3.6.1.2.1.1.9.1.2.9 = OID: .1.3.6.1.6.3.15.2.1.1
.1.3.6.1.2.1.1.9.1.3.1 = STRING: The MIB module to describe generic objects for network interface sub-layers
.1.3.6.1.2.1.1.9.1.3.2 = STRING: The MIB module for SNMPv2 entities
.1.3.6.1.2.1.1.9.1.3.3 = STRING: The MIB module for managing TCP implementations
.1.3.6.1.2.1.1.9.1.3.4 = STRING: The MIB module for managing IP and ICMP implementations
.1.3.6.1.2.1.1.9.1.3.5 = STRING: The MIB module for managing UDP implementations
.1.3.6.1.2.1.1.9.1.3.6 = STRING: View-based Access Control Model for SNMP.
.1.3.6.1.2.1.1.9.1.3.7 = STRING: The SNMP Management Architecture MIB.
.1.3.6.1.2.1.1.9.1.3.8 = STRING: The MIB for Message Processing and Dispatching.
.1.3.6.1.2.1.1.9.1.3.9 = STRING: The management information definitions for the SNMP User-based Security Model.
.1.3.6.1.2.1.1.9.1.4.1 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.1.9.1.4.2 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.1.9.1.4.3 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.1.9.1.4.4 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.1.9.1.4.5 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.1.9.1.4.6 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.1.9.1.4.7 = Timeticks: (1) 0:00:00.01
.1.3.6.1.2.1.1.9.1.4.8 = Timeticks: (1) 0:00:00.01
.1.3.6.1.2.1.1.9.1.4.9 = Timeticks: (1) 0:00:00.01
.1.3.6.1.2.1.25.1.1.0 = Timeticks: (4235888) 11:45:58.88
End of MIB
- mokeybrains
- Posts: 42
- Joined: Mon Aug 22, 2005 9:39 pm
- Location: San Francisco, CA
- Contact:
only one CPU show load -- what's up?
Code: Select all
# snmpwalk -c public -v2c example .1.3.6.1.2.1.25.3.3
SNMPv2-SMI::mib-2.25.3.3.1.1.768 = OID: SNMPv2-SMI::zeroDotZero
SNMPv2-SMI::mib-2.25.3.3.1.1.769 = OID: SNMPv2-SMI::zeroDotZero
SNMPv2-SMI::mib-2.25.3.3.1.2.768 = INTEGER: 18
# snmpwalk -c public -v2c example .1.3.6.1.2.1.25.3 | grep Core
SNMPv2-SMI::mib-2.25.3.2.1.3.768 = STRING: "Intel(R) Core(TM)2 Duo CPU E8300 @ 2.83GHz"
SNMPv2-SMI::mib-2.25.3.2.1.3.769 = STRING: "Intel(R) Core(TM)2 Duo CPU E8300 @ 2.83GHz"
- Attachments
-
- What is the Y axis?
- load-ok.png (17.61 KiB) Viewed 9758 times
What about this ?
I'm running CentOS 5.2
Code: Select all
HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SNMPv2-SMI::zeroDotZero
-
- Posts: 24
- Joined: Tue Sep 30, 2008 10:23 pm
This is interesting. Even more so because I want to pull in text information from a script or SNMP and place it on the Legend such as you've done here gandalf. I posted a question to this affect http://forums.cacti.net/about29341.html&highlight= with no result. I see that you're getting the text info from your "query_" macro. Can I get this info in a similar fashion from a Script/Query? Is there any documentation on this and the available macros? Thanks! Appreciate your help.
HK
HK
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Sure, please see http://docs.cacti.net/?q=node/225
Reinhard
Reinhard
first off I know this is a really old thread...
But I love this template, i could not get any other method to work for pulling CPU loads..
was wondering if there are any updates to it planned??
More cosemetic is what I am looking for..
I would like to force the graph to show 0-100%, the full range if possible.. that way I can see the high and low spikes at a glance
Is it possible to then add a % symbol on the Y Axis (Load) just for looks really..
Thanks for a great template.. it works great on 0.8.7d
But I love this template, i could not get any other method to work for pulling CPU loads..
was wondering if there are any updates to it planned??
More cosemetic is what I am looking for..
I would like to force the graph to show 0-100%, the full range if possible.. that way I can see the high and low spikes at a glance
Is it possible to then add a % symbol on the Y Axis (Load) just for looks really..
Thanks for a great template.. it works great on 0.8.7d
Operating System: 2003 Standard Edition SP2
Webserver: Apache 2.2.6
Cacti: 0.8.7d
Plugin Architecture: cacti-plugin-0.8.7d-PA-v2.4
Installed Plugin: Aggregate-070B2
Installed Plugin: Settings - 0.6
Installed Plugin: Thold - 0.41
MySQL: 5.0.45
PHP: 5.2.4
NET-SNMP: 5.4.2.1-1.win32
RRDTool Win32: 1.2.27-1
phpMyAdmin: 2.11.1
Webserver: Apache 2.2.6
Cacti: 0.8.7d
Plugin Architecture: cacti-plugin-0.8.7d-PA-v2.4
Installed Plugin: Aggregate-070B2
Installed Plugin: Settings - 0.6
Installed Plugin: Thold - 0.41
MySQL: 5.0.45
PHP: 5.2.4
NET-SNMP: 5.4.2.1-1.win32
RRDTool Win32: 1.2.27-1
phpMyAdmin: 2.11.1
Re: pure SNMP Replacement for SNMP - Get Processor Informati
Hi all,
i tried today to install this version but I'm missing a instruction to implement it right.
I changed the data query for "SNMP-Get Processor Information" but still no output.
output from snmpwalk -v2c -c xxx localhost .1.3.6.1.2.1.25.3.3.1.2
but still no data on the graphs.
I think I still missed something in the config...
i tried today to install this version but I'm missing a instruction to implement it right.
I changed the data query for "SNMP-Get Processor Information" but still no output.
output from snmpwalk -v2c -c xxx localhost .1.3.6.1.2.1.25.3.3.1.2
Code: Select all
HOST-RESOURCES-MIB::hrProcessorLoad.768 = INTEGER: 2
HOST-RESOURCES-MIB::hrProcessorLoad.769 = INTEGER: 1
HOST-RESOURCES-MIB::hrProcessorLoad.770 = INTEGER: 1
HOST-RESOURCES-MIB::hrProcessorLoad.771 = INTEGER: 1
HOST-RESOURCES-MIB::hrProcessorLoad.772 = INTEGER: 2
HOST-RESOURCES-MIB::hrProcessorLoad.773 = INTEGER: 1
HOST-RESOURCES-MIB::hrProcessorLoad.774 = INTEGER: 1
HOST-RESOURCES-MIB::hrProcessorLoad.775 = INTEGER: 1
I think I still missed something in the config...
Who is online
Users browsing this forum: No registered users and 2 guests