Search found 8 matches

by camaya
Fri Jan 02, 2009 8:58 pm
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 429116

can you post your graph template form memory usage, please? I mean your CDEF.

and how can I monitor the printer queue and the band width in the network interfaces?
by camaya
Thu Jan 01, 2009 1:07 am
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 429116

Ahh the CDEF is wrong. I've seen this before when moving between Cacti 0.7.8 and 0.7.8b. You'll need to update the CDEF to suit as it normally is used to calculate one of the memory values. From off the top of my head it'l need to be updated to take the available bytes from the total memory to work...
by camaya
Wed Dec 31, 2008 12:58 am
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 429116

RRDTool Command: /usr/bin/rrdtool graph - \ --imgformat=PNG \ --start=-86400 \ --end=-300 \ --title="mi pc - Memory Usage" \ --base=1024 \ --height=120 \ --width=500 \ --alt-autoscale-max \ --lower-limit=0 \ --vertical-label="bytes" \ --slope-mode \ --font TITLE:12: \ --font AXIS...
by camaya
Tue Dec 30, 2008 11:45 pm
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 429116

Re: Memory Usage template not working

claymen wrote:
camaya wrote:Now I'm having another issue with the Memory Usage template. The data is not being graphed.

again, what would I be doing wrong?

Thanks!
Whats it give you from the cmd line any results at all?
by camaya
Tue Dec 30, 2008 6:31 pm
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 429116

Memory Usage template not working

Now I'm having another issue with the Memory Usage template. The data is not being graphed.

again, what would I be doing wrong?

Thanks!
by camaya
Tue Dec 30, 2008 6:30 pm
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 429116

Good news!!! It works. What I did was to change my credentials name in wmi-logins.php to credential, add the

Code: Select all

\:
where needed.

Zag, make sure you have disabled the debug mode in wmi.php.

Thank you both.
by camaya
Mon Dec 29, 2008 11:23 am
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 429116

I'm not quite sure whether I understand your first question, I'm a beginner at cacti. I attached an image anyway. I changed the path of wmi-logins.php in wmi.php like this include('/usr/share/cacti/site/scripts/wmi-logins.php'); but still does not work. the command #/usr/bin/rrdtool create /var/lib/...
by camaya
Mon Dec 29, 2008 2:03 am
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 429116

cacti does not graph

Hello Claymen, your script works fine at command line but cacti does not graph any data. What would I'm missing in cacti configuration? I'm using Script/Command as input type. Thanks in advance for your help. Cacti is getting these warnings referring to my win xp pc and your data source template: 12...