Reports plugin 0.1b
Moderators: Developers, Moderators
Reports plugin 0.1b
Hi,
I'm trying to run the reports plugin but am having some issues (looks like a mysql prob).
I untarred the files to /plugins/reports and added the appropriate line to config.php and when the poller runs I get this error in the logs as well as no funtionality in cacti (no tab or settings for it).
CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select * from reports"
Is there something else I need to do to get this plugin going? I couldn't see any other docs that would suggest anything else is needed bar the standard plugin install. thold is working fine so I beleive the plugin arch is working.
Running the following versions.
cacti 0.8.6h
plugin arch 0.9
reports 0.1b
fedora core 4
mysql 4.1.20
Any help would be appreciated.
Cheers,
andy
I'm trying to run the reports plugin but am having some issues (looks like a mysql prob).
I untarred the files to /plugins/reports and added the appropriate line to config.php and when the poller runs I get this error in the logs as well as no funtionality in cacti (no tab or settings for it).
CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select * from reports"
Is there something else I need to do to get this plugin going? I couldn't see any other docs that would suggest anything else is needed bar the standard plugin install. thold is working fine so I beleive the plugin arch is working.
Running the following versions.
cacti 0.8.6h
plugin arch 0.9
reports 0.1b
fedora core 4
mysql 4.1.20
Any help would be appreciated.
Cheers,
andy
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Moved to Plugins General
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Well, I could have explained it a bit clearer. Import the reports.sql file into your cacti database, as it doesn't support having it own database. Actually as I have found with the haloe plugin, that trying to switch databases will cause PHP to Segfault, even in a simple test script using PHPs own functions to do the switching (but its been a few months so maybe its fixed).andy wrote:I did create a reports database and < reports.sql as well as add permissions for reports.* to the cacti user if thats what you mean?
I'm totally average at sql, so I coul dhave messed something up I guess
Cheers mate, that seems to have fixed up the error but still no reports tab.
Sounds similar to http://forums.cacti.net/about15072.html.
I'll just leave it alone for a bit and it might come good
Thanks again.
Sounds similar to http://forums.cacti.net/about15072.html.
I'll just leave it alone for a bit and it might come good
Thanks again.
can someone help with my report error plugin
Please help as I am trying to install the reports plugin
Iget this error in my logs
09/11/2006 07:51:56 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select * from reports order by name"
09/11/2006 07:50:31 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select * from reports"
Iget this error in my logs
09/11/2006 07:51:56 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select * from reports order by name"
09/11/2006 07:50:31 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select * from reports"
-
- Posts: 24
- Joined: Tue Mar 28, 2006 2:40 am
importing database?
just donwloaded and installed the reports plugin.
Just one qtn cos i'm not exactlt gd with sql.
If i need to import the reports.sql..how do i go about doing that?
Just one qtn cos i'm not exactlt gd with sql.
If i need to import the reports.sql..how do i go about doing that?
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
Hi,
I am sorry but my company has a good working spamfilter:
I have send a report with one graph and this email-report is classified as spam:
Content analysis details: (8.6 points, 5.5 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.8 EXTRA_MPART_TYPE Header has extraneous Content-type:...type= entry
0.6 HTML_SHORT_LENGTH BODY: HTML is extremely short
5.0 HTML_IMAGE_ONLY_04 BODY: HTML: images with 0-400 bytes of words
0.0 HTML_MESSAGE BODY: HTML included in message
2.1 HTML_SHORT_CENTER HTML is very short with CENTER tag
Torsten
I am sorry but my company has a good working spamfilter:
I have send a report with one graph and this email-report is classified as spam:
Content analysis details: (8.6 points, 5.5 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.8 EXTRA_MPART_TYPE Header has extraneous Content-type:...type= entry
0.6 HTML_SHORT_LENGTH BODY: HTML is extremely short
5.0 HTML_IMAGE_ONLY_04 BODY: HTML: images with 0-400 bytes of words
0.0 HTML_MESSAGE BODY: HTML included in message
2.1 HTML_SHORT_CENTER HTML is very short with CENTER tag
Torsten
Who is online
Users browsing this forum: No registered users and 0 guests