Hi Jordi,

That was perfect!

I just added

<td bgcolor="#333333">
<input type="radio" checked name="when" value="hour">
<font color="#888800"><b>Hourly&nbsp;</b></font>
</td>


into /usr/share/monitorix/index.html

and now I have the report.

Thanks for the help.

Ryan

On 07/01/2011 12:36 PM, Jordi Sanfeliu wrote:
> Hi Ryan,
>
> As you probably already know, Monitorix uses the RRDtool to store the
> information in files. Those type of files are fixed size database, and
> they were sized according the time frames implemented in Monitorix
> (daily, weekly, monthly and yearly).
>
> That means you aren't able to configure Monitorix to see the graphs in
> an hourly basis or any other time frame, BUT you can use a little trick
> to force Monitorix to show a different time frame in a given moment.
>
> Let me explain. Imagine you choose to see the 'System load average and
> usage' daily graph and click in the 'Ok' button. The page with the
> graphs will appear immediately and you'll see in the URL bar of your
> browser something like this:
>
> http://localhost/monitorix-cgi/monitorix.cgi?mode=localhost&graph=_system1&when=day&color=black
>
> As you may see Monitorix is using the parameter 'when' with the value
> 'day' which will show the values of the last day of each graph.
>
> Now modify by hand this line changing 'day' by 'hour', just like this:
>
> http://localhost/monitorix-cgi/monitorix.cgi?mode=localhost&graph=_system1&when=hour&color=black
>
> Now you'll see the graphs showing the values in the last hour.
>
> You probably can take advantage of this trick using other time frames
> but as you'll see, the resolution of the data shown is not so accurate
> as  you get when using the 'standard' time frames of Monitorix (daily,
> weekly, monthly and yearly).
>
> I hope that helped you.
> Best regards.
>
>
> Ryan wrote:
>> Hi
>>
>> I have just started using Monitorix and I'm monitoring my network ports.
>> I would like to know if its possible to have a Hourly report instead of
>> daily? Is there something in the config file I can change to achieve this?
>>
>> Thanks,
>>
>> Ryan


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Monitorix-general mailing list
Monitorix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general

Reply via email to