Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Mar 20, 2019 8:34 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: [SOLVED] URL /plugins/thold/plugins/thold/
PostPosted: Sun Nov 11, 2018 12:30 pm 
Offline

Joined: Sun Nov 11, 2018 12:20 pm
Posts: 10
HI

i'm newbie on cacti.
i have installed Cacti 1.1.38 and threshold 1.0.6 plugin
plugin is enable and installed from plugin management menu

but when i will entered into threshold template setting, i have popup
Error: 404 Not Found
Reason: The requested URL /plugins/thold/plugins/thold/thold_templates.php was not found on this server.

and when i will entered into menu thold, i have message
Not Found
The requested URL /plugins/thold/plugins/thold/thold_graph.php was not found on this server.


i don't know, why in url is double name plugin/thold
/plugins/thold/plugins/thold/

anyone can help me ?


ps: sorry for my english.

Regards


Attachments:
Thold1.jpg
Thold1.jpg [ 109.08 KiB | Viewed 398 times ]
Thold2.jpg
Thold2.jpg [ 51.57 KiB | Viewed 398 times ]


Last edited by lafralle on Thu Nov 15, 2018 9:03 am, edited 1 time in total.
Top
 Profile  
 
 Post subject: Re: URL /plugins/thold/plugins/thold/
PostPosted: Mon Nov 12, 2018 5:22 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2256
Try doing this for me:

SQL:
Code:
select * from plugin_config;


shell:
Code:
cd <cacti>/plugins/thold
ls -lR

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: URL /plugins/thold/plugins/thold/
PostPosted: Mon Nov 12, 2018 5:47 am 
Offline

Joined: Sun Nov 11, 2018 12:20 pm
Posts: 10
Hi

thanks for your help

for Sql command, i have this

mysql> select * from plugin_config;
ERROR 1146 (42S02): Table 'mysql.plugin_config' doesn't exist
mysql>


and for listing directory of thold

[email protected]:/opt/cacti/plugins/thold# ls -lr
total 628
-rw-rw-r-- 1 www-data www-data 18276 nov. 8 11:00 thold_webapi.php
-rw-rw-r-- 1 www-data www-data 71539 nov. 8 11:00 thold_templates.php
-rw-rw-r-- 1 www-data www-data 10452 nov. 8 11:00 thold_process.php
-rw-rw-r-- 1 www-data www-data 72612 nov. 8 11:00 thold.php
-rw-rw-r-- 1 www-data www-data 47823 nov. 8 11:00 thold_graph.php
-rw-rw-r-- 1 www-data www-data 160055 nov. 8 11:00 thold_functions.php
-rw-rw-r-- 1 www-data www-data 277 nov. 8 11:00 thold_daemon.service
-rw-rw-r-- 1 www-data www-data 11298 nov. 8 11:00 thold_daemon.php
drwxrwxr-x 5 www-data www-data 4096 nov. 11 12:07 themes
-rw-rw-r-- 1 www-data www-data 54981 nov. 8 11:00 setup.php
drwxrwxr-x 3 www-data www-data 4096 nov. 11 12:07 service
-rw-rw-r-- 1 www-data www-data 23380 nov. 8 11:00 README.md
-rw-rw-r-- 1 www-data www-data 65054 nov. 8 11:00 notify_lists.php
drwxrwxr-x 4 www-data www-data 4096 nov. 11 12:07 locales
-rw-rw-r-- 1 www-data www-data 26421 nov. 8 11:00 LICENSE
-rw-rw-r-- 1 www-data www-data 234 nov. 8 11:00 INFO
-rw-rw-r-- 1 www-data www-data 41 nov. 8 11:00 index.php
drwxrwxr-x 2 www-data www-data 4096 nov. 12 00:10 includes
drwxrwxr-x 2 www-data www-data 4096 nov. 11 12:07 images
drwxrwxr-x 2 www-data www-data 4096 nov. 11 12:07 extras
-rw-rw-r-- 1 www-data www-data 5748 nov. 8 11:00 cli_thresholds.php
-rw-rw-r-- 1 www-data www-data 16196 nov. 8 11:00 CACTI-THOLD-MIB



regards


Top
 Profile  
 
 Post subject: Re: URL /plugins/thold/plugins/thold/
PostPosted: Mon Nov 12, 2018 8:26 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2256
Make sure that you are in the correct cacti database. You can't be running plugins with that table.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: URL /plugins/thold/plugins/thold/
PostPosted: Mon Nov 12, 2018 9:30 am 
Offline

Joined: Sun Nov 11, 2018 12:20 pm
Posts: 10
Hi

yes you're right sorry
please look now the correct sql result from command select * from plugin_config;

mysql> select * from plugin_config;
+----+---------------+------------------------+--------+----------------------------------------+--------------------------------------------+---------+
| id | directory | name | status | author | webpage | version |
+----+---------------+------------------------+--------+----------------------------------------+--------------------------------------------+---------+
| 3 | thold | Thresholds | 1 | The Cacti Group | http://www.cacti.net | 1.0.6 |
| 4 | routerconfigs | Router Configs | 1 | The Cacti Group | http://www.cacti.net | 1.4.0 |
| 5 | flowview | FlowView | 1 | The Cacti Group | http://www.cacti.net | 2.1 |
| 6 | intropage | Intropage/Dashboard | 1 | Petr Macek | https://github.com/xmacan/plugin_intropage | 1.7 |
| 7 | topx | TopX | 1 | Petr Macek | http://www.cacti.net | 0.4 |
| 9 | audit | Audit Plugin for Cacti | 1 | The Cacti Group | http://www.cacti.net | 1.0 |
| 10 | gpsmap | Maps Plugin | 1 | Andrew Aloia, Wixiweb, The Cacti Group | http://www.cacti.net | 2.1 |
| 11 | maint | Maintenance Scheduler | 1 | The Cacti Group | http://cacti.net | 1.1 |
| 12 | webseer | Web Service Monitor | 1 | The Cacti Group | http://cactiusers.org | 2.0 |
| 15 | syslog | Syslog Monitoring | 0 | The Cacti Group | http://www.cacti.net | 2.1 |
| 16 | mikrotik | MikroTik Switch Tool | 1 | The Cacti Group | http://www.cacti.net | 2.3 |
+----+---------------+------------------------+--------+----------------------------------------+--------------------------------------------+---------+
11 rows in set (0,00 sec)

mysql>


regards


Top
 Profile  
 
 Post subject: Re: URL /plugins/thold/plugins/thold/
PostPosted: Mon Nov 12, 2018 11:43 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2256
Your setup looks OK, can you provide the exact steps you are taking that lead to this issue? Start from the console page to ensure you cover everything.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: URL /plugins/thold/plugins/thold/
PostPosted: Mon Nov 12, 2018 1:10 pm 
Offline

Joined: Sun Nov 11, 2018 12:20 pm
Posts: 10
Yes see.

Step1 -> i'm connect with admin user
Step2 -> i'm click to "Thold" Menu on top bar
Step3 -> i click to "Device Status"

as you can see, in step2 (Thold Menu) i lose theme, image, ...
and when i click to antoher menu, i have error
The requested URL /plugins/thold/plugins/thold/thold_graph.php was not found on this server.

Attachment:
Step1.JPG
Step1.JPG [ 280.46 KiB | Viewed 384 times ]

Attachment:
Step2.JPG
Step2.JPG [ 199.02 KiB | Viewed 384 times ]

Attachment:
Step3.JPG
Step3.JPG [ 44.68 KiB | Viewed 384 times ]


Top
 Profile  
 
 Post subject: Re: URL /plugins/thold/plugins/thold/
PostPosted: Tue Nov 13, 2018 3:25 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2256
Can you make sure that you have updated the URL_PATH configuration option in the config.php to be '/' as by default it assumes '/cacti/' ?

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: URL /plugins/thold/plugins/thold/
PostPosted: Tue Nov 13, 2018 3:14 pm 
Offline

Joined: Sun Nov 11, 2018 12:20 pm
Posts: 10
i have this :
$url_path = '';

i do change for $url_path = '/';
right ?


Top
 Profile  
 
 Post subject: Re: URL /plugins/thold/plugins/thold/
PostPosted: Tue Nov 13, 2018 3:49 pm 
Offline

Joined: Sun Nov 11, 2018 12:20 pm
Posts: 10
netniV,

many thanks, i changed to
$url_path = '/';

it's ok now, great

i have another error
PCOMMAND Device[16] Device[xxxxxx] WARNING: Recache Event Detected for Device
do you know this bug ?


Top
 Profile  
 
 Post subject: Re: URL /plugins/thold/plugins/thold/
PostPosted: Tue Nov 13, 2018 5:52 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2256
That is a known issue. There is a user provided patch on GitHub I think.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: URL /plugins/thold/plugins/thold/
PostPosted: Thu Nov 15, 2018 9:01 am 
Offline

Joined: Sun Nov 11, 2018 12:20 pm
Posts: 10
Hi

ok great,
i wiil check this patch.

many thanks again.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group