Cactiusers.org


It is currently Thu May 17, 2012 7:51 am




Post new topic Reply to topic  [ 6 posts ] 
 Thold and CPU usage 
Author Message
Post Thold and CPU usage
Hi

I installed the thold plugin and want to alarm me, when the CPU load of a server is more then 80%. I can choose the user, system and nice, but how can I choose the total of them?

Thanks
Michael


Sun Nov 13, 2005 12:44 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post Re: Thold and CPU usage
coolmike wrote:
Hi

I installed the thold plugin and want to alarm me, when the CPU load of a server is more then 80%. I can choose the user, system and nice, but how can I choose the total of them?

Thanks
Michael


Currently thold will only work with single datasources, to set a threshold on the total, you would have to create a datasource template etc.. that returned the total.

Hopefully I can find a way to add this in the future.


Sun Nov 13, 2005 1:23 pm
Post 
Thanks for the fast answer, I'm quite new in Cacti and will try to create this datasource.

At the moment I'm using serves alive to check my servers. I'm testing if apache is running with a keyword on a site. I think something like this would not be possible with Thold, right?

Michael


Sun Nov 13, 2005 1:31 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
coolmike wrote:
Thanks for the fast answer, I'm quite new in Cacti and will try to create this datasource.

At the moment I'm using serves alive to check my servers. I'm testing if apache is running with a keyword on a site. I think something like this would not be possible with Thold, right?

Michael


You could easily write a php script to check the web page, and if the keyword is found, output 1, otherwise use 0.

You would have to create a Data Input Method, Data Source template, and graph template, but once you get the hang of how everything works together, you shouldn't have too much trouble.


Sun Nov 13, 2005 2:04 pm
Post 
Hi

The PHP File was not a problem, but creating a Data Input Method, Data Source template, and graph template is quite hard to understand for me.

Can someone help me with this? I would also be willing to pay for this service.

Thanks
Michael


Fri Nov 18, 2005 5:18 am
Post 
Hi

After working a few hours and reading the documentation I understand now the system a bit bether. I created now everything, but there is no graph. RRD files is generated and everything looks ok, but there is just the titel of the grapf but no PNG file.

I was waiting already about 30min and nothing there, any ideas?

Michael


Fri Nov 18, 2005 12:08 pm
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: