Hi,

The new change introduced in the latest version forces to accept only 
the current time frames supported by Monitorix (daily, weekly, monthly 
and yearly).

Keep in mind that if you use other time frames you may experience less 
accurate results.

As a work-around you might introduce the 'hour' time frame simply 
editing the line 67 in the 'monitorix.cgi' file, changing:

my ($twhen) = ($when =~ m/(day|week|month|year)$/);

by

my ($twhen) = ($when =~ m/(hour|day|week|month|year)$/);

Seeing now that this my break your scripts, I'll introduce this change 
for the next version in order to make your life easier. ;)


Also take in consideration the new change made in the 'when=' parameter:

(from Changes file):
"
- Added the number of instances (1) in the specified time key (day, 
week, month or year). This also introduces some changes in the name of 
the .png files and will break backwards compatibility with old (2.3-) 
Monitorix with Multihost feature enabled.
"

This means that from now on it's easier to include the number of 
instances of each time frame (by default 1):

e.g.: 'when=4hour'

Regards.



On 12/12/2011 03:52 PM, c...@lordcyber.net wrote:
> hi
>
> hourly graph is disabled in new version?
>
> monitorix print me daily graphs when i run ./monitorix.cgi
> mode=localhost graph=all when=hour color=black
>
> thx
>


-- 
Jordi Sanfeliu
FIBRANET Network Services Provider
http://www.fibranet.cat

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Monitorix-general mailing list
Monitorix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general

Reply via email to