CaMM (Cacti Message Management) plugin v1.6.7 2010-08-26

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
marcmo
Posts: 27
Joined: Wed Sep 21, 2005 3:39 pm

INVALID PROPERTY NAME in host field???

Post by marcmo »

Hey,

Great plugin! Just converted from the old snmptt to camm and one thing that I don't seem to have right is the syslog database seems to have the host field populated with "INVALID PROPERTY NAME". The snmptt part is working but I can't figure this out. It may have to do with the fact that I am using rsyslog but it is populating the database.

Any idea or thoughts?

Marc M.
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

from rsyslog site
The schema definition is contained in the file "createDB.sql". It comes with the rsyslog package. Review it to check that the database name is acceptable for you. Be sure to leave the table and field names unmodified, because otherwise you need to customize rsyslogd's default sql template, which we do not do in this paper. Then, run the script with your favourite MySQL tool. Double-check that the table was successfully created.
Soo I need you createDB.sql file and "rsyslogd's default sql template" to help you, because I don't have rsyslog.
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
marcmo
Posts: 27
Joined: Wed Sep 21, 2005 3:39 pm

INVALID PROPERTY NAME in host field???

Post by marcmo »

I figured it out. I was using a bad %HOSTNAME% definition ...

Sorry for the fuss.
User avatar
smlick
Cacti User
Posts: 267
Joined: Tue May 20, 2008 4:09 am
Location: Italy, Rome

Post by smlick »

Now I use your plugin in a production environment and I think that this is one of the best plugin I have ever seen.
It does the work and have also a great gui layout and a lot of useful function like rule!!!!
Do you plane to add some extra feature like top message, top device per day/week/month so it is possible to easily debug device that have problem and also is easily find message that are not useful and waste the db.

Tnx again for your excellent work!!!!

Regards
Alessio
Cacti Version 0.8.8c production / 0.8.8c test W2008 -- Plugin:Weathermap - Monitor - CAMM 1.6.7 :) - Nectar - GPS Map
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

mcutting wrote:
mcutting wrote:Gthe - Any developments on the above ? Also, I've just noticed that the templates included also seem to be broken (on my system anyway). There are several errors in the log (I don't have these handy at the moment).

In particular, I am looking for the SYSLOG graphs..
BUMP -Any news ?

Thanks :D
After 4 days of working out I have found a problem!!!!
Can you test it ? And now I update all stats graphs.
Attachments
cacti_plugin_camm_v1.5.4.zip
(897.51 KiB) Downloaded 232 times
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

gthe wrote:
mcutting wrote:
mcutting wrote:Gthe - Any developments on the above ? Also, I've just noticed that the templates included also seem to be broken (on my system anyway). There are several errors in the log (I don't have these handy at the moment).

In particular, I am looking for the SYSLOG graphs..
BUMP -Any news ?

Thanks :D
After 4 days of working out I have found a problem!!!!
Can you test it ? And now I update all stats graphs.
Seems ok so far - and the purging of records works !! Fantastic...

I'm going to test the templates tomorrow.

Regds
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

mcutting wrote:
gthe wrote:
mcutting wrote: BUMP -Any news ?

Thanks :D
After 4 days of working out I have found a problem!!!!
Can you test it ? And now I update all stats graphs.
Seems ok so far - and the purging of records works !! Fantastic...

I'm going to test the templates tomorrow.

Regds
Hmm - one thing I have noticed is that since the new version went in, entries like

Code: Select all

05/20/2009 05:35:40 PM - SYSTEM camm STATS: del_traps:0 del_unk_traps:0 del_sys_messages:46611
Seem to be missing, although the SYSLOGS are still updating. Perhaps a coding issue ? The last entry I had was the above, but since then, nothing in the logs.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

mcutting wrote:
Hmm - one thing I have noticed is that since the new version went in, entries like

Code: Select all

05/20/2009 05:35:40 PM - SYSTEM camm STATS: del_traps:0 del_unk_traps:0 del_sys_messages:46611
Seem to be missing, although the SYSLOGS are still updating. Perhaps a coding issue ? The last entry I had was the above, but since then, nothing in the logs.
No, it is all rigth. Because it is a line - a statistics not for all CaMM but only for AutoPurge process, which now strictly under the schedule (AutoPurge process timing setting), instead of each cacti's poller time as was earlier.

May be need change output to really all camm stats.
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Well, a message in the logs is what I meant, just so you know it ran ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

mcutting wrote:Well, a message in the logs is what I meant, just so you know it ran ?
Ok, I add this.
For now you can also check it in camm stats tab.

Replace file from archive.
Attachments
camm_2_log_fix.rar
(11.09 KiB) Downloaded 197 times
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

smlick wrote: Do you plane to add some extra feature like top message, top device per day/week/month so it is possible to easily debug device that have problem and also is easily find message that are not useful and waste the db.

Tnx again for your excellent work!!!!

Regards
Alessio
Will try to add this....
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

gthe wrote:
mcutting wrote:Well, a message in the logs is what I meant, just so you know it ran ?
Ok, I add this.
For now you can also check it in camm stats tab.

Replace file from archive.
Now this

Code: Select all

05/21/2009 09:10:27 AM - SYSTEM camm General STATS: AllTime:0.6233 PurgeTime:0.0007 RuleTime:0.1807 TreeTime:0.4419
Looks much better ! Thanks...
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Palermo
Cacti User
Posts: 87
Joined: Thu Sep 11, 2008 11:48 pm

Post by Palermo »

Hi,
The Camm plug in work great,
I need to play around a bit to get more out of it.
I only use this plugin for the syslog part.

2 questions

1. With the install of CAMM something wend wrong with the data base.
When i click on the CAMM tab is says i can not find a database.
So i put it in manually. installed the CAMM plug in again with PA. but now i have more screens. (See picture).

2. i have no gaphs under the tab stats.

do i forget something?

Thx for the plugin.
Attachments
CAMM01.PNG
CAMM01.PNG (30.65 KiB) Viewed 4870 times
Last edited by Palermo on Wed Jun 03, 2009 9:20 am, edited 1 time in total.
User avatar
gthe
Cacti User
Posts: 410
Joined: Sat Jul 29, 2006 1:23 pm
Location: RU

Post by gthe »

Palermo,
1. You need unnistall one of instance camm plugin - it will delete all other and after that install it once again. If You got error - show it for me.
2. You must import graphs template and place ss_camm_poller.php. After that manually create graphs and fill im camm's setting graph's ids in setting "Graphs id to show".
My cacti plugin -[url=http://forums.cacti.net/viewtopic.php?p=156769#156769]CaMM[/url]
[size=75]Sorry for my English. [/size]
Palermo
Cacti User
Posts: 87
Joined: Thu Sep 11, 2008 11:48 pm

Post by Palermo »

If i unstall the plugin the hole plunin is gone.
If i press install in the PA than i got this error:

Code: Select all

FATAL: Database or Table does not exist
Then if i hit the back button, and go to the settings page the CAMM options a available when in change the data base name form syslog-ng to syslog and save the configuration and hit install again form the PA is works fine. but i still have 3 CAMM schreens in the PA page.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests