ReportIt - Can't add measureand

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
hank52
Posts: 2
Joined: Wed Oct 26, 2011 7:37 am

ReportIt - Can't add measureand

Post by hank52 »

Cacti 0.8.7h
RerportIT 0.7.3
Centos 5.6

Fresh install of cacti - followed the reportit install instructions - check the cacti.log, no errors. I cannot create a measureand - I get "Error: Save Failed: Field Input Error (Check Red Fields)." The "Red Field" is the Unit field. I tried "Bit/s" and a plethora of other things - same error.



[img]
Screenshot of measureand error
Screenshot of measureand error
measurand.png (104.1 KiB) Viewed 2236 times
[/img]
hank52
Posts: 2
Joined: Wed Oct 26, 2011 7:37 am

Re: ReportIt - Can't add measureand

Post by hank52 »

User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: ReportIt - Can't add measureand

Post by TheWitness »

0.7.5 has also been released.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
MU-IT
Cacti User
Posts: 113
Joined: Tue Nov 06, 2007 12:07 pm

Re: ReportIt - Can't add measureand

Post by MU-IT »

TheWitness wrote:0.7.5 has also been released.
Where might I find 0.7.5 ? The reportit SVN appears to only have version 8 code.
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: ReportIt - Can't add measureand

Post by TheWitness »

Look under branches/0.75. Also, check the website http://docs.cacti.net/plugins
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
MU-IT
Cacti User
Posts: 113
Joined: Tue Nov 06, 2007 12:07 pm

Re: ReportIt - Can't add measureand

Post by MU-IT »

TheWitness wrote:Look under branches/0.75. Also, check the website http://docs.cacti.net/plugins
I can't find it at either spot.

http://cacti-reportit.svn.sourceforge.n ... /branches/ appears empty to me.


At http://docs.cacti.net/plugins there's no mention of ReportIt. The search feature only shows me templates.
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: ReportIt - Can't add measureand

Post by TheWitness »

svn://svn.cacti.net/cacti_plugins/reportit/branches
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
c4c
Posts: 1
Joined: Fri Nov 25, 2011 10:52 am

Re: ReportIt - Can't add measureand

Post by c4c »

For version 0.7.3 in file <cacti_home>/plugins/reportit/cc_measurands.php
on line 135 change from
form_input_validate($_POST['measurand_unit'], 'measurand_unit', '^[//$a-zA-Z0-9%��-]+$', false, 3);
to
form_input_validate($_POST['measurand_unit'], 'measurand_unit', '^[\/\/$a-zA-Z0-9%��-]+$', false, 3);
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests