Notes on ScopePort

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...
Share:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon
  • Technorati
  • Yigg
  • FriendFeed
  • Identi.ca
  • MySpace
  • TwitThis
:, , ,

6 Comments for this entry

  • VTR1000 Lady

    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

  • Etienne Garnier

    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

  • Etienne Garnier

    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 ?

  • Don

    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

  • buy generic pills online

    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.

  • Lennart

    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

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!