Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Jul 16, 2019 1:27 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 740 posts ]  Go to page Previous  1 ... 40, 41, 42, 43, 44, 45, 46 ... 50  Next
Author Message
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Fri Nov 26, 2010 2:19 am 
Offline
Cacti User
User avatar

Joined: Sat Jul 29, 2006 1:23 pm
Posts: 410
Location: RU
No, it's a bad result.
Here's my result.
Attachment:
camm_snmptt.JPG
camm_snmptt.JPG [ 11.61 KiB | Viewed 11594 times ]


Do you have this situation arises every time you open the page? or just the first time?
as open, for example, 5 page?

_________________
My cacti plugin -CaMM
Sorry for my English.


Top
 Profile  
 
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Fri Nov 26, 2010 3:12 am 
Offline

Joined: Fri Oct 02, 2009 1:34 am
Posts: 22
This situation appears every time I open the page, but when I stay on it, each refresh takes a normal time :
Attachment:
temps_camm2.jpg
temps_camm2.jpg [ 9.48 KiB | Viewed 11592 times ]


In fact, I stay blocked on the "Loading startup variables..." message. As long as I stay on camm tab in cacti, the loading time is normal.


Top
 Profile  
 
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Fri Nov 26, 2010 3:25 am 
Offline
Cacti User
User avatar

Joined: Sat Jul 29, 2006 1:23 pm
Posts: 410
Location: RU
That's good.
You need to enable mysql slow query log.
http://dev.mysql.com/doc/refman/5.1/en/slow-query-log.html
restart mysql and open the plugin again - that would hit the log information about the request, which is so long running.
After that - let me see this log.

_________________
My cacti plugin -CaMM
Sorry for my English.


Top
 Profile  
 
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Fri Nov 26, 2010 4:31 am 
Offline

Joined: Fri Oct 02, 2009 1:34 am
Posts: 22
Ok, here is the log :
Attachment:
mysql-slow.log.txt [177.88 KiB]
Downloaded 1313 times


Top
 Profile  
 
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Mon Nov 29, 2010 10:32 pm 
Offline

Joined: Fri Nov 05, 2010 3:58 am
Posts: 44
Dear all,

I will a question about how the snmptt can receive a "known" trap and display in on CAMM.
I did put some required conf. file to /etc/snmp and configure the snmptt.ini file. However , i got a error message when I type "service snmptt start" . I did "service snmptt reload", and it loaded successfully.

Please help.

Alex


Attachments:
File comment: service snmptt start doesn't start properly
ScreenHunter_03 Nov. 30 11.18.gif
ScreenHunter_03 Nov. 30 11.18.gif [ 3.53 KiB | Viewed 11562 times ]
File comment: snmptt.ini
ScreenHunter_02 Nov. 30 11.17.gif
ScreenHunter_02 Nov. 30 11.17.gif [ 4.09 KiB | Viewed 11562 times ]
File comment: conf from /etc/snmp/
ScreenHunter_04 Nov. 30 11.18.gif
ScreenHunter_04 Nov. 30 11.18.gif [ 3.13 KiB | Viewed 11562 times ]
File comment: description from snmpttsystem.log
ScreenHunter_01 Nov. 30 11.17.gif
ScreenHunter_01 Nov. 30 11.17.gif [ 9.53 KiB | Viewed 11562 times ]
Top
 Profile  
 
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Sat Dec 04, 2010 9:50 am 
Offline

Joined: Sat Nov 27, 2010 4:32 pm
Posts: 2
My syslogs have been blank after upgrading CactiEZ install from .8.7 c to .8.7 g. I checked the plugin_camm_syslog tables in the cacti database and they are empty. Syslog plugin does not work either. Should I have to change anything after upgrading?

syslog-ng.conf is as follows:

Quote:
# syslog-ng configuration file.
#
# This should behave pretty much like the original syslog on RedHat. But
# it could be configured a lot smarter.
#
# See syslog-ng(8) and syslog-ng.conf(5) for more information.
#
# 20000925 [email protected]
#
# Updated by Frank Crawford (<[email protected]>) - 10 Aug 2002
# - for Red Hat 7.3
# - totally do away with klogd
# - add message "kernel:" as is done with klogd.
#
# Updated by Frank Crawford (<[email protected]>) - 22 Aug 2002
# - use the log_prefix option as per Balazs Scheidler's email
#

options {
sync(0);
time_reopen(10);
log_fifo_size(1024);
long_hostnames(off);
use_dns(yes);
use_fqdn(yes);
create_dirs(no);
keep_hostname(yes);
};

source s_sys { pipe ("/proc/kmsg" log_prefix("kernel: ")); unix-stream ("/dev/log"); internal(); };

destination d_cons { file("/dev/console"); };
destination d_mesg { file("/var/log/messages"); };
destination d_auth { file("/var/log/secure"); };
destination d_mail { file("/var/log/maillog"); };
destination d_spol { file("/var/log/spooler"); };
destination d_boot { file("/var/log/boot.log"); };
destination d_cron { file("/var/log/cron"); };
destination d_mlal { usertty("*"); };
destination d_kernel { file("/var/log/kern"); };


filter f_filter1 { facility(kern); };
filter f_filter2 { level(info) and
not (facility(mail)
or facility(authpriv)
or facility(cron)
or program("kernel")); };

filter f_filter3 { facility(authpriv); };
filter f_filter4 { facility(mail); };
filter f_filter5 { level(emerg); };
filter f_filter6 { facility(uucp) or
(facility(news) and level(crit)); };
filter f_filter7 { facility(local7); };
filter f_filter8 { facility(cron); };
filter f_kernel { level(info) and program("kernel"); };

#log { source(s_sys); filter(f_filter1); destination(d_cons); };
log { source(s_sys); filter(f_filter2); destination(d_mesg); };
log { source(s_sys); filter(f_filter3); destination(d_auth); };
log { source(s_sys); filter(f_filter4); destination(d_mail); };
log { source(s_sys); filter(f_filter5); destination(d_mlal); };
log { source(s_sys); filter(f_filter6); destination(d_spol); };
log { source(s_sys); filter(f_filter7); destination(d_boot); };
log { source(s_sys); filter(f_filter8); destination(d_cron); };
log { source(s_sys); filter(f_kernel); destination(d_kernel); };

source net {
udp();
};


destination d_mysql {
pipe("/tmp/mysql.pipe"
template("INSERT INTO plugin_camm_syslog (host, sourceip, facility, priority, sys_date, message, status) VALUES ( '$HOST', '$SOURCEIP', '$FACILITY', '$PRIORITY', '$YEAR-$MONTH-$DAY $HOUR:$MIN:$SEC', '$MSG', '0' );\n")
template-escape(yes)
);
};

log { source(net); destination(d_mysql); };
log { source(s_sys); destination(d_mysql); };

# vim: syntax=syslog-ng


Any Ideas why I am no longer getting syslog data to database? I was previously using syslog .52 and it stopped working after the upgrade.


Top
 Profile  
 
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Fri Dec 10, 2010 9:16 pm 
Offline

Joined: Mon Dec 06, 2010 10:09 am
Posts: 19
hammer733 wrote:
All logs now flowing in great. But this is confusing.
When on my Syslogs tab and in my tree on left, if I click on an IP, then the right hand pane will show only messages relative to the IP I clicked on. However, if I am on my SNMP Traps tab and in my tree on left, if I click on an IP, then the right hand pane will not change at all. Is there a way to fix this so it shows only messages relative to the IP??


Gthe, Hammer733,

I am seeing the same issue. Today I upgraded to CAMM 1.6.75, running Cacti 0.8.7g, Plugin Architecture Version: 2.8. Was there a fix for this issue?

Thanks Again!


Top
 Profile  
 
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Sat Dec 11, 2010 7:52 pm 
Offline

Joined: Mon Dec 06, 2010 10:09 am
Posts: 19
Quote:
hammer733 wrote:
All logs now flowing in great. But this is confusing.
When on my Syslogs tab and in my tree on left, if I click on an IP, then the right hand pane will show only messages relative to the IP I clicked on. However, if I am on my SNMP Traps tab and in my tree on left, if I click on an IP, then the right hand pane will not change at all. Is there a way to fix this so it shows only messages relative to the IP??


Gthe, Hammer733,

I am seeing the same issue. Today I upgraded to CAMM 1.6.75, running Cacti 0.8.7g, Plugin Architecture Version: 2.8. Was there a fix for this issue?

Thanks Again!


Never mind, must have been a browser caching issue. Everything works now!!

Thanks again for all the great work!


Top
 Profile  
 
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Tue Jan 18, 2011 12:48 pm 
Offline
Cacti User

Joined: Thu Apr 10, 2008 6:52 pm
Posts: 141
I am running CAMM 1.6.6. I get the following error (see screenshot). The only thing I changed was on the PC side. My hard drive failed and I am now on Windows 7. Still running the latest version of Firefix. Nothing else has changed.



Never mind, I optimized all my MySQL tables and the error went away.


Top
 Profile  
 
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Mon Jan 24, 2011 4:43 pm 
Offline

Joined: Mon Dec 06, 2010 10:09 am
Posts: 19
First of all great work on CAMM, works nicely! :D

I did have a request, in the rules can you add the ability to BCC an email address. This would be very helpfull!

Thanks!


Top
 Profile  
 
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Mon Jan 24, 2011 7:08 pm 
Offline

Joined: Thu Nov 11, 2010 7:09 am
Posts: 3
Great work, I use CAMM every day for my network logging and email alerting.

Thanks for your great work!


Top
 Profile  
 
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Sun Jan 30, 2011 6:01 pm 
Offline

Joined: Mon Dec 06, 2010 10:09 am
Posts: 19
Gthe,

In regards to the alerting features could you please add the following:
1. Add a BCC email address field.
2. Increase the value of the email address string. I am running out of room, I am attempting to send emails out to my whole team of 12 people.
3. In the "Edit filter for rule" menu can you make the field "agentip" selectable for Syslog and Snmptt? This would really help me as I have 12 sites all with separate IP addressing and would let me notify just the staff at a given site.

Again, thanks for all the great work!


Top
 Profile  
 
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Sun Feb 27, 2011 3:44 pm 
Offline
Cacti User
User avatar

Joined: Tue May 20, 2008 4:09 am
Posts: 267
Location: Italy, Rome
Hi Gthe :D
No news for your plugin? have you plan a new release with some improvement?

Regards
Alessio

_________________
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map


Top
 Profile  
 
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Sun Feb 27, 2011 9:27 pm 
Offline

Joined: Mon Dec 06, 2010 10:09 am
Posts: 19
Another suggestion I have is to let you modify the sql select statement directly. I think the editor is great to get folks started, however, I have a need for more complex rules that combine AND, OR and NOT statements.


Top
 Profile  
 
 Post subject: Re: CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26
PostPosted: Wed Apr 13, 2011 6:03 pm 
Offline
Cacti User

Joined: Thu Apr 10, 2008 6:52 pm
Posts: 141
After a mail server issues sent a large amount of emails into my syslog, I no longer receive syslog emails from my rules. It has been like this over a day now. I have: rebooted the cacti server, optimzed all my MySQL tables, and checked the cacti log. I cannot figure out why CAMM will not send me an email. I normally get 40+ a day.

cacti host down messages come through just fine, but not CAMM messages.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 740 posts ]  Go to page Previous  1 ... 40, 41, 42, 43, 44, 45, 46 ... 50  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group