Autom8 V0.33

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Locked
alkman82
Cacti User
Posts: 50
Joined: Tue Dec 15, 2009 7:32 am
Location: Athens

can't create graphs

Post by alkman82 »

Hi to all,

I used Autom v0.33 with PIA 2.6 and cacti v0.8.7e and the fist 2-3 testing time it was working ok. After some tests with the rules, I am now trying to apply two graph rules in one device and after I press the "yes" button I take a completely blank page with the following URL : " .../cacti/host.php " and no graphs are created.
Inspite that I upgrated to Autom v0.35b6 I have uninstalled and reinstall many times the plugin, delete-create the rules I still have the same problem.
In v0.35b6 I set the logging level to LOW even with this, I take nothing to the cacti.log.

Any ideas?
Thanks in any way!

I have to note that my devices are about 1700 and if I try to use the "show maching graphs" button, the mysld gets crazy.
alkman82
Cacti User
Posts: 50
Joined: Tue Dec 15, 2009 7:32 am
Location: Athens

Re: Autom8 V0.33

Post by alkman82 »

Guys I have a bit of news,

After I reapplyed the patches, now when I press the "yes" button I return to the previous screen like everithing went ok. But It still does not create graphs. Could you please check the output of my cli when I applied the patches? Is everythink ok??
[root@xxx cacti]# patch -p1 -N --dry-run < plugins/autom8/patches-087e/cli.patch
patching file cli/add_graph_template.php
patching file cli/add_tree.php
patching file cli/host_update_template.php
[root@xxx cacti]# patch -p1 -N --dry-run < plugins/autom8/patches-087e/host.php.patch
patching file host.php
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file host.php.rej
[root@xxx cacti]# patch -p1 -N --dry-run < plugins/autom8/patches-087e/lib_api_automation_tools.php.patch
patching file lib/api_automation_tools.php
[root@xxx cacti]# patch -p1 -N --dry-run < plugins/autom8/patches-087e/lib_api_device.php.patch
patching file lib/api_device.php
Hunk #1 succeeded at 175 (offset 2 lines).
[root@xxx cacti]# patch -p1 -N --dry-run < plugins/autom8/patches-087e/lib_api_tree.php.patch
patching file lib/api_tree.php
[root@xxx cacti]# patch -p1 -N --dry-run < plugins/autom8/patches-087e/lib_data_query.php.patch
patching file lib/data_query.php
[root@xxx cacti]# patch -p1 -N --dry-run < plugins/autom8/patches-087e/lib_html_utility.patch
patching file lib/html_utility.php
[root@xxx cacti]# patch -p1 -N --dry-run < plugins/autom8/patches-087e/lib_template.php.patch
patching file lib/template.php
************************* After this I remove "--dry-run "************************
[root@xxx cacti]# patch -p1 -N < plugins/autom8/patches-087e/cli.patch
patching file cli/add_graph_template.php
patching file cli/add_tree.php
patching file cli/host_update_template.php
[root@xxx cacti]# patch -p1 -N < plugins/autom8/patches-087e/host.php.patch
patching file host.php
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file host.php.rej
[root@xxx cacti]# patch -p1 -N < plugins/autom8/patches-087e/lib_api_automation_tools.php.patch
patching file lib/api_automation_tools.php
[root@xxx cacti]# patch -p1 -N < plugins/autom8/patches-087e/lib_api_device.php.patch
patching file lib/api_device.php
Hunk #1 succeeded at 175 (offset 2 lines).
[root@xxx cacti]# patch -p1 -N < plugins/autom8/patches-087e/lib_api_tree.php.patch
patching file lib/api_tree.php
[root@xxx cacti]# patch -p1 -N < plugins/autom8/patches-087e/lib_data_query.php.patch
patching file lib/data_query.php
[root@xxx cacti]# patch -p1 -N < plugins/autom8/patches-087e/lib_html_utility.patch
patching file lib/html_utility.php
[root@xxx cacti]# patch -p1 -N < plugins/autom8/patches-087e/lib_template.php.patch
patching file lib/template.php
[root@xxx cacti]#
Thanks Again!
ronmeri28
Posts: 1
Joined: Tue Mar 16, 2010 12:32 pm

Re: Autom8 V0.33

Post by ronmeri28 »

I'm getting this error when I try to create a rule item. Any ideas why?

12/06/2010 08:19:59 AM - CMDPHP: Poller[0] ERROR: SQL Row Failed!, Error:'1064', SQL:"select max(sequence)+1 as seq from where rule_id="
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Autom8 V0.33

Post by gandalf »

This SQL is invalid.
But I already have posted v0.35B7. Did you try this one? There are several bug fixes. I post again for your convenience. When running PIA 2.9, no more patches are required
R.
Attachments
autom8-v0.35b7.tgz
autom8 v035b7
(965.73 KiB) Downloaded 238 times
Locked

Who is online

Users browsing this forum: No registered users and 0 guests