Cactiusers.org


It is currently Mon May 21, 2012 4:57 pm




Post new topic Reply to topic  [ 3 posts ] 
 [thold] checking a data from a server in front of the others 
Author Message
New User

Joined: Mon Sep 18, 2006 6:25 am
Posts: 9
Post [thold] checking a data from a server in front of the others
hi,

I have to check the heath of a server in front of the health of others. ie I would like to say if a certain server from a citrix farm is in good life compare to the other servers of the farm. So, thought that it could be check by comparing the value of the data source of one server to the average of the datasources of the other servers like:

if
server1.data_source1 < 0.80* (server2.data_source1+...+servern.data.source1)/(n-1)

then alert

if there a way actualy to do this or it could be done by a new feature that the poller call a script with in parameters the values of data_source ?

Bye


Wed Sep 27, 2006 11:28 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
That would be too complicated for thold to try and find out by itself, but you could easily write a PHP script to do it for you, and then graph that in Cacti, which can then use thold to alert on the graph's value.


Wed Sep 27, 2006 11:47 pm
New User

Joined: Mon Sep 18, 2006 6:25 am
Posts: 9
Post 
Ok, that I understand is that I create the datasources that contains:
* server1.data_source1 - 0.80 * (server2.data_source1 + ... + servern.data.source1) / (n-1)
* server2.data_source1 - 0.80 * (server1.data_source1 + server3.data_source1... + servern.data.source1) / (n-1)
* etc...

And then put a thold on that datasources?

But is there a way to have all the last value for all datasources? I think thold need to have it. And then a feature would be to let call a pesonnal script with a list a parameters....


Thu Sep 28, 2006 1:27 am
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


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: