Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
CACTID: Host[34] DS[1418] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[34] ERROR: Empty result [xxx.xxx.xxx.xxx]: 'perl /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx'
CACTID: Host[34] DS[1419] WARNING: Result from SCRIPT not valid. Partial Result: ...
This Error was resolved by adding /path/to/perl in the data input methord ->WebServer - Apache Statistics-> Input String
but i am getting the error
Use of uninitialized value in concatenation (.) or string at /var/www/html/cacti/scripts/ws_apachestats.pl line 63.
Use of uninitialized value in concatenation (.) or string at /var/www/html/cacti/scripts/ws_apachestats.pl line 65.
Use of uninitialized value in concatenation (.) or string at /var/www/html/cacti/scripts/ws_apachestats.pl line 63.
Use of uninitialized value in concatenation (.) or string at /var/www/html/cacti/scripts/ws_apachestats.pl line 65.
Use of uninitialized value in concatenation (.) or string at /var/www/html/cacti/scripts/ws_apachestats.pl line 63.
Use of uninitialized value in concatenation (.) or string at /var/www/html/cacti/scripts/ws_apachestats.pl line 65.
Use of uninitialized value in concatenation (.) or string at /var/www/html/cacti/scripts/ws_apachestats.pl line 63.
Use of uninitialized value in concatenation (.) or string at /var/www/html/cacti/scripts/ws_apachestats.pl line 65.
Use of uninitialized value in concatenation (.) or string at /var/www/html/cacti/scripts/ws_apachestats.pl line 63
This would be the result, if either httpd.conf is _not_ configured for server-status or the result of http://your-server/server-status?auto is not as expected.
Please check the first case (description is in the docs for this Template) and post the result of the second
Reinhard
I'm quite sure it doesn't. As I created some extension to this on my own, I'm sure you'll find a wget in the code. And ist takes |host_hostname| from the device you've applied the template to. So if you put the dns name in, wget will use dns resolution, which should be ok. Or are you talking about vhosts?
Reinhard
I have imported the XML without errors, but when I try to create a graph I get the following errors - Any idea why?
Notice: Undefined index: local_data_id in /usr/share/cacti/site/lib/template.php on line 726
Notice: Undefined index: local_data_id in /usr/share/cacti/site/lib/template.php on line 726
Notice: Undefined index: local_data_id in /usr/share/cacti/site/lib/template.php on line 726
Notice: Undefined index: local_data_id in /usr/share/cacti/site/lib/template.php on line 726
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/cacti/site/lib/template.php:726) in /usr/share/cacti/site/graphs_new.php on line 86
I'd appreciate some help here, running Cacti 0.8.6h on Debian Sarge 3.1 (stable). I've imported various other templates but this one gives me the following message when trying to import;
Notice: Undefined index: import_file in /var/www/cacti/templates_import.php on line 56
Notice: Undefined index: import_file in /var/www/cacti/templates_import.php on line 56
Warning: Cannot modify header information - headers already sent by (output started at /var/www/cacti/templates_import.php:56) in /var/www/cacti/templates_import.php on line 62
I've tried importing using the file as well as importing by pasting in the text, neither works.
What can I do if my apache servers run on ports different than the standard one and I can't change them ? If I put the port number after the hostname in device details, cacti doesn't see the box as being up no more but if not, apache graphs don't get any data cause I presume they're getting the hostname from cacti.
Hi again ! I have a problem with "Thread Details" plugin. All the other graphs are working fine but this doesn't seem to setup properly. When I imported the xml, there was no error and when I add the graph from "Graph management" on any host that I tried it lets me change only colours for graphs but no data sources(check attached image)
Do you have an ideea over what is wrong ? I'm running cacti-0.8.6i with a 5 minute polling interval.