Notes on ScopePort

Tag: rake

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...
6 Comments :, , , more...

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!