Search found 26 matches

by felimwhiteley
Thu May 14, 2009 3:16 pm
Forum: Addons for Cacti
Topic: Add graph to host template, update Associated Graph Template
Replies: 18
Views: 56080

That would be enough for now, I'd appreciate it if you could ! :-)
by felimwhiteley
Tue May 12, 2009 5:02 am
Forum: Addons for Cacti
Topic: Add graph to host template, update Associated Graph Template
Replies: 18
Views: 56080

Re: Add graph to host template, update Associated Graph Temp

I recently added some graph templates to several host templates. Afterwards, I had to add all those templates to the list of 'Associated Graph Templates' for each host, and we have about 200 of them. To automate this task, I developed a patch to graph_templates.php, based on cacti 0.8.6d. Unless I'...
by felimwhiteley
Sat Dec 20, 2008 7:43 am
Forum: Scripts and Templates
Topic: Windows WMI with Cacti on Linux server
Replies: 30
Views: 50522

Yes it is True it does indeed (well in everything I've seen, which is a fair bit) return it each time. Glad to help, enjoy your Holidays ! Same for me Cigamit, I know the Plugin Architecture is really great and it makes more sense, but until the PA is inside normal Cacti I can't keep patching the nu...
by felimwhiteley
Tue Dec 02, 2008 11:09 am
Forum: Scripts and Templates
Topic: Windows WMI with Cacti on Linux server
Replies: 30
Views: 50522

Hi gasperazzo First off sorry but I never got an email from the forum saying you replied so I never realised you had an issues. I've got a wrapper application (although it's a bit round-the-houses as there's better ways I realise now) but if you have any Python you could try it http://felimwhiteley....
by felimwhiteley
Mon Dec 01, 2008 10:05 am
Forum: Feature Requests
Topic: Cacti CLI ?
Replies: 26
Views: 23286

felimwhiteley wrote:but might be my fault if there's sometihng needing tweaking from my Ubuntu Cacti Install (0.8.7b) ?
That would be a yes ;-)

Changed CACTI_BASE_PATH to $config["base_path"]

Worked a treat.. cheers gandalf
by felimwhiteley
Mon Dec 01, 2008 9:24 am
Forum: Feature Requests
Topic: Cacti CLI ?
Replies: 26
Views: 23286

This one should already be there. See SVN of 087 branch. You may check it out and try on 087-style cacti. Comments are welcomed Reinhard Hmm not working, but might be my fault if there's sometihng needing tweaking from my Ubuntu Cacti Install (0.8.7b) ? Warning: include_once(): Failed opening 'CACT...
by felimwhiteley
Mon Dec 01, 2008 8:07 am
Forum: Scripts and Templates
Topic: More Windows statistics from Linux with WMI
Replies: 30
Views: 38519

anx noticed something odd. I've been running this script against a Win2k3 server using the IP Address. When I switched to DNS name (Actually it's in my /etc/hosts file so should be no lookup problems) it increased the poller time by about 200seconds ! It's only the one host as well and it's the only...
by felimwhiteley
Mon Dec 01, 2008 8:04 am
Forum: Feature Requests
Topic: Cacti CLI ?
Replies: 26
Views: 23286

Not before 088, as far as I'm concerned. We will supply a "delete" and an "update" interface for most objects. "list" options will be split off of current "add" scripts for sake of performance and design Reinhard Presume the delete of a host will allow the ri...
by felimwhiteley
Thu Nov 27, 2008 9:26 am
Forum: Feature Requests
Topic: Cacti CLI ?
Replies: 26
Views: 23286

Not sure about Deleting being that easy to figure out, there's not plans I take it for a script to handle it then ? I've got a lot of hosts that change IP, and unfortunately they don't play well with DNS. So a script notifies me of an IP address change. So I tried a bit of SQL (It's hundreds changin...
by felimwhiteley
Fri Nov 07, 2008 9:59 am
Forum: Scripts and Templates
Topic: More Windows statistics from Linux with WMI
Replies: 30
Views: 38519

Bingo, I did a couple of searches on the box to push disk usage up and I finally got a reading ! :-)

Case Closed !
by felimwhiteley
Fri Nov 07, 2008 9:27 am
Forum: Scripts and Templates
Topic: More Windows statistics from Linux with WMI
Replies: 30
Views: 38519

Ah strange what happens when you Google ;-) http://forums.cacti.net/about29392.html Looks interesting, only thing is I can't STAND the PA. Pain to get going, then upgrades trash it on you. Plus I work with multiple domains so if they are using a master account it really wouldn't work for me... this ...
by felimwhiteley
Fri Nov 07, 2008 9:21 am
Forum: Scripts and Templates
Topic: More Windows statistics from Linux with WMI
Replies: 30
Views: 38519

I might actually be able to cobble together from one of my other bits of code and my Python wrapper a index based one, got a lot on at the moment so not too sure if I'll have time this week. Hey I could find interesting stuff al day, it's building the bloody templates that annoys me :lol: No I've no...
by felimwhiteley
Fri Nov 07, 2008 8:57 am
Forum: Scripts and Templates
Topic: More Windows statistics from Linux with WMI
Replies: 30
Views: 38519

Yes I *think* I get how it works.. I'm still wiping up after the initial brain melt :-) I've done a few things like this but what I did was use an index integer, If the file was old/not_there I'd poll for it, but to avoid say where you have 3 items and it polling 3 times I set in the script that onl...
by felimwhiteley
Fri Nov 07, 2008 8:32 am
Forum: Scripts and Templates
Topic: More Windows statistics from Linux with WMI
Replies: 30
Views: 38519

AH ! I know why, in your script the temp location is /usr/share/cacti/site/rra/10.0.22.11_wmi_cpu_data For one of my hosts, but I'm using an Ubuntu Server and it should be /var/lib/cacti/rra For the rra directory... Well sorted now, I put a symlink into /usr/share/cacti/ Happy Days ! Great scripts b...
by felimwhiteley
Fri Nov 07, 2008 8:22 am
Forum: Scripts and Templates
Topic: More Windows statistics from Linux with WMI
Replies: 30
Views: 38519

anx these are mostly working ok, but I've got two servers, one where Diskio and diskq works the other were it doesn't, odd thing is on the command line it's fine, jsut the graph is not reading it. Not sure what's going on. For instance one gives me: DiskReadsPerSec:1220 DiskWritesPerSec:447 DiskTran...