Hello
How do I install the autom8 v0.35 plug-in into a cacti-0.8.7i with PIA-3.1 installed ?
I see these files in autom8 [1]
Which .patch's do I need to apply to a cacti-0.8.7i install
Thanks Glenn
[1] file listing:
http://docs.cacti.net/plugin:autom8_actions
http://docs.cacti.net/_media/plugin:autom8-v0.35.tgz
# gunzip "plugin:autom8-v0.35.tgz"
# mv "plugin:autom8-v0.35.tar" plugin-autom8-v0.35.tar
# tar -tvf plugin-autom8-v0.35.tar
drwxrwxr-x reinhard/cactiuser 0 2010-11-19 06:35 trunk/
-rw-rw-r-- reinhard/cactiuser 38725 2010-12-12 21:08 trunk/autom8_graph_rules.php
-rw-rw-r-- reinhard/cactiuser 27689 2010-12-12 21:08 trunk/autom8_functions.php
-rw-rw-r-- reinhard/cactiuser 36015 2010-12-12 21:08 trunk/setup.php
-rw-rw-r-- reinhard/cactiuser 10432 2010-12-12 21:06 trunk/README
drwxrwxr-x reinhard/cactiuser 0 2010-11-19 06:35 trunk/patches-087e/
-rw-rw-r-- reinhard/cactiuser 750 2010-11-19 06:35 trunk/patches-087e/lib_api_device.php.patch
-rw-rw-r-- reinhard/cactiuser 731 2010-11-19 06:35 trunk/patches-087e/lib_html_utility.patch
-rw-rw-r-- reinhard/cactiuser 767 2010-11-19 06:35 trunk/patches-087e/lib_template.php.patch
-rw-rw-r-- reinhard/cactiuser 1719 2010-11-19 06:35 trunk/patches-087e/cli.patch
-rw-rw-r-- reinhard/cactiuser 2879 2010-11-19 06:35 trunk/patches-087e/lib_api_tree.php.patch
-rw-rw-r-- reinhard/cactiuser 616 2010-11-19 06:35 trunk/patches-087e/host.php.patch
-rw-rw-r-- reinhard/cactiuser 416 2010-11-19 06:35 trunk/patches-087e/lib_data_query.php.patch
-rw-rw-r-- reinhard/cactiuser 5708 2010-11-19 06:35 trunk/patches-087e/lib_api_automation_tools.php.patch
-rw-rw-r-- reinhard/cactiuser 1018 2010-12-12 21:08 trunk/autom8_sql.php
-rw-rw-r-- reinhard/cactiuser 40206 2010-12-12 21:07 trunk/autom8_tree_rules.php
-rw-rw-r-- reinhard/cactiuser 15237 2010-11-19 06:35 trunk/LICENSE
-rw-rw-r-- reinhard/cactiuser 89295 2010-12-12 21:07 trunk/autom8_utilities.php
drwxrwxr-x reinhard/cactiuser 0 2010-11-19 06:35 trunk/patches-087d/
-rw-rw-r-- reinhard/cactiuser 750 2010-11-19 06:35 trunk/patches-087d/lib_api_device.php.patch
-rw-rw-r-- reinhard/cactiuser 731 2010-11-19 06:35 trunk/patches-087d/lib_html_utility.patch
-rw-rw-r-- reinhard/cactiuser 767 2010-11-19 06:35 trunk/patches-087d/lib_template.php.patch
-rw-rw-r-- reinhard/cactiuser 1719 2010-11-19 06:35 trunk/patches-087d/cli.patch
-rw-rw-r-- reinhard/cactiuser 2879 2010-11-19 06:35 trunk/patches-087d/lib_api_tree.php.patch
-rw-rw-r-- reinhard/cactiuser 562 2010-11-19 06:35 trunk/patches-087d/host.php.patch
-rw-rw-r-- reinhard/cactiuser 416 2010-11-19 06:35 trunk/patches-087d/lib_data_query.php.patch
-rw-rw-r-- reinhard/cactiuser 5708 2010-11-19 06:35 trunk/patches-087d/lib_api_automation_tools.php.patch
-rw-rw-r-- reinhard/cactiuser 996321 2010-11-19 06:35 trunk/automate_manual.pdf
drwxrwxr-x reinhard/cactiuser 0 2010-11-19 06:35 trunk/patches-087g/
-rw-rw-r-- reinhard/cactiuser 14244 2010-11-19 06:35 trunk/patches-087g/cacti087g_autom8.patch
-rw-rw-r-- reinhard/cactiuser 9137 2010-12-12 21:08 trunk/autom8_actions.ph
How do I install the autom8 v0.35 plugin into a cacti-0.8.7i
Moderators: Developers, Moderators
Re: How do I install the autom8 v0.35 plugin into a cacti-0.
Just rename the "Trunk" folder to "Autom8" and move it to your plugins folder. PIA should do the rest, I think the patches are for upgrading?
I did the above and its working fine on 0.8.7i (^.^)
Hope this helps.
I did the above and its working fine on 0.8.7i (^.^)
Hope this helps.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: How do I install the autom8 v0.35 plugin into a cacti-0.
The patches were used for "old PIA releases" to provide the hooks required for AUTOM8. Newer PIAs do have all required hooks, so no more patches required
R.
R.
Re: How do I install the autom8 v0.35 plugin into a cacti-0.
I did the following so far.
- Clean install of
# rpm -qa | grep -i cacti-PA
cacti-PA-0.8.7i-3.1.noarch
- rename the "Trunk" folder to "Autom8" and move it to the plugins folder
# ll autom8/
total 2229
-rw-r--r-- 1 wwwrun www 15237 Dec 23 11:41 LICENSE
-rw-r--r-- 1 wwwrun www 10432 Dec 23 11:41 README
-rw-r--r-- 1 wwwrun www 9137 Dec 23 11:41 autom8_actions.php
-rw-r--r-- 1 wwwrun www 27689 Dec 23 11:41 autom8_functions.php
-rw-r--r-- 1 wwwrun www 38725 Dec 23 11:41 autom8_graph_rules.php
-rw-r--r-- 1 wwwrun www 1018 Dec 23 11:41 autom8_sql.php
-rw-r--r-- 1 wwwrun www 40206 Dec 23 11:41 autom8_tree_rules.php
-rw-r--r-- 1 wwwrun www 89295 Dec 23 11:41 autom8_utilities.php
-rw-r--r-- 1 wwwrun www 996321 Dec 23 11:41 automate_manual-v0.35.pdf
-rw-r--r-- 1 wwwrun www 996321 Dec 23 11:41 automate_manual.pdf
-rw-r--r-- 1 wwwrun www 36015 Dec 23 11:41 setup.php
mysql> describe plugin_config;
+-----------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+--------------+------+-----+---------+----------------+
| id | int(8) | NO | PRI | NULL | auto_increment |
| directory | varchar(32) | NO | MUL | | |
| name | varchar(64) | NO | | | |
| status | tinyint(2) | NO | MUL | 0 | |
| author | varchar(64) | NO | | | |
| webpage | varchar(255) | NO | | | |
| version | varchar(8) | NO | | | |
+-----------+--------------+------+-----+---------+----------------+
7 rows in set (0.00 sec)
mysql> select * from plugin_config;
Empty set (0.00 sec)
mysql> exit;
Question: What else do I do to get autom8 plugin to show up in the cacti interface ?
No plugin management is showing in cacti at all.
Thanks Glenn
- Clean install of
# rpm -qa | grep -i cacti-PA
cacti-PA-0.8.7i-3.1.noarch
- rename the "Trunk" folder to "Autom8" and move it to the plugins folder
# ll autom8/
total 2229
-rw-r--r-- 1 wwwrun www 15237 Dec 23 11:41 LICENSE
-rw-r--r-- 1 wwwrun www 10432 Dec 23 11:41 README
-rw-r--r-- 1 wwwrun www 9137 Dec 23 11:41 autom8_actions.php
-rw-r--r-- 1 wwwrun www 27689 Dec 23 11:41 autom8_functions.php
-rw-r--r-- 1 wwwrun www 38725 Dec 23 11:41 autom8_graph_rules.php
-rw-r--r-- 1 wwwrun www 1018 Dec 23 11:41 autom8_sql.php
-rw-r--r-- 1 wwwrun www 40206 Dec 23 11:41 autom8_tree_rules.php
-rw-r--r-- 1 wwwrun www 89295 Dec 23 11:41 autom8_utilities.php
-rw-r--r-- 1 wwwrun www 996321 Dec 23 11:41 automate_manual-v0.35.pdf
-rw-r--r-- 1 wwwrun www 996321 Dec 23 11:41 automate_manual.pdf
-rw-r--r-- 1 wwwrun www 36015 Dec 23 11:41 setup.php
mysql> describe plugin_config;
+-----------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+--------------+------+-----+---------+----------------+
| id | int(8) | NO | PRI | NULL | auto_increment |
| directory | varchar(32) | NO | MUL | | |
| name | varchar(64) | NO | | | |
| status | tinyint(2) | NO | MUL | 0 | |
| author | varchar(64) | NO | | | |
| webpage | varchar(255) | NO | | | |
| version | varchar(8) | NO | | | |
+-----------+--------------+------+-----+---------+----------------+
7 rows in set (0.00 sec)
mysql> select * from plugin_config;
Empty set (0.00 sec)
mysql> exit;
Question: What else do I do to get autom8 plugin to show up in the cacti interface ?
No plugin management is showing in cacti at all.
Thanks Glenn
- Attachments
-
- cacti-PA interface - no plugins
- cacti-PA-autom8-setup-1.png (93.67 KiB) Viewed 1943 times
Re: How do I install the autom8 v0.35 plugin into a cacti-0.
Did you enable "Plugin Management" in Realm Permissions?doiggl wrote: Question: What else do I do to get autom8 plugin to show up in the cacti interface ?
No plugin management is showing in cacti at all.
Re: How do I install the autom8 v0.35 plugin into a cacti-0.
Hello,
Thanks for the information.
The 'Plugin Management' was unticked in Console -> User Management -> (Edit), so I ticked it.
Logged out|in to cacti and then went to Console -> Plugin Management, then clicked on install plugin
Sql run
12/31/2011 11:13:21 AM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "SELECT id FROM plugin_realms WHERE plugin = 'autom8' AND file = 'autom8_graph_rules.php,autom8_graph_rules_items.php,autom8_tree_rules.php,autom8_tree_rules_items.php'"
12/31/2011 11:07:36 AM - CMDPHP: Poller[0] DEVEL: SQL Exec: "REPLACE INTO plugin_temp_table_1735848655 (directory, name, status, author, webpage, version) VALUES ('autom8', 'Automate Cacti Tasks', '0', 'Reinhard Scheck', 'http://docs.cacti.net/plugin:autom8', '0.35')"
12/31/2011 11:07:36 AM - CMDPHP: Poller[0] DEVEL: SQL Exec: "INSERT INTO plugin_temp_table_1735848655 SELECT * FROM plugin_config"
12/31/2011 11:07:36 AM - CMDPHP: Poller[0] DEVEL: SQL Exec: "TRUNCATE plugin_temp_table_1735848655"
12/31/2011 11:07:36 AM - CMDPHP: Poller[0] DEVEL: SQL Exec: "CREATE TEMPORARY TABLE IF NOT EXISTS plugin_temp_table_1735848655 LIKE plugin_config"
Question:
What autom8 rules would you use to create traffic volume graphs for a adsl modem device plugged in using this method ? [1]
Thanks Glenn
[1]
# cd cacti/cli/
# php add_device.php --description="BiPAC 7401VGPR3" --ip=192.168.1.254 --template=1 --version=2 --community="public"
Adding BiPAC 7401VGPR3 (192.168.1.254) as "Generic SNMP-enabled Host" using SNMP v2 with community "public"
Success - new device-id: (2)
Thanks for the information.
The 'Plugin Management' was unticked in Console -> User Management -> (Edit), so I ticked it.
Logged out|in to cacti and then went to Console -> Plugin Management, then clicked on install plugin
Sql run
12/31/2011 11:13:21 AM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "SELECT id FROM plugin_realms WHERE plugin = 'autom8' AND file = 'autom8_graph_rules.php,autom8_graph_rules_items.php,autom8_tree_rules.php,autom8_tree_rules_items.php'"
12/31/2011 11:07:36 AM - CMDPHP: Poller[0] DEVEL: SQL Exec: "REPLACE INTO plugin_temp_table_1735848655 (directory, name, status, author, webpage, version) VALUES ('autom8', 'Automate Cacti Tasks', '0', 'Reinhard Scheck', 'http://docs.cacti.net/plugin:autom8', '0.35')"
12/31/2011 11:07:36 AM - CMDPHP: Poller[0] DEVEL: SQL Exec: "INSERT INTO plugin_temp_table_1735848655 SELECT * FROM plugin_config"
12/31/2011 11:07:36 AM - CMDPHP: Poller[0] DEVEL: SQL Exec: "TRUNCATE plugin_temp_table_1735848655"
12/31/2011 11:07:36 AM - CMDPHP: Poller[0] DEVEL: SQL Exec: "CREATE TEMPORARY TABLE IF NOT EXISTS plugin_temp_table_1735848655 LIKE plugin_config"
Question:
What autom8 rules would you use to create traffic volume graphs for a adsl modem device plugged in using this method ? [1]
Thanks Glenn
[1]
# cd cacti/cli/
# php add_device.php --description="BiPAC 7401VGPR3" --ip=192.168.1.254 --template=1 --version=2 --community="public"
Adding BiPAC 7401VGPR3 (192.168.1.254) as "Generic SNMP-enabled Host" using SNMP v2 with community "public"
Success - new device-id: (2)
Re: How do I install the autom8 v0.35 plugin into a cacti-0.
It's not any special use for that. See Autom8 manual.doiggl wrote: Question:
What autom8 rules would you use to create traffic volume graphs for a adsl modem device plugged in using this method ? [1]
Thanks Glenn
[1]
# cd cacti/cli/
# php add_device.php --description="BiPAC 7401VGPR3" --ip=192.168.1.254 --template=1 --version=2 --community="public"
Adding BiPAC 7401VGPR3 (192.168.1.254) as "Generic SNMP-enabled Host" using SNMP v2 with community "public"
Success - new device-id: (2)
Who is online
Users browsing this forum: No registered users and 3 guests