Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


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

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General
Author Message
menjia



Joined: 19 Nov 2005
Posts: 26

PostPosted: Thu Dec 29, 2005 5:00 am    Post subject: my "reports" plugin seems not work.please help me. Reply with quote

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.
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Wed Jan 04, 2006 10:53 am    Post subject: Reply with quote

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?
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 946
Location: B/CS Texas

PostPosted: Wed Jan 04, 2006 4:29 pm    Post subject: Reply with quote

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.
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Thu Jan 05, 2006 11:25 am    Post subject: Reply with quote

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?!
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 946
Location: B/CS Texas

PostPosted: Thu Jan 05, 2006 11:52 am    Post subject: Reply with quote

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.
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Thu Jan 05, 2006 1:38 pm    Post subject: Reply with quote

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.
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 946
Location: B/CS Texas

PostPosted: Thu Jan 05, 2006 2:12 pm    Post subject: Reply with quote

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.



syslog.png
 Description:
Graph of syslog message processing
 Filesize:  4.51 KB
 Viewed:  2890 Time(s)

syslog.png


Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Thu Jan 05, 2006 4:50 pm    Post subject: Reply with quote

Very nice... I will certainly give it another try - when your plugin is out...and if I get Mac-Track back up!
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 946
Location: B/CS Texas

PostPosted: Thu Jan 05, 2006 5:55 pm    Post subject: Reply with quote

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.
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Tue Jan 10, 2006 10:40 am    Post subject: Reply with quote

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...
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 946
Location: B/CS Texas

PostPosted: Tue Jan 10, 2006 2:26 pm    Post subject: Reply with quote

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.
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Tue Jan 10, 2006 4:02 pm    Post subject: Reply with quote

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?!
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 946
Location: B/CS Texas

PostPosted: Tue Jan 10, 2006 4:17 pm    Post subject: Reply with quote

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.
Back to top
knobdy
Cacti User


Joined: 28 Sep 2005
Posts: 495

PostPosted: Tue Jan 10, 2006 5:01 pm    Post subject: Reply with quote

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.
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 946
Location: B/CS Texas

PostPosted: Tue Jan 10, 2006 5:20 pm    Post subject: Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group