Operating System - HP-UX
1832645 Members
3106 Online
110043 Solutions
New Discussion

System Monitoring with AWK?

 
SOLVED
Go to solution
Scott Frye_1
Super Advisor

System Monitoring with AWK?

We are stepping away from our system monitoring contracts. What I want to do is run tools like bdf, top, swapinfo, who, or ps -ef and grep for running applications on each of our HP-UX boxes (11.0 and 11.i). Ideally I would like the final output to be on one box that I can use AWK to look at the data and send pages when things are not OK.

My question is how do I get the information from all these different machines into one machine (maybe even one file)?

Thanks

Scott
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: System Monitoring with AWK?

Scott,

If you have NFS available amongst these various machines, it should be simple to copy/move/create these files on whichever machine you desire. Barring NFS availability, you'll need to ftp them back and forth or use "r" facilities (rcp, remsh, etc).


Pete

Pete
Denver Osborn
Honored Contributor

Re: System Monitoring with AWK?

If you don't have time to reinvent the wheel, another option is BigBrother. It's a pretty nice tool if you have to monitor multiple systems.

http://bb4.com/

Hope this helps,
-denver

Jean-Luc Oudart
Honored Contributor
Solution

Re: System Monitoring with AWK?

Scott Frye_1
Super Advisor

Re: System Monitoring with AWK?

We are not running NFS on any box.
Scott Frye_1
Super Advisor

Re: System Monitoring with AWK?

Thanks for the scripts, I'll dig around and see what I come up with.
Rory R Hammond
Trusted Contributor

Re: System Monitoring with AWK?

If you have one system useing has a database like oracle.

You can run your scripts on the remote machines. Using a sql client on the remote systems you can insert your gathered data data into tables.

Rory
There are a 100 ways to do things and 97 of them are right