|
|
| Author |
Message |
browniebraun Cacti User
Joined: 13 Jun 2006 Posts: 329 Location: Cologne, Germany
|
Posted: Mon Jun 02, 2008 3:46 pm Post subject: |
|
|
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-
|
|
| Back to top |
|
 |
Da nny
Joined: 15 Jun 2006 Posts: 4
|
Posted: Tue Jun 03, 2008 4:22 am Post subject: |
|
|
| 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
|
|
| Back to top |
|
 |
browniebraun Cacti User
Joined: 13 Jun 2006 Posts: 329 Location: Cologne, Germany
|
Posted: Wed Jun 04, 2008 1:31 am Post subject: |
|
|
| chris.rolves wrote: | | browniebraun wrote: | | chris.rolves wrote: | | GlueGuy wrote: | Just updated Reportit to v0.6.0. It seems to be working, but there are a couple of "new" things appearing under the Report Configuration after the daily scheduled report is run.
The daily report shows "*In process*", yet I think it completed a long time ago?
Also, the check box after Edit Data Items has a red "L" in the brackets ([L])
Here is a screen shot.
Not sure what is going on. Any suggestions? |
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-
|
|
| Back to top |
|
 |
chris.rolves Cacti User
Joined: 01 Mar 2006 Posts: 52
|
Posted: Thu Jun 05, 2008 3:14 pm Post subject: |
|
|
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: | [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"
| Description: |
|
 Download |
| Filename: |
15.log.txt |
| Filesize: |
6.58 KB |
| Downloaded: |
57 Time(s) |
|
|
| Back to top |
|
 |
chris.rolves Cacti User
Joined: 01 Mar 2006 Posts: 52
|
Posted: Thu Jun 05, 2008 3:37 pm Post subject: |
|
|
| 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.
|
|
| Back to top |
|
 |
browniebraun Cacti User
Joined: 13 Jun 2006 Posts: 329 Location: Cologne, Germany
|
Posted: Fri Jun 06, 2008 2:21 am Post subject: |
|
|
| 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-
|
|
| Back to top |
|
 |
chris.rolves Cacti User
Joined: 01 Mar 2006 Posts: 52
|
Posted: Fri Jun 06, 2008 8:47 am Post subject: |
|
|
| 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.
|
|
| Back to top |
|
 |
browniebraun Cacti User
Joined: 13 Jun 2006 Posts: 329 Location: Cologne, Germany
|
Posted: Fri Jun 06, 2008 9:54 am Post subject: |
|
|
| 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-
|
|
| Back to top |
|
 |
palbandoz
Joined: 07 May 2008 Posts: 12
|
Posted: Wed Jun 11, 2008 9:40 am Post subject: |
|
|
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.
|
|
| Back to top |
|
 |
browniebraun Cacti User
Joined: 13 Jun 2006 Posts: 329 Location: Cologne, Germany
|
Posted: Wed Jun 11, 2008 12:41 pm Post subject: |
|
|
| 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-
|
|
| Back to top |
|
 |
chris.rolves Cacti User
Joined: 01 Mar 2006 Posts: 52
|
Posted: Wed Jun 11, 2008 4:48 pm Post subject: |
|
|
| 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?
|
|
| Back to top |
|
 |
browniebraun Cacti User
Joined: 13 Jun 2006 Posts: 329 Location: Cologne, Germany
|
|
| Back to top |
|
 |
feelgirl
Joined: 06 Apr 2008 Posts: 18
|
Posted: Tue Jun 17, 2008 8:08 am Post subject: |
|
|
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
| Description: |
|
| Filesize: |
48.32 KB |
| Viewed: |
1605 Time(s) |

|
| Description: |
|
| Filesize: |
131.39 KB |
| Viewed: |
1607 Time(s) |

|
|
|
| Back to top |
|
 |
browniebraun Cacti User
Joined: 13 Jun 2006 Posts: 329 Location: Cologne, Germany
|
Posted: Tue Jun 17, 2008 12:18 pm Post subject: |
|
|
| 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-
|
|
| Back to top |
|
 |
feelgirl
Joined: 06 Apr 2008 Posts: 18
|
Posted: Tue Jun 17, 2008 8:52 pm Post subject: |
|
|
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 !!!!
|
|
| Back to top |
|
 |
|