Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[WMI] Develop Add-On, or an other stuff ?

 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
ragez



Joined: 08 Feb 2005
Posts: 5

PostPosted: Tue Feb 08, 2005 9:07 am    Post subject: [WMI] Develop Add-On, or an other stuff ? Reply with quote

Hi guys,

first great congratulation for cacti, it's a really amazing product ... Now let's talk about the main subject of my post. I have a lot of windows server and snmp is not really good to monitor them, on the same box (as cacti , linux box) i have nagios, i use nsclient (check_nt) to pool some data. All is fine but as i said i have more then 15 windows to monitor, and the procedure to get a graph of wmi counter is really long.

First i have tried to use script_queries capabilities of cacti, but there is to many counters, this is far from useable stuff.... too bad

Now I think i have to choice, integrate my develepoment directly in cacti (or trying) or make a other thing to create some graph in cacti for me...

in both way i need to get help on the schema of database, and how cacti proceed to create some rra and etc ....

some help will be really enjoyable

Thanks you so much .. and see Ya

Ragez
Back to top
Thomas
Cacti User


Joined: 09 Dec 2004
Posts: 112
Location: Austria

PostPosted: Tue Feb 08, 2005 10:11 am    Post subject: Reply with quote

Couldn't you pass the required WMI counter as a parameter to the script?
So you would need only 1 script to get all the WMI data via check_nt into cacti.
Back to top
ragez



Joined: 08 Feb 2005
Posts: 5

PostPosted: Wed Feb 09, 2005 8:10 am    Post subject: Reply with quote

it's the stuff i do, but there is few problem with ',' character but doesn't matter

I have over 100 counter to check (Exchange, IIS, Sql) and doing it one by one is really painfull

I think i'm gonna develop some scripts to get all exchange counter , and could use it on different server ... it's the fastest way .... maybe i could develop some c# app to auto write perl script ....

I'm gonna do it like this =) sound usable and simple

RaGeZ
Back to top
Thomas
Cacti User


Joined: 09 Dec 2004
Posts: 112
Location: Austria

PostPosted: Wed Feb 09, 2005 8:52 am    Post subject: Reply with quote

ragez wrote:
it's the stuff i do, but there is few problem with ',' character but doesn't matter

Have a look at http://forums.cacti.net/viewtopic.php?t=1041. They were discussing this problem in this thread - not sure if they found a solution
Back to top
ragez



Joined: 08 Feb 2005
Posts: 5

PostPosted: Thu Feb 10, 2005 5:17 am    Post subject: Reply with quote

they found the solution you have to change some source of check_nt

i've already begin my app , i will show some result soon maybe tomorow or on monday


RaGeZ
Back to top
ragez



Joined: 08 Feb 2005
Posts: 5

PostPosted: Wed Feb 16, 2005 10:06 am    Post subject: Reply with quote

Hi,

I am a bit late ...... let's send some zip ....

Fist things HOW it work :
it's simple i have a perl script (pre.pl) with a specific tag "@1@" this tag is replaced by counters array by the c# app. On the other side the c# produce the xml file for cacti too ....

I think the application is not very complicated, anybody could use it

I have some behaviour with check_nt for the moment, if you use french windows (like me), you should notice that microsoft had translated counter name, and they have used some worthest character like éèî ,' , and he produce some bug in check_nt

now i think to resolve that, i have to program my own check_nt wonderfull isn't it(big thanks to microsoft guys which are the most stupids guys all over the earth)

RaGeZ see you on the next week, for the end of my big journey (I Hope)



cacti_helper_0.1.zip
 Description:
Cacti Helper 0.1

Download
 Filename:  cacti_helper_0.1.zip
 Filesize:  19.34 KB
 Downloaded:  238 Time(s)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group