Hello Wieger,

The URL defined in the 'url_prefix' option is not valid. That URL is 
probably what you use to see the main page from where you would choose 
the timeframe and the graphs, but this is not what the 'emailreport' 
module expects because there is no graphs to get from that page.

You must define a "minimum" URL to reach the site. That is, the hostname 
or ip address and the network port (if needed). The rest of the URL will 
be appended automatically by the module when getting the graphs.

In your case, the right URL would be:

url_prefix = http://192.168.x.x/

the 'emailreports' module will append the value of the option 'base_cgi' 
followed by the rest of parameters to get each graph.

So the final URL that 'emailreports' will use will be:

http://192.168.x.x/monitorix-cgi/monitorix.cgi?mode=localhost&graph_....

I hope that helped you.
Best regards.


On 02/13/2014 08:40 AM, Wieger van der Meulen wrote:
> Hello list!
>
> I am running monitorix 3.4.0. on Xubuntu 13.10. It works perfectly,
> except for the daily report mailing. I get daily mails, but they do not
> contain any graphs. Only thing that the emails contain is the Host:
> hostadress and the monitorix signature.
> Monitorix.conf contains the following settings:
>
> <emailreports>
>          enabled = y
>          url_prefix = http://192.168.x.x/monitorix
>          smtp_hostname = localhost
>          from_address = xxx...@xxxxxxxx.xxx
>          <daily>
>                  enabled = y
>                  graphs = system, fs, proc, disk, net, serv, port, user,
> apache, mysql, bind, ntp, fail2ban, int
>                  to = wiegervandermeu...@gmail.com
>          </daily>
>
> When I browse to http://192.168.x.x/monitorix, I see the default
> Monitorix screen (the screen where you can select the relevant hostname
> and the graphs you want to see).
>
> I don’t really know what error I made in configuring this. Could someone
> on this list point me in the right direction?
>
> Kind regards,
>
> Wieger van der Meulen
>


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

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Monitorix-general mailing list
Monitorix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general

Reply via email to