Search found 60 matches

by Wirthmueller
Sun Sep 15, 2024 11:10 am
Forum: Scripts and Templates
Topic: Derived expressions not filled in
Replies: 0
Views: 3117

Derived expressions not filled in

I am running cacti server 1.2.29 and Spine 1.3. It happens that what I call derived expressions in the legend (i.e. |input_attempts| or |input_protocol|) are replaced by their values in some graphs: Bildschirmfoto 2024-09-15 um 18.10.54.png ... and sometimes not: Bildschirmfoto 2024-09-15 um 18.15.3...
by Wirthmueller
Sat Sep 14, 2024 4:29 am
Forum: Scripts and Templates
Topic: TCP & HTTP Server Response Time: Script & Templates
Replies: 45
Views: 126485

Re: TCP & HTTP Server Response Time: Script & Templates

I know this is an old thread, but maybe it helps. The following occurs if I run the script: uw@IoT-Bern:/var/www/html/cacti/scripts$ sudo perl /var/www/html/cacti/scripts/nrpe_http.pl 'https://data.uradmonitor.com' sh: 1: /var/www/html/cacti/scripts/check_http: not found I have seen check_http on gi...
by Wirthmueller
Wed Mar 29, 2023 8:47 am
Forum: Scripts and Templates
Topic: Apache Stats - are there any working ones out there?
Replies: 1
Views: 1584

Apache Stats - are there any working ones out there?

There are several scripts an templates around using either pyhton or php scripts. I get a few graphs using the php one: sudo php ss_apache_stats.php http://192.168.1.158/server-status?auto apache_total_hits:36 apache_total_kbytes:1648 apache_cpuload:.0366972 reqpersec:.165138 bytespersec:7741.06 byt...
by Wirthmueller
Wed Mar 01, 2023 8:43 am
Forum: Help: Linux/Unix Specific
Topic: cacti.log date format
Replies: 1
Views: 535

cacti.log date format

I have a strange problem in the cacti log file. most of the log entries are in date/time format YYYY-MM-DD hh:mm:ss with the correct system time wich ist Europe/Zurich: 2023-03-01 14:32:05 - SPINE: Poller[Main Poller] PID[20633] PT[139922212460096] Device[uRadMonitor AC3] HT[1] DS[FH..... But entrie...
by Wirthmueller
Wed Jul 20, 2022 1:58 am
Forum: Help: Linux/Unix Specific
Topic: Import rrdtool Script
Replies: 4
Views: 501

Re: Import rrdtool Script

So how would I do it with cacti? Do I need to create a graph template or can I use a cli-command? rrdtool info localhost_no2_1201.rrd gives: filename = "/usr/share/cacti/site/rra/localhost_no2_1201.rrd" rrd_version = "0003" step = 60 last_update = 1658300222 header_size = 10032 d...
by Wirthmueller
Tue Jul 19, 2022 5:29 am
Forum: Plugin General
Topic: Plugin gexport error
Replies: 2
Views: 2866

Re: Plugin gexport error

Thank you for your quick reply - changing from ftp_mkdir to @ftp_mkdir in the functions.php file corrected the problem. The errors in the logfile are gone.

I have posted an issue for that on Cacti plugin_gexport GitHub: https://github.com/Cacti/plugin_gexport/issues/54
by Wirthmueller
Tue Jul 19, 2022 5:20 am
Forum: Help: Linux/Unix Specific
Topic: Import rrdtool Script
Replies: 4
Views: 501

Import rrdtool Script

I have adapted a bash script I have found here: https://www.blesk.ca/wp-content/uploads/2017/10/Trend-predictions-with-RRDtool.pdf #!/bin/sh rrdtool graph ozone2.png \ --imgformat=PNG \ --start='-432000' \ --end='+86400' \ --pango-markup \ --upper-limit=100 \ --title='FHEM Atmosphere' \ --units-expo...
by Wirthmueller
Tue Jul 19, 2022 3:31 am
Forum: Plugin General
Topic: Plugin hmib throws error in log file
Replies: 2
Views: 2873

Re: Plugin hmib throws error in log file

Thank you for your quick reply - the re-install fixed the error.
by Wirthmueller
Mon Jul 18, 2022 7:38 am
Forum: Help: Linux/Unix Specific
Topic: Web-Interface lost its control buttons
Replies: 8
Views: 4978

Re: Web-Interface lost its control buttons

Upgrading to the latest version did correct the problem.
by Wirthmueller
Mon Jul 18, 2022 6:28 am
Forum: Plugin General
Topic: Plugin gexport error
Replies: 2
Views: 2866

Plugin gexport error

I am using cacti 1.2.21 under Ubuntu and running spine. Graph exports is installed and so far running fine. However in cacti.log I keep having errors of for the plugin gexport utiliy: 13-07-2022 16:54:45 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/gexport/poller_export.php[107]:graph_export(), /...
by Wirthmueller
Mon Jul 18, 2022 6:26 am
Forum: Plugin General
Topic: Plugin hmib throws error in log file
Replies: 2
Views: 2873

Plugin hmib throws error in log file

I am running the latest version of cacti (1.2.21) on an Ubuntu PC.

In the log-file I get the following warning every other second:

Code: Select all

PLUGIN WARNING: Function does not exist config_form with function hmib_config_form
The function indeed is not part of the setup.php file.

Any help to this?
by Wirthmueller
Fri Jun 17, 2022 5:56 am
Forum: Help: General
Topic: Multiple Datasources in One Graph
Replies: 1
Views: 950

Multiple Datasources in One Graph

Is there a way to integrate data from two or more different data sources in one plot?

I got several thermometers from different devises that I would like to plot in one single graph together.

Regards
by Wirthmueller
Thu Jun 16, 2022 8:33 am
Forum: Help: Linux/Unix Specific
Topic: 500 View Log error
Replies: 3
Views: 500

Re: 500 View Log error

I did deleted the old logfiles and not it is working. They were indeed too big.

Thank you for your support.
by Wirthmueller
Thu Jun 16, 2022 6:43 am
Forum: Help: Linux/Unix Specific
Topic: 500 View Log error
Replies: 3
Views: 500

500 View Log error

I have updated to the latest version 1.2.21 on ubuntu. Now if I hit the "Logs" tab I get the following error message: Sorry, we could not process your last action. Error: 500 View Log Reason: The response to the last action was unexpected The log file has the path /var/log/cacti/cacti.log ...
by Wirthmueller
Mon Oct 25, 2021 8:10 am
Forum: Help: Linux/Unix Specific
Topic: Web-Interface lost its control buttons
Replies: 8
Views: 4978

Re: Web-Interface lost its control buttons

Yes - the columns can be resized - but still, the control buttons do not appear.

I have also checked other Templates php‘s such as Device or Data Source. They are all missing the control buttons.

Would it have to to with css?