A live graph showing the ping time to google.de for the last hour is shown here:
Installation:
Download and extract the nmidWebService.tgz to you plugin dir.
Install the plugin via the PIA plugin management function
Enable the plugin and set a password for the web-service in the config section
Download and extract the getGraph.tgz to your cgi-bin dir
Edit the getGraph.pl file and adjust the following settings to fit your server:
Code: Select all
my $webservice_password = 'guest';
my $webservice_url = 'http://cacti.network-outsourcing.de:80/cacti/plugins/nmidWebService/webservice.php?wsdl';
my $tmp_dir = '/tmp/';
Usage:
Code: Select all
<img src="http://<server>/cgi-bin/getGraph.pl?lgid=<local_graph_id>&height=<height_in_pixel>&width=<width_in_pixel>&start=<start_of_graph_unixtime>&end=<end_of_graph_unixtime>"/>
Code: Select all
<img src="http://cacti.network-outsourcing.de/cgi-bin/getGraph.pl?lgid=6"/>
http://blog.network-outsourcing.de/prod ... ebservice/
This should work for cacti 0.8.7b,c and d