Remote Agent CPU Usage Per Process

Need new test, action, option? Post request here.
Post Reply
jromariz
Posts: 264
Joined: Wed Apr 03, 2002 6:00 pm
Location: Brasil

Remote Agent CPU Usage Per Process

Post by jromariz »

Hi Alex,

I have a need to monitor the cpu usage on linux box in a per process basis. My idea is to have the agent, that is installed in the box, grab this information an log the results in an SQL.

Do you think it is possible?


Regards,

Jromariz.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You need information about all running processes? Single test item cannot return such information to HostMonitor. If you want to record this info directly into database, probably you don't need agent and HostMonitor. I think its better to use some script started on schedule...
Or you need monitoring function as well? E.g. start alert when some process uses too much resources?

Regards
Alex
jromariz
Posts: 264
Joined: Wed Apr 03, 2002 6:00 pm
Location: Brasil

Post by jromariz »

Alex,

A need information about two process. With the information, I need to run a command that will write in database.

Regards,

Jromariz.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

So, what the problem?
Use Shell Script "Process: %CPU Usage" and "SQL Query" action

Regards
Alex
jromariz
Posts: 264
Joined: Wed Apr 03, 2002 6:00 pm
Location: Brasil

Post by jromariz »

Ok,

I´ll give it a try.


Regards,


Jromariz.
jromariz
Posts: 264
Joined: Wed Apr 03, 2002 6:00 pm
Location: Brasil

Post by jromariz »

Alex,

I´m trying to make RMA execute external program using the reply of one test executed by hostmonitor. The problem is I´m not getting the result but the name of the macro I´m using. Is there any problem in using macros on action excute external program with RMA (Linux)?

Regards,

Jromariz.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What macro variable do you use?
HostMonitor version?

Regards
Alex
jromariz
Posts: 264
Joined: Wed Apr 03, 2002 6:00 pm
Location: Brasil

Post by jromariz »

Alex,

Never mind, it was my mistake. Hostmon is working great.


Regards,


Jromariz.
Post Reply