- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Script for collection system information
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
Discussions
Discussions
Forums
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
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
тАО03-07-2006 11:38 PM
тАО03-07-2006 11:38 PM
I need script for getting system informaiotn like
1.Uptime
2.Last fail date and time:
and also i am implementing cacti for monitor i want to monitor all the unix server without using SNMP so please if you have any idea or script get datas thr' ssh please share to me
Solved! Go to Solution.
- Tags:
- ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2006 11:47 PM
тАО03-07-2006 11:47 PM
SolutionInteresting idea but why not.
http://www.shelldorado.com/
Is the place to look for scripts
Steve Steel
- Tags:
- shelldorado
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2006 11:50 PM
тАО03-07-2006 11:50 PM
Re: Script for collection system information
You can use commands like,
# /opt/ignite/bin/print_manifest
and tools like http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/
Also, Do a search with ITRC, you will get lot of threads, like this one.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=22937
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2006 11:51 PM
тАО03-07-2006 11:51 PM
Re: Script for collection system information
To be simplistic - forget about last fail date and time, go for uptime. Anyway,clean reboots,halts and hang/panic events would be often seen in /etc/shutdownlog.
Now,what do you mean by "monitor the unix server"? What kind of monitoring?
Hardware events can be monitored by some methods,like Online Diagnostics for example (EMS) which capable to send e-mails on critical events.Or Webes tool.
Software events...well sky is the limit here.
So prepare a list of what you'd like to monitor first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2006 11:53 PM
тАО03-07-2006 11:53 PM
Re: Script for collection system information
Why not query?
1. uptime
2. who -b
3. /etc/shutdownlog
The three give you the basic information of ups-and-downs.
Regards!
...JRF...
- Tags:
- uptime
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 12:50 AM
тАО03-08-2006 12:50 AM
Re: Script for collection system information
please help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 02:39 AM
тАО03-08-2006 02:39 AM
Re: Script for collection system information
You can use "remsh" to get these values. Just you use the commands given JRF.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 03:59 AM
тАО03-08-2006 03:59 AM
Re: Script for collection system information
But i want to do run the php file i,e
$system = x.x.x.x;
$data = shell_exec("ssh root@$system uptime");
print "Uptime: $data
\n";
?>
But its error is showing please help me how to define ssh on PHP file