Hm, I guess I know what might going on with the message:
"Section 'Default_Tree' does not exist"
Default_Tree is the name of the top tree of a fresh new cacti installation.
If you configure devices for smokeping (via the NMID->Configure Devices menu", the cacti path gets stored in the database:
Example:
Default_Tree->Country->Germany
If you the go and rename the trees in cacti to e.g.
REGIONAL->EMEA->DE_Germany
This will not be reflected in the DB unless you go back to the configure device page and press the save button for the devices in DE_Gemany.
The Cacti Tree Menu and the Smokeping Tree Menu needs to be the same.
Look at the demo page to see what I mean:
<b>Demo Systems</b>
I created a demo system showing the smokeping integration:
http://cacti.urban-software.de/graph_vi ... leaf_id=17
http://cacti.urban-software.de/cgi-bin/smokeping.cgi
User: guest
Password: guest
For the webservice:
You need to install the nmidWebService plugin via the Plugin Management page and you can add a webservice password in the nmid settings then afterwards.
You'll also need to edit "getSmokePingPath.pl" and put the webservice password and the url to the webservice there. The following section needs to be edited:
Code: Select all
### START OF WEB SERVCE SETTINGS ###
my $webservice_password = 'myPass';
my $webservice_url = 'http://cactihost/plugins/nmidWebService/webservice.php?wsdl'';
my $tmp_dir = '/tmp/';
### END OF WEB SERVCE SETTINGS ###
Now for the config part:
nmidSmokeping just creates the target section for smokeping.
So, you could create a file that contains everything else except that target section and the do the following:
1. take the smokeping config without the target section
2. add the target section to that file
3. restart smokeping to use that file
in unix copy terms that would mean:
Code: Select all
cat config_header > config
cat smokeping_nmid_spserver1_config.txt >> config
config is the normal smokeping config you use.
fo the docu point: yes that's wrong it's supposed to be "getSmokePingPath.pl"