- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: getting resource usage figures via SNMP?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 11:55 PM
05-02-2002 11:55 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 12:12 AM
05-03-2002 12:12 AM
Re: getting resource usage figures via SNMP?
U can use the snmpwalk command.
It's free on Linux server.
snmpwalk -v 1 servername public .1.3.6.1.4.1.11.2.3.1.1.7
will get U the free memory
snmpwalk -v 1 servername public .1.3.6.1.4.1.11.2.3.1.1.3
will get U the 1 minute loading
help this can help U.
Jack Hu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 12:21 AM
05-03-2002 12:21 AM
Re: getting resource usage figures via SNMP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 12:24 AM
05-03-2002 12:24 AM
Re: getting resource usage figures via SNMP?
Yes, you can extract the figure directly using snmpget. I had been using MRTG to interface with snmpget and graphically plot the performance graphs. If you don't wish to use MRTG to manage the OID values, you can simply run a cron script that calls snmpget to extract the OID values.
For CPU load, the OID is:
1.3.6.1.4.1.11.2.3.1.1.3.0
For available memory, the OID is:
1.3.6.1.4.1.11.2.3.1.1.7.0
For available swap, the OID i s:
1.3.6.1.4.1.11.2.3.1.1.12.0
For number of concurrent processes, the OID is:
1.3.6.1.4.1.11.2.3.1.4.1.0
For number of concurrent established TCP connections, the OID is:
1.3.6.1.2.1.6.9.0
There is a lot of system configuration and data you can extract from the HP-UX MIB file.
You will need to run the HP-UX mib2agt and please remember to disable private access and also change your public community string to a hard-to-guess phrase for security reasons.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 12:35 AM
05-03-2002 12:35 AM
Re: getting resource usage figures via SNMP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 12:38 AM
05-03-2002 12:38 AM
Re: getting resource usage figures via SNMP?
For using any collection tools , make sure that
snmpdm daemon is running.
#ps -ef | grep snmpdm
if not
# /sbin/init.d/SnmpMaster start
Also the configuration file for the snmp daemon
is /etc/snmpd.conf
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 12:48 AM
05-03-2002 12:48 AM
Re: getting resource usage figures via SNMP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 01:02 AM
05-03-2002 01:02 AM
SolutionThe process group starts from:
1.3.6.1.4.1.11.2.3.1.4
You can perform an snmpwalk to view all the available information:
# snmpwalk my_server public .1.3.6.1.4.1.11.2.3.1.4
From the MIB file, e.g., if you want to get specifically the total number of concurrent processes, you check the processNum OID which ends with 1, thus the OID to use is:
1.3.6.1.4.1.11.2.3.1.4.1.0
# snmpget my_server public .1.3.6.1.4.1.11.2.3.1.4.1.0
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 01:18 AM
05-03-2002 01:18 AM
Re: getting resource usage figures via SNMP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 05:11 AM
05-03-2002 05:11 AM
Re: getting resource usage figures via SNMP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2002 03:39 PM
09-18-2002 03:39 PM
Re: getting resource usage figures via SNMP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 12:19 AM
09-19-2002 12:19 AM
Re: getting resource usage figures via SNMP?
There is wonderful GUI based MIB browser called
GETIF on windows . you can snmp connect to hp-server through this
tool.
http://www.wtcs.org/snmp4tpc/getif.htm
I have a HP-UX MIB file which works great with
getif.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2002 10:53 AM
09-26-2002 10:53 AM
Re: getting resource usage figures via SNMP?
Thanks