Search found 12 matches

by tarre
Tue Jun 12, 2018 4:53 am
Forum: Help: General
Topic: (SOLVED)Custom "SS + Data Source", data breaks after X items
Replies: 7
Views: 595

Re: (SOLVED)Custom "SS + Data Source", data breaks after X i

And here is the script, beta version, working:
ss_ups_basicstatus.zip
(1.67 KiB) Downloaded 26 times
by tarre
Tue Jun 12, 2018 4:51 am
Forum: Scripts and Templates
Topic: Noob's APC Smart UPS device template
Replies: 2
Views: 1029

Re: Noob's APC Smart UPS device template

And the script:
ss_ups_basicstatus.zip
(1.67 KiB) Downloaded 173 times
by tarre
Tue Jun 12, 2018 4:46 am
Forum: Help: General
Topic: (SOLVED)Custom "SS + Data Source", data breaks after X items
Replies: 7
Views: 595

Re: (SOLVED)Custom "SS + Data Source", data breaks after X i

Here i have post this "beta" template, and all others i made around APC Smart UPS device.
Hope that help others.

viewtopic.php?f=12&t=58848
by tarre
Tue Jun 12, 2018 4:43 am
Forum: Scripts and Templates
Topic: Noob's APC Smart UPS device template
Replies: 2
Views: 1029

Noob's APC Smart UPS device template

Here comes my noob template for our "APC Smart UPS". It includes graphs for: - Basic Battery Status (Normal Load, Overloaded, Unknown) - Basic Status (lot of boolean info) - Battery Capacity (%) - Battery Runtime Remaining (minutes) - Battery Temperature (ºC) - Output Current (Amp) - Outpu...
by tarre
Tue Jun 12, 2018 4:19 am
Forum: Help: General
Topic: (SOLVED)Custom "SS + Data Source", data breaks after X items
Replies: 7
Views: 595

Re: (SOLVED)Custom "SS + Data Source", data breaks after X i

Here comes the template. I'm learning, i'm noob, don't expect this to work.
Any feedback will be appreciated.
It's on the roadmap to apply the previous post idea from Osiris.

APC Smart UPS - Basic Status - Template
by tarre
Tue Jun 12, 2018 4:13 am
Forum: Help: General
Topic: (SOLVED)Custom "SS + Data Source", data breaks after X items
Replies: 7
Views: 595

Re: (SOLVED)Custom "SS + Data Source", data breaks after X i

I have a position on this that you may or may not agree with. I would break this into a simple script that does the following: 1) One data source per RRD 2) Script that takes the data source name as in input variable and echos one response 3) In that script, you first check for the timestamp in /tm...
by tarre
Tue Jun 05, 2018 7:06 am
Forum: Help: General
Topic: Build error when cacti spine installation
Replies: 1
Views: 352

Re: Build error when cacti spine installation

Does anybody have this same issue? https://stackoverflow.com/questions/50482377/build-error-when-cacti-spine-installation/50516231#50516231 Thanks. Have you installed it's dependencies before doing the bootstrap/config/make/install?? Something like: $> sudo apt install build-essential dos2unix dh-a...
by tarre
Tue Jun 05, 2018 6:13 am
Forum: Help: General
Topic: Size limits with script output in a data input method?
Replies: 7
Views: 1470

Re: Size limits with script output in a data input method?

There is a limit to the input buffer on spine. There is a ./configure option to increase it, I would strongly suggest doing that. Nice hit! this was driving me crazy :) I got this from Spine detailed output in cLog: SPINE: Poller[1] ERROR: SS[1] The Script Server result was longer than the acceptab...
by tarre
Tue Jun 05, 2018 6:08 am
Forum: Help: General
Topic: (SOLVED)Custom "SS + Data Source", data breaks after X items
Replies: 7
Views: 595

Re: Custom "SS + Data Source", data break after 22 items pro

Now that i have reduced the script output even more, Cacti is properly getting all the data and storing it properly.
Captura6.PNG
Captura6.PNG (64.19 KiB) Viewed 574 times
Time to display all data sources in graph, tidy all stuff, and i will post the template.

Regards!
by tarre
Tue Jun 05, 2018 5:35 am
Forum: Help: General
Topic: (SOLVED)Custom "SS + Data Source", data breaks after X items
Replies: 7
Views: 595

Re: Custom "SS + Data Source", data break after 22 items pro

Ok, it has something to do with stuff outside Cacti. As i read in this forum, maybe there are also "Operative System" argument limit. i have modified the script output to something more simple, as for example: where it return "some_fancy_variable_name:1", now it return "data...
by tarre
Mon Jun 04, 2018 7:24 am
Forum: Help: General
Topic: (SOLVED)Custom "SS + Data Source", data breaks after X items
Replies: 7
Views: 595

(SOLVED)Custom "SS + Data Source", data breaks after X items

Hi all! I face a problem, maybe with some kind of limitation in "Data Source Items". 1) I have made a Server Script in php. It gathers an SNMP STRING of 64 bits, where each bit represent some kind of boolean status. The script returns the processed string. As example, the script: fetches: ...
by tarre
Mon Jun 04, 2018 5:08 am
Forum: Help: General
Topic: Size limits with script output in a data input method?
Replies: 7
Views: 1470

Re: Size limits with script output in a data input method?

There is a limit to the input buffer on spine. There is a ./configure option to increase it, I would strongly suggest doing that. Nice hit! this was driving me crazy :) I got this from Spine detailed output in cLog: SPINE: Poller[1] ERROR: SS[1] The Script Server result was longer than the acceptab...