Search found 18 matches

by lupick
Tue Mar 30, 2010 8:57 am
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 386640

bonj87 wrote:can i just use these scripts on a cacti install on a windows box?
i don't tink so...
search on the forum a WMI Plugin for Cacti on windows.


L.
by lupick
Mon Feb 15, 2010 3:18 pm
Forum: Plugin Announcements
Topic: GPS Maps for Cacti
Replies: 326
Views: 155698

yep

I'm waiting for the next release!!!
by lupick
Mon Feb 15, 2010 10:13 am
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 386640

Monitor Service State

Claymen I'v finished my template,, as suggested I've added a sed to sobtutute "running" with 1 and Stopped with 0 So now the graph is monitoring the effective service state. Thak's for your help. Last question. I'd like to have the service name somewhere on the graph. Do you know how to add it to th...
by lupick
Thu Feb 11, 2010 12:26 pm
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 386640

Monitor Service using WMI

Hi I'm moved a littel step forward, attached you can find data&graph template to monitor service (running/stopped). using this query: select * from Win32_PerfRawData I can get "State" but it's a string and I don't know how to convert it in a number so that Cacti can create graph So I've used Process...
by lupick
Tue Feb 09, 2010 4:15 am
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 386640

You will need 3 pieces. A data input method with suitable column names etc. Have a look at existing ones. A data template which references the data input method and allows you to enter in which fields are hard set and which are able to be changed (e.g. your filters) And then your graph template to ...
by lupick
Tue Feb 09, 2010 2:38 am
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 386640

I guess you could, you'd need to create your own template to do so. What were you planning to monitor? Just the status so you'd have either an up or down type monitor? Yes the status should be fine; I've found the following wmi query: /usr/bin/wmic --namespace='root\CIMV2' --authentication-file=/et...
by lupick
Mon Feb 08, 2010 6:33 am
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 386640

Monitor windows service?!?

Hi

I'm using this great template to monitor some server via WMI from a Linux box.

Can I monitor also windows services?!?

I've tried to monitor only a process but for many windows service I've alvays svchost.exe...

thank you

L.
by lupick
Thu Jan 21, 2010 12:06 pm
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 386640

Dear All, I've latest version of cacti running wmi template. I've a problem checing the Process Stats template if I manually run this command to monitor ctfmon.exe: /usr/bin/php -q /www/cacti/scripts/wmi.php -h 'MYHOST' -u '/etc/cacti/cactiwmi.pw' -w 'Win32_PerfRawData_PerfProc_Process' -n '' -k 'Na...
by lupick
Thu Jan 21, 2010 2:48 am
Forum: Plugin Announcements
Topic: GPS Maps for Cacti
Replies: 326
Views: 155698

VegardAa wrote:Any idea when the next version with these features will be available?
I'm interested too!!

L.
by lupick
Wed Dec 30, 2009 11:59 am
Forum: Plugin Announcements
Topic: GPS Maps for Cacti
Replies: 326
Views: 155698

PHP Parse error

Dear all I'ìve installed and configured gpsmap plugin but when I click on gpsmap button I've got PHP Parse error: syntax error, unexpected $end in /srv/www/vhosts/cacti.domain.local/plugins/gpsmap/gpsmap.php on line 329, referer: http://cacti.wamgroup.local/plugins.php?mode=enable&id=gpsmap I've do...
by lupick
Mon Jan 07, 2008 3:21 am
Forum: Scripts and Templates
Topic: Monitor Windows Service stats from Linux
Replies: 158
Views: 238259

You are going to find that a lot of your old scripts no longer work in v0.8.7, since instead of including config.php , you need to include global.php . Also, certain functions have changed and require more arguments to support SNMP v3. Attached is a version that should work in v0.8.7. I've tried wi...
by lupick
Sat Jan 05, 2008 6:58 am
Forum: Scripts and Templates
Topic: Monitor Windows Service stats from Linux
Replies: 158
Views: 238259

You are going to find that a lot of your old scripts no longer work in v0.8.7, since instead of including config.php , you need to include global.php . Also, certain functions have changed and require more arguments to support SNMP v3. Attached is a version that should work in v0.8.7. I've tried wi...
by lupick
Tue Apr 10, 2007 9:09 am
Forum: Help: Linux/Unix Specific
Topic: Cacti no graph on first page only
Replies: 4
Views: 2064

rony wrote:None, but you do need to change the version that Cacti is setup to use in the Settings page.
Yes it works!

I'm really a stupid! sorry :-)

L.
by lupick
Tue Apr 10, 2007 8:25 am
Forum: Help: Linux/Unix Specific
Topic: Cacti no graph on first page only
Replies: 4
Views: 2064

fmangeant wrote:Hi

did RRDtool went from 1.0 to 1.2 during the upgrade ?
yes you are right!
ii rrdtool 1.2.15-0.3

Any incompatible issue?

Regards
L.
by lupick
Tue Apr 10, 2007 6:00 am
Forum: Help: Linux/Unix Specific
Topic: Cacti no graph on first page only
Replies: 4
Views: 2064

Cacti no graph on first page only

Dear All, After debian upgrade to 4.0 cacti stop showing graph on first page on graph tab. No image is shown. If I click on it I can see all my graph. Also in graph management - debug don't show any error. I've also restored cacti dir & Mysql database but whitout problem. No error on apace log or ca...