Syslog 1.0 Released
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Today, I released 1.05. See the README for the ChangeLog.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Hi
Hi The Witness:
I installed syslog 1.04 a week ago and It's working , how can I update to 1.05?. I think uninstalling the 1.04 version from "Plugin management"? Then replacing for the new plugin and reinstall from "Plugin management"?. is it right?
Thanks
Jose
I installed syslog 1.04 a week ago and It's working , how can I update to 1.05?. I think uninstalling the 1.04 version from "Plugin management"? Then replacing for the new plugin and reinstall from "Plugin management"?. is it right?
Thanks
Jose
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Just copy 1.05 to the plugins directory and navigate to plugin management and your done.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Priority- Level
Hi Witness:
I realize the syslog messages from my Cisco Routers appears in Syslog Plugin with numbers (not text, for example "warnings" appears as "4" ), and for this reason the colors don't work.
I've checked the table "syslog_priorities" :
mysql> select * from syslog_priorities;
+-------------+----------+---------------------+
| priority_id | priority | last_updated |
+-------------+----------+---------------------+
| 1 | emer | 2010-08-29 21:21:17 |
| 2 | crit | 2010-08-29 21:21:17 |
| 3 | alert | 2010-08-29 21:21:17 |
| 4 | err | 2010-08-29 21:21:17 |
| 5 | warn | 2010-08-29 21:21:17 |
| 6 | notice | 2010-08-29 21:21:17 |
| 7 | info | 2010-08-29 21:21:17 |
| 8 | debug | 2010-08-29 21:21:17 |
| 9 | other | 2010-08-29 21:21:17 |
| 10 | 4 | 2010-08-29 21:25:04 |
| 11 | 6 | 2010-08-29 21:25:04 |
| 12 | 3 | 2010-08-29 21:25:04 |
+-------------+----------+---------------------+
tha last three ones (4,6 and 3), come from my Cisco Routers, I attach a capture.
I'm using rsyslog (according the instructions on the plugin cacti web). I read at rsyslog web page, too:
"...rsyslog provides message properties for the priority. These are called "PRI", "syslogfacility" and "syslogpriority" (case is important!). They are numerical values..."
http://www.rsyslog.com/doc/rsyslog_recording_pri.html
Thanks
Jose
I realize the syslog messages from my Cisco Routers appears in Syslog Plugin with numbers (not text, for example "warnings" appears as "4" ), and for this reason the colors don't work.
I've checked the table "syslog_priorities" :
mysql> select * from syslog_priorities;
+-------------+----------+---------------------+
| priority_id | priority | last_updated |
+-------------+----------+---------------------+
| 1 | emer | 2010-08-29 21:21:17 |
| 2 | crit | 2010-08-29 21:21:17 |
| 3 | alert | 2010-08-29 21:21:17 |
| 4 | err | 2010-08-29 21:21:17 |
| 5 | warn | 2010-08-29 21:21:17 |
| 6 | notice | 2010-08-29 21:21:17 |
| 7 | info | 2010-08-29 21:21:17 |
| 8 | debug | 2010-08-29 21:21:17 |
| 9 | other | 2010-08-29 21:21:17 |
| 10 | 4 | 2010-08-29 21:25:04 |
| 11 | 6 | 2010-08-29 21:25:04 |
| 12 | 3 | 2010-08-29 21:25:04 |
+-------------+----------+---------------------+
tha last three ones (4,6 and 3), come from my Cisco Routers, I attach a capture.
I'm using rsyslog (according the instructions on the plugin cacti web). I read at rsyslog web page, too:
"...rsyslog provides message properties for the priority. These are called "PRI", "syslogfacility" and "syslogpriority" (case is important!). They are numerical values..."
http://www.rsyslog.com/doc/rsyslog_recording_pri.html
Thanks
Jose
- Attachments
-
- syslog_priorities.jpg (58.88 KiB) Viewed 9176 times
-
- Posts: 10
- Joined: Sun Jul 11, 2010 1:00 am
Hi I see this in clog, everything seems working fine.
CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"INSERT INTO settings VALUES ('syslog_last_total','131')'
I am not using cacti db, my config.php like this:
global $config, $database_type, $database_default, $database_hostname;
global $database_username, $database_password, $database_port;
/* revert if you dont use the Cacti database */
$use_cacti_db = false;
if (!$use_cacti_db) {
$syslogdb_type = 'mysql';
$syslogdb_default = 'syslog';
$syslogdb_hostname = 'localhost';
$syslogdb_username = 'cactiuser';
$syslogdb_password = 'xxxxxx';
$syslogdb_port = 3306;
}else{
$syslogdb_type = $database_type;
$syslogdb_default = $database_default;
$syslogdb_hostname = $database_hostname;
$syslogdb_username = $database_username;
$syslogdb_password = $database_password;
$syslogdb_port = $database_port;
}
/* field in the incomming table */
$syslog_incoming_config['dateField'] = 'date';
$syslog_incoming_config['timeField'] = 'time';
$syslog_incoming_config['priorityField'] = 'priority';
$syslog_incoming_config['facilityField'] = 'facility';
$syslog_incoming_config['hostField'] = 'host';
$syslog_incoming_config['textField'] = 'message';
$syslog_incoming_config['id'] = 'seq';
CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"INSERT INTO settings VALUES ('syslog_last_total','131')'
I am not using cacti db, my config.php like this:
global $config, $database_type, $database_default, $database_hostname;
global $database_username, $database_password, $database_port;
/* revert if you dont use the Cacti database */
$use_cacti_db = false;
if (!$use_cacti_db) {
$syslogdb_type = 'mysql';
$syslogdb_default = 'syslog';
$syslogdb_hostname = 'localhost';
$syslogdb_username = 'cactiuser';
$syslogdb_password = 'xxxxxx';
$syslogdb_port = 3306;
}else{
$syslogdb_type = $database_type;
$syslogdb_default = $database_default;
$syslogdb_hostname = $database_hostname;
$syslogdb_username = $database_username;
$syslogdb_password = $database_password;
$syslogdb_port = $database_port;
}
/* field in the incomming table */
$syslog_incoming_config['dateField'] = 'date';
$syslog_incoming_config['timeField'] = 'time';
$syslog_incoming_config['priorityField'] = 'priority';
$syslog_incoming_config['facilityField'] = 'facility';
$syslog_incoming_config['hostField'] = 'host';
$syslog_incoming_config['textField'] = 'message';
$syslog_incoming_config['id'] = 'seq';
-
- Posts: 10
- Joined: Sun Jul 11, 2010 1:00 am
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Permissions. A fix was made to remove the option for users that are not entitled to access that area.michaelzhao wrote:A small issue. (not related with ver 1.05)
I can't see that "!" (inside a triangle) icon beside the graphs.
But it is working fine on my anothere cacti server.
Which file should I look at?
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Can you please open a bug report at http://bugs.cacti.netmichaelzhao wrote:Hi I see this in clog, everything seems working fine.
CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"INSERT INTO settings VALUES ('syslog_last_total','131')'
I am not using cacti db, my config.php like this:
global $config, $database_type, $database_default, $database_hostname;
global $database_username, $database_password, $database_port;
/* revert if you dont use the Cacti database */
$use_cacti_db = false;
if (!$use_cacti_db) {
$syslogdb_type = 'mysql';
$syslogdb_default = 'syslog';
$syslogdb_hostname = 'localhost';
$syslogdb_username = 'cactiuser';
$syslogdb_password = 'xxxxxx';
$syslogdb_port = 3306;
}else{
$syslogdb_type = $database_type;
$syslogdb_default = $database_default;
$syslogdb_hostname = $database_hostname;
$syslogdb_username = $database_username;
$syslogdb_password = $database_password;
$syslogdb_port = $database_port;
}
/* field in the incomming table */
$syslog_incoming_config['dateField'] = 'date';
$syslog_incoming_config['timeField'] = 'time';
$syslog_incoming_config['priorityField'] = 'priority';
$syslog_incoming_config['facilityField'] = 'facility';
$syslog_incoming_config['hostField'] = 'host';
$syslog_incoming_config['textField'] = 'message';
$syslog_incoming_config['id'] = 'seq';
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Priority- Level
I suspect that this is a rsyslog configuration option.joseme wrote:Hi Witness:
I realize the syslog messages from my Cisco Routers appears in Syslog Plugin with numbers (not text, for example "warnings" appears as "4" ), and for this reason the colors don't work.
I've checked the table "syslog_priorities" :
mysql> select * from syslog_priorities;
+-------------+----------+---------------------+
| priority_id | priority | last_updated |
+-------------+----------+---------------------+
| 1 | emer | 2010-08-29 21:21:17 |
| 2 | crit | 2010-08-29 21:21:17 |
| 3 | alert | 2010-08-29 21:21:17 |
| 4 | err | 2010-08-29 21:21:17 |
| 5 | warn | 2010-08-29 21:21:17 |
| 6 | notice | 2010-08-29 21:21:17 |
| 7 | info | 2010-08-29 21:21:17 |
| 8 | debug | 2010-08-29 21:21:17 |
| 9 | other | 2010-08-29 21:21:17 |
| 10 | 4 | 2010-08-29 21:25:04 |
| 11 | 6 | 2010-08-29 21:25:04 |
| 12 | 3 | 2010-08-29 21:25:04 |
+-------------+----------+---------------------+
tha last three ones (4,6 and 3), come from my Cisco Routers, I attach a capture.
I'm using rsyslog (according the instructions on the plugin cacti web). I read at rsyslog web page, too:
"...rsyslog provides message properties for the priority. These are called "PRI", "syslogfacility" and "syslogpriority" (case is important!). They are numerical values..."
http://www.rsyslog.com/doc/rsyslog_recording_pri.html
Thanks
Jose
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
No colors in Syslog
Hi Witness:
I change the %syslogpriority% to '%syslogpriority-text%' (I found this in rsyslog web), In rsyslog.conf, now I get Err,Warn,Info , under "Level" ... but the the colors function doesn't twork (I think it should work for "Info" at least)...
the filter (combo box: Info++, etc..) works well.
How the rows are colored?, maybe the "priority" must be a complete word, like "warning" not only "warn"?
Could you take a look, please...
thanks
José
I change the %syslogpriority% to '%syslogpriority-text%' (I found this in rsyslog web), In rsyslog.conf, now I get Err,Warn,Info , under "Level" ... but the the colors function doesn't twork (I think it should work for "Info" at least)...
the filter (combo box: Info++, etc..) works well.
How the rows are colored?, maybe the "priority" must be a complete word, like "warning" not only "warn"?
Could you take a look, please...
thanks
José
-
- Posts: 10
- Joined: Sun Jul 11, 2010 1:00 am
Hi TheWitnessTheWitness wrote:Permissions. A fix was made to remove the option for users that are not entitled to access that area.michaelzhao wrote:A small issue. (not related with ver 1.05)
I can't see that "!" (inside a triangle) icon beside the graphs.
But it is working fine on my anothere cacti server.
Which file should I look at?
TheWitness
Sorry, I didn't get it. I am using v1.05 and cacti hostname matchs the syslog hostname. Is this a bug in v1.05? (I found a bug report at http://bugs.cacti.net/, but it claimed that this has been fixed in 1.04-8/9 release)
Last edited by michaelzhao on Tue Aug 31, 2010 4:25 pm, edited 1 time in total.
Now It works
Hi Witness:
Today I've checked and my Syslog is working (colors are OK)!! , Maybe I should have wait 10 minutes or a little more to see the results....
Well, for people who use rsyslog: change this in rsyslog.conf (if you want to see Syslog plugin full color)
%syslogpriority% to '%syslogpriority-text%'
after that restart rsyslog and wait 5-to ten minutes to see the results.
Thanks...
Jose
Today I've checked and my Syslog is working (colors are OK)!! , Maybe I should have wait 10 minutes or a little more to see the results....
Well, for people who use rsyslog: change this in rsyslog.conf (if you want to see Syslog plugin full color)
%syslogpriority% to '%syslogpriority-text%'
after that restart rsyslog and wait 5-to ten minutes to see the results.
Thanks...
Jose
- Attachments
-
- syslog_color.JPG (48.41 KiB) Viewed 9077 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I see now. The hostnames must match identicallymichaelzhao wrote:Hi TheWitnessTheWitness wrote:Permissions. A fix was made to remove the option for users that are not entitled to access that area.michaelzhao wrote:A small issue. (not related with ver 1.05)
I can't see that "!" (inside a triangle) icon beside the graphs.
But it is working fine on my anothere cacti server.
Which file should I look at?
TheWitness
Sorry, I didn't get it. I am using v1.05 and cacti hostname matchs the syslog hostname. Is this a bug in v1.05? (I found a bug report at http://bugs.cacti.net/, but it claimed that this has been fixed in 1.04-8/9 release)
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 0 guests