Report plugin ''ReportIt" - v0.7.5a (released 23/12/11)

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

Hi Cacti Community!

This evening I uploaded an upgrade package for ReportIt v0.6.1 in combination with MySQL 4, so that I've delivered on my promise.
It can be downloaded under Sourceforge.

Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
Da nny
Posts: 5
Joined: Thu Jun 15, 2006 2:15 am

Post by Da nny »

Thanks for the upload and the good job with Reportit.Just installed v0.6.0 so I'll first get to know it well before updating. I have a basic question to the Reportit developers and Cacti users in general. When you click on devices in the management section of the console, you get the device list and among the info presented in Availabilty in %. How does cacti calculate this?Is it a simple packets sent divided by packets lost * 100? Am looking at possibly integrating this into Reportit so that i can report availability by day? Thanks
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

chris.rolves wrote:
browniebraun wrote:
chris.rolves wrote: I am having this very same problem but it doesn't happen on all my reports and started happening when I moved my cacti installation to a different server. Both Machines are installed with CentOS
Hi Chris,
I need more information about your system environments!
To say "I've an issue with CentOS" is too little. ;-)
But principally it's important to know which version of MySQL your're using.
Please compare your two systems, so that we can see where you have differences in your software versions.

Best regards
-Andreas-
Some other info on the move was that I moved from a machine that was running dual dualcore Xeon 2Ghz processors with 2Gb of ram, to a machine running a 1.8Ghz Celeron with 2Gb of ram. I'm not sure if it makes a difference moving from a more powerful machine to a lesser machine or not but this is all the info I have so far.
Hi Chris!

If a calculation started via the web interface does not fail, then I assume that the issue depends on creating the new archive file or sending the email. At first you should check if you're able to send a test mail ( under "Console"->"settings"->"Mail/DNS"->"Send a Test Email"). If it works then deactivate "Email support" and "Auto Archiving" under the "Reports" tab. Run one single report from the CLI (e.g. php runtime.php 12 -v). If it works, then activate these features step by step again, so that we can isolate the issue you have. If not, then create a debug file for that report. (e.g. php runtime.php 12 -v --debug > 12.log).

Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
chris.rolves
Cacti User
Posts: 52
Joined: Wed Mar 01, 2006 6:03 am

Post by chris.rolves »

Ok so I updated to newest reportit and I get the same issues, I never enabled the e-mail or archive features and so I went on to running this via CLI.

For starters I get this......

Code: Select all

[cactiuser@cacti crolves]$ php /var/www/html/plugins/reportit/runtime.php 15 -v

PHP Warning:  session_start(): open(/var/lib/php/session/sess_5r10grcao98phqnpcomgqotmq5, O_RDWR) failed: Permission denied (13) in /var/www/html/include/global.php on line 152

Segmentation fault

[cactiuser@cacti crolves]$ 

I figured the number you listed was the report number so I did this with a report that I am having issues with it getting stuck on "in process"
Attachments
15.log.txt
(6.58 KiB) Downloaded 358 times
chris.rolves
Cacti User
Posts: 52
Joined: Wed Mar 01, 2006 6:03 am

Post by chris.rolves »

Ok now as an update, I just manually ran all the reports through the GUI and it seems the the only ones I am having problems with involve reports that I am running to get the number of registered modems, but then its only on 4 reports I have an issue. Also as a weird problem to go with it, the 4 that I have problems with it comes up to download/open cc_run.php right after clicking ok to run the report.
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

chris.rolves wrote:Ok now as an update, I just manually ran all the reports through the GUI and it seems the the only ones I am having problems with involve reports that I am running to get the number of registered modems, but then its only on 4 reports I have an issue. Also as a weird problem to go with it, the 4 that I have problems with it comes up to download/open cc_run.php right after clicking ok to run the report.
Chris,
do you use the php bindings for RRDtool and if so, is it a shared a object?
I can't see it in your list of php extensions, but the trace stops before the RRDfile will be read.

Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
chris.rolves
Cacti User
Posts: 52
Joined: Wed Mar 01, 2006 6:03 am

Post by chris.rolves »

I am using PHPBindings in fact I loaded them up after my post that lists the modules and I apologize for that. But It seems that have fixed my problem. On the four report configurations that I was having issues with, I deleted and re-created them and now I have no issues........ so far.
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

chris.rolves wrote:I am using PHPBindings in fact I loaded them up after my post that lists the modules and I apologize for that. But It seems that have fixed my problem. On the four report configurations that I was having issues with, I deleted and re-created them and now I have no issues........ so far.
Chris,
Please check if your reports are running faultlessly under the CLI. On my development server I always get a segmentation error on the CLI if I'm using PHP 5 and the php bindings as a dynamic shared object (rrdtool.so). On the web interface everythings works well. I never got this issue with PHP 4.x
That's why I integrated the bindings as a php extension and rebuilt the configure. After that I recompiled PHP with "--with-rrdtool". Now they're static and working.

Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
palbandoz
Posts: 12
Joined: Wed May 07, 2008 11:20 am

Post by palbandoz »

Hi, I'm trying to use this plugin but I can't find any documentation or how-to; is there any link I should read for a good start with "report it!"?

And another question: is there a chance to create some kind of templates that can be exported to import them automatically in a new installation of Cacti?

Thanks.
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

palbandoz wrote:Hi, I'm trying to use this plugin but I can't find any documentation or how-to; is there any link I should read for a good start with "report it!"?

And another question: is there a chance to create some kind of templates that can be exported to import them automatically in a new installation of Cacti?

Thanks.
Yep,
ReportIt isn't really easy for beginners, but don't give up.
Take a look at these postings: If have some questions, send me an email, a pm or try to contact me via AIM or Skype.
I'll give you an short introduction.

Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
chris.rolves
Cacti User
Posts: 52
Joined: Wed Mar 01, 2006 6:03 am

Post by chris.rolves »

browniebraun wrote:
chris.rolves wrote:I am using PHPBindings in fact I loaded them up after my post that lists the modules and I apologize for that. But It seems that have fixed my problem. On the four report configurations that I was having issues with, I deleted and re-created them and now I have no issues........ so far.
Chris,
Please check if your reports are running faultlessly under the CLI. On my development server I always get a segmentation error on the CLI if I'm using PHP 5 and the php bindings as a dynamic shared object (rrdtool.so). On the web interface everythings works well. I never got this issue with PHP 4.x
That's why I integrated the bindings as a php extension and rebuilt the configure. After that I recompiled PHP with "--with-rrdtool". Now they're static and working.

Best regards
-Andreas-

Ok yes I do get a segmentation fault at the CLI how do I fix this?
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

chris.rolves wrote: Ok yes I do get a segmentation fault at the CLI how do I fix this?
Hi Chris,

You have to recompile PHP with the bindings for RRDtool as an embedded module.
Here's a good description how to do this: http://www.ioncannon.net/system-administration/25/how-to-build-the-php-rrdtool-extension-by-hand/

Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
feelgirl
Posts: 18
Joined: Sun Apr 06, 2008 1:18 am
Contact:

Post by feelgirl »

Date Tue, 17 Jun 2008 21:02:37 +0800
Cacti Version 0.8.7b
Cacti OS win32
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
Hosts 1
Graphs 20
Data Sources SNMP Query: 21
Total: 21
Poller Information
Interval 300
Type spine
Items Action[0]: 40

Plugin Architecture
Version: 2.1

In my DataSource ,I saw many data,
But In Data Objects [add to report: Daily]
I can't saw any data items.

Can you help me ?
thanks
Attachments
dataObjcts.JPG
dataObjcts.JPG (48.32 KiB) Viewed 7013 times
datasource.JPG
datasource.JPG (131.39 KiB) Viewed 7015 times
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

feelgirl wrote:Date Tue, 17 Jun 2008 21:02:37 +0800
Cacti Version 0.8.7b
Cacti OS win32
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
Hosts 1
Graphs 20
Data Sources SNMP Query: 21
Total: 21
Poller Information
Interval 300
Type spine
Items Action[0]: 40

Plugin Architecture
Version: 2.1

In my DataSource ,I saw many data,
But In Data Objects [add to report: Daily]
I can't saw any data items.

Can you help me ?
thanks
Please check your report template if "Additional Pre-filter" is empty.

Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
feelgirl
Posts: 18
Joined: Sun Apr 06, 2008 1:18 am
Contact:

Post by feelgirl »

Hi browniebraun
Can you make a Cacti Report Introduction for v 0.6.1.

I'm don't known how to creat report template.

Thanks !!!!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests