Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate weathermap with rrdcached librenms installations #1

Closed
elbuit opened this issue Oct 29, 2014 · 1 comment
Closed

Integrate weathermap with rrdcached librenms installations #1

elbuit opened this issue Oct 29, 2014 · 1 comment

Comments

@elbuit
Copy link

elbuit commented Oct 29, 2014

To allow weathermap use rrdcached only two lines at:
/html/plugins/Weathermap/lib/datasources/WeatherMapDataSource_rrd.php

But the interesting thing is that plugin detects
$config['rrdcached'] from config.php

--- a/WeatherMapDataSource_rrd.php
+++ b/html/plugins/Weathermap/lib/datasources/WeatherMapDataSource_rrd.php
@@ -337,6 +337,8 @@ class WeatherMapDataSource_rrd extends WeatherMapDataSource {
#### $command = '"'.$map->rrdtool . '" fetch "'.$rrdfile.'" AVERAGE --start '.$start.' --end '.$end;
#$command=$map->rrdtool . " fetch $rrdfile $cf --start $start --end $end $extra_options";
$args[] = "fetch";

  •           $args[] = "--daemon";
    
  •           $args[] = "unix:/var/run/rrdcached.sock";
            $args[] = $rrdfile;
            $args[] = $cf;
            $args[] = "--start";
    
@librenms-plugins
Copy link
Collaborator

Support was added a bit ago so I'm closing this.

laf pushed a commit that referenced this issue Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant