- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- gathering system info at command line runnin linux
ProLiant Servers (ML,DL,SL)
1755640
Members
3351
Online
108837
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-09-2004 10:40 AM
01-09-2004 10:40 AM
gathering system info at command line runnin linux
I would like to be able to gather info, e.g. serial number, product name, from the command line on a DL360-G3. I've installed the hpasm rpm for redhat 7.3 and the web interface works fine, but I need to gather the same info using a script for auditing purposes.
Any advice?
Thanks.
Bill
Any advice?
Thanks.
Bill
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2004 04:03 AM
01-16-2004 04:03 AM
Re: gathering system info at command line runnin linux
Not as direct as an /proc entry, but if the web agents are running SNMP should work too.
Then you can (even remote) get the serial number via:
snmpget .1.3.6.1.4.1.232.2.2.2.1.0
where community is the IP-Address or localhost and the string found at rocommunity or rwcommunity in the /etc/snmp/snmpd.conf
.1.3.6.1.4.1.232.2.2.2.5.0 returns the serial number too,
.1.3.6.1.4.1.232.2.2.4.2.0 the machine too.
There should be a MIB documentation, but you can also find the location of further values in the output of
snmpwalk -O ne -c .1
Then you can (even remote) get the serial number via:
snmpget
where community
.1.3.6.1.4.1.232.2.2.2.5.0 returns the serial number too,
.1.3.6.1.4.1.232.2.2.4.2.0 the machine too.
There should be a MIB documentation, but you can also find the location of further values in the output of
snmpwalk -O ne -c
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP