my "reports" plugin seems not work.please help me.

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
menjia
Posts: 26
Joined: Sat Nov 19, 2005 12:41 am

my "reports" plugin seems not work.please help me.

Post by menjia »

i have installed the reports plugins.

when i add a new report, after i click the add,and input the name of the new reportsd, the time when send this report,and email address.

then there have no further selections for me, also i could not receive reports that i haved added.

i have import reports.sql to my cacti datebase, it create two table reports and reports_data,i can find the added reports infomation in reports table. but there is nothing in reports_date table.

what i can do to make reports work,please help me.

if your reports works fine, can you post a image about your reports content.
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

Have you, after creating the report, click on the report? It should provide you a list of devices in the report and a link to view an example - or, if you've never gotten this far - provide an empty list. Either way, there's a "Add" link to add devices to the report.

Since the subject is the reports add-on, is there any development work going on for it? Anything that will allow more customization and "prettying up" of the reports - perhaps allowing a user to name the graphs inidvidually, and independant of what Cacti calls them?
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

knobdy wrote:Have you, after creating the report, click on the report? It should provide you a list of devices in the report and a link to view an example - or, if you've never gotten this far - provide an empty list. Either way, there's a "Add" link to add devices to the report.

Since the subject is the reports add-on, is there any development work going on for it? Anything that will allow more customization and "prettying up" of the reports - perhaps allowing a user to name the graphs inidvidually, and independant of what Cacti calls them?
There is another plugin developer who has created a reports plugin that is much much further along then the one I was creating. So I decided to wait until he was finished with it as an add-on, I would convert it to a plugin for him. I need to check his site again, but I am not sure if he has done anything on it in the last month, if not, I can look into taking on the project again if he has lost interest.
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

Here's hoping - a lack of reporting is the only reason I haven't won a gold medal at work for finding Cacti. :)

I also noticed that you have a discovery plugin installed? Where'd it come from? Where'd all of those plugins come from?! :)
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

knobdy wrote:Here's hoping - a lack of reporting is the only reason I haven't won a gold medal at work for finding Cacti. :)

I also noticed that you have a discovery plugin installed? Where'd it come from? Where'd all of those plugins come from?! :)
Most are custom written by me and still in development at the moment. Mac Track is written by TheWitness, and the Syslog plugin is a modified version of the one that another user wrote (I added alerts/removals, and complicated it alot inorder to get it to do what I needed.)

I will see about releasing the Discovery plugin to beta shortly, in truth I am thinking of rewriting it from scratch, since it currently uses the Perl implementation of NMap to do its thing, and I could easily do it from PHP instead.
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

cigamit wrote:Most are custom written by me and still in development at the moment. Mac Track is written by TheWitness, and the Syslog plugin is a modified version of the one that another user wrote (I added alerts/removals, and complicated it alot inorder to get it to do what I needed.)
I tried the syslog plugin on my old box and it killed it quickly, probably do the same even on the new box if one of my coworkers refuses to turn off debug.

cigamit wrote:I will see about releasing the Discovery plugin to beta shortly, in truth I am thinking of rewriting it from scratch, since it currently uses the Perl implementation of NMap to do its thing, and I could easily do it from PHP instead.
Look forward to this too.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

knobdy wrote:I tried the syslog plugin on my old box and it killed it quickly, probably do the same even on the new box if one of my coworkers refuses to turn off debug.
It seems to be running fine on my production server (1.3 Duron, 1.5 Gig of Ram). Load average is around 0.12 (after disabling Mac Track at least as I have it logging every hour)

I am currently using msyslog to log events for about 30 different Windows hosts. My implementation allows you to create Removal rules to delete items you have no interest in seeing. I have attached a graph, which shows the total number of syslog events processed by the plugin, and how many "New" messages, which are the ones that made it past the removal rules. The script that outputs this is included with the plugin, and I plan on adding the XML files for it also. I may even create a graph for processing times, but I am unsure of whether I really need it or not.

The way I have it setup, is all syslog messages are logged to an "incoming" database. The removal rules, and alerting rules, are applied against this database, anything left is moved to the regular "viewing" table, which you can browse from Syslog Tab.
Attachments
Graph of syslog message processing
Graph of syslog message processing
syslog.png (4.51 KiB) Viewed 9266 times
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

Very nice... I will certainly give it another try - when your plugin is out...and if I get Mac-Track back up! :)
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

knobdy wrote:Very nice... I will certainly give it another try - when your plugin is out...and if I get Mac-Track back up! :)
In a few days or so (possibly tomorrow) I will be releasing beta 3 of my Cacti CD, which you can play with. It has the syslog and mactrack plugins, plus a few others (discovery,thold,monitor) already integrated.
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

cigamit wrote:In a few days or so (possibly tomorrow) I will be releasing beta 3 of my Cacti CD, which you can play with. It has the syslog and mactrack plugins, plus a few others (discovery,thold,monitor) already integrated.
I hadn't noticed an update on this to your web site and was just wondering if you were able to get to it.

But mostly I just wanted to touch this topic so that I could check on reporting functionality again <g> - I got the current plugin to send an e-mail once, as scheduled, and not since...besides which it's a kind of...simple, yeah, simple plugin...
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

knobdy wrote:
cigamit wrote:In a few days or so (possibly tomorrow) I will be releasing beta 3 of my Cacti CD, which you can play with. It has the syslog and mactrack plugins, plus a few others (discovery,thold,monitor) already integrated.
I hadn't noticed an update on this to your web site and was just wondering if you were able to get to it.

But mostly I just wanted to touch this topic so that I could check on reporting functionality again <g> - I got the current plugin to send an e-mail once, as scheduled, and not since...besides which it's a kind of...simple, yeah, simple plugin...
Actually, I posted an update to the forum topic. There are still lots of things that need done to it. I am currently looking to add lots of templates to it already, but need to know what templates every would like to see.

I am currently looking at the other reports plugin, and probably will start working off of it fairly soon.
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

cigamit wrote: Actually, I posted an update to the forum topic.
What do you mean by this - at cactiuser.org?

This time of day, I don't even know what I mean... you have an updated version?! :)
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

knobdy wrote:
cigamit wrote: Actually, I posted an update to the forum topic.
What do you mean by this - at cactiuser.org?

This time of day, I don't even know what I mean... you have an updated version?! :)
I should have been more specific.

http://cactiusers.org/forums/post559.html#559

the link to the new beta is actually at the beginning of the topic.
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

cigamit wrote:I should have been more specific.

http://cactiusers.org/forums/post559.html#559

the link to the new beta is actually at the beginning of the topic.
Thanks, I just figured it was me being slow... but, now it looks like cactiusers.org might be down.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

knobdy wrote:
cigamit wrote:I should have been more specific.

http://cactiusers.org/forums/post559.html#559

the link to the new beta is actually at the beginning of the topic.
Thanks, I just figured it was me being slow... but, now it looks like cactiusers.org might be down.
Server was having issues (seems to have started going flaky around Thanksgiving), but its back up now.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests