Generate all graphs using a rake task
by Lennart on Feb.07, 2010, under ScopePort
Lennart just pushed a new rake task to master: graphfactory[:all|:hosts|:services]
Use it to generate all graphs at once – It is highly recommended to use this task as a cronjob to avoid extremely long page generation times of host and service detail views.
Sample output:
$ rake graphfactory:all === Service 'Google' === Last stored value is from Sun Feb 07 01:29:51 +0100 2010 Inserting 240 values into RRD... === Service 'ScopePort SMTP' === Last stored value is from Sun Feb 07 01:29:36 +0100 2010 Inserting 36 values into RRD... === Service 'ScopePort SSH' === Last stored value is from Sun Feb 07 01:30:47 +0100 2010 Inserting 22 values into RRD... === Host 'scopeport.org' === == Graph: cpuload == Last stored value is from Sat Jan 23 22:16:28 +0100 2010 Inserting 13038 values into RRD... == Graph: disk-read-ops == Last stored value is from Fri Dec 04 03:39:41 +0100 2009 Inserting 4347 values into RRD... == Graph: disk-write-ops == Last stored value is from Fri Dec 04 03:39:41 +0100 2009 Inserting 4347 values into RRD... == Graph: free-memory == Last stored value is from Sat Jan 23 22:19:28 +0100 2010 Inserting 4347 values into RRD... == Graph: open-files == Last stored value is from Sat Jan 23 22:19:28 +0100 2010 Inserting 4346 values into RRD... == Graph: processes == Last stored value is from Sat Jan 23 22:18:28 +0100 2010 Inserting 4347 values into RRD...


May 29th, 2010 on 2:07 pm
You gave great points here. I did some research on the subject and have found nearly all people agree with your blog.
Sent via Blackberry
July 16th, 2010 on 5:07 pm
Hello, i have setup a testing install of scopeport and try to generate system graph for a host, but i cannot find how to do, ex:
=== Host ‘Obiwan’ ===
== Graph: cpuload ==
Error: No such file or directory – /opt/rails/scopeport-web-interface/db/colored-rrds/host-cpuload-1.rrd
Skipping
I have the graph for services without any problem, but no for host.
Thx for help,
Etienne Garnier
July 16th, 2010 on 5:55 pm
It’s ok, just to click on the blurred picture to generate the graph. Any way to auto-generate all the host graph when the webpage is loaded ?
July 20th, 2010 on 7:11 pm
Hello,
I reviewed your work on Scopeport.org recently, and it looks like EXACTLY what I need for remote monitoring etc., so I was sort of sitting back as you had said that there was major work in the throes of being done…
It now looks a little quiet here, and I am wondering what your status is – do you consider the code to be BETA right now?
Should I just cut to the chase and setup a dev environment and have a play – please let me know, as I think you are onto something with this application
Thanks !
Regards,
Don
July 21st, 2010 on 4:01 pm
I read blogs on a similar topic, but i never visited your blog. I added it to favorites and i’ll be your constant reader.
July 21st, 2010 on 11:48 pm
Hey!
I am currently working on http://www.graylog2.org – That’s why there is not much progress on ScopePort – I’ll continue work this summer!
Thank you!
Lennart