mostafamemariani / mysql-cacti-templates

Automatically exported from code.google.com/p/mysql-cacti-templates
GNU General Public License v2.0
0 stars 0 forks source link

MongoDB Template Error: The parsing function 'mongodb_cmdline' does not exist #160

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I'm getting the following error trying to test MongoDB:

root# su - www-data -c 'env -i php 
/usr/share/cacti/site/scripts/ss_get_by_ssh.php --type mongodb --host db1 
--items dc.dd'
The parsing function 'mongodb_cmdline' does not exist

As a note, I took a look at the downloaded "templates" directory and don't see 
a mongodb xml file.

root# ls -l ~/better-cacti-templates-1.1.7/templates/
cacti_host_template_x_apache_server_ht_0.8.6i-sver1.1.7.xml
cacti_host_template_x_gnu_linux_server_ht_0.8.6i-sver1.1.7.xml
cacti_host_template_x_jmx_server_ht_0.8.6i-sver1.1.7.xml
cacti_host_template_x_memcached_server_ht_0.8.6i-sver1.1.7.xml
cacti_host_template_x_mysql_server_ht_0.8.6i-sver1.1.7.xml
cacti_host_template_x_nginx_server_ht_0.8.6i-sver1.1.7.xml
cacti_host_template_x_openvz_server_ht_0.8.6i-sver1.1.7.xml
cacti_host_template_x_redis_server_ht_0.8.6i-sver1.1.7.xml

I downloaded version 1.1.7 and the nginx templates work great for me. It's 
really just the mongodb tempalte that is generating errors.

Is the tar file missing the mongodb xml? Is there anything I can do to fix the 
problem?

Thank you in advance,

Andre

Original issue reported on code.google.com by andre.ph...@gmail.com on 13 Oct 2010 at 11:16

GoogleCodeExporter commented 8 years ago
I suppose this will be supported in the 1.1.8 release, but you can checkout the 
last version of ss_get_by_ssh.php in svn (but I couldn't find the xml template 
DIY!)

Original comment by afeni...@gmail.com on 23 Dec 2010 at 2:49

GoogleCodeExporter commented 8 years ago
in fact, you can generate the template by tuning the make.sh or use that one

Original comment by afeni...@gmail.com on 23 Dec 2010 at 4:43

Attachments:

GoogleCodeExporter commented 8 years ago
The MongoDB templates haven't been released yet; that will be in version 1.1.8. 
Thanks!

Original comment by baron.schwartz on 15 Jan 2011 at 5:42