Redirect the user from ASp.net to Cacti.

Discussions on developing plugins for the Cacti Plugin Architecture

Moderators: Developers, Moderators

Post Reply
Sithender
Posts: 1
Joined: Fri Jul 02, 2010 7:12 am

Redirect the user from ASp.net to Cacti.

Post by Sithender »

Hi,

I am having a .net site hosted on iis6.o . And a Cacti hosted in Linex server.

My requirement is When user logs in the ASP.net Application,And Clicks on the Link, With the same credentials he should be redirected to Cacti site, without asking again the login information.

Can any one give me some idea.

Thanks,

Sithender


--------------------------------------------------------------------------------
sithender
zhaochou848
Posts: 1
Joined: Thu Aug 18, 2011 9:54 pm

Re: Redirect the user from ASp.net to Cacti.

Post by zhaochou848 »

I discovered an error while testing the new version of Cacti, I copied my sql database to "cacti-devel". Unfortunately this caused a number of plugins to break, I traced the problem down the the following line of code located in the setup.php files in the various plugin directories:

$sql = "show tables from " . $database_default;

The table is not properly quoted, I think it should look like:

$sql = "show tables from `" . $database_default . "`";

Notice the back-ticks that escape the database name. This is important because the hyphen I put in my dB name caused several problems with a couple of differant plugins that called this code.

_________________
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests