Syslog 1.0 Released
Moderators: Developers, Moderators
-
- Posts: 37
- Joined: Fri Feb 11, 2005 5:32 pm
Re: Syslog 1.0 Released
That worked! Thanks for your help.
-
- Posts: 37
- Joined: Fri Feb 11, 2005 5:32 pm
Re: Syslog 1.0 Released
After further review it fixed the strange multiple values in the drop down but there's a problem when I select logs with a specific Priority. When I do so the result doesn't display correct logs; the priority isn't correct. Here are the screens:
- Attachments
-
- ss2.png (34.71 KiB) Viewed 11247 times
-
- ss1.png (29.72 KiB) Viewed 11247 times
-
- Posts: 37
- Joined: Fri Feb 11, 2005 5:32 pm
Re: Syslog 1.0 Released
In line 349 of syslog.php I changed
"priority_id <="
to
"priority_id="
And it seems to have fixed this problem somewhat. The Critical and Alert priority displays are reversed when selecting them...
"priority_id <="
to
"priority_id="
And it seems to have fixed this problem somewhat. The Critical and Alert priority displays are reversed when selecting them...
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Syslog 1.0 Released
It's that way for a reason. I can add more options though... ++ means >=
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?
-
- Posts: 37
- Joined: Fri Feb 11, 2005 5:32 pm
Re: Syslog 1.0 Released
In lines 575 and 576 in syslog.php
I changed:
<option value="2"<?php if ($_REQUEST["elevel"] == "2") {?> selected<?php }?>>Alert++</option>
<option value="3"<?php if ($_REQUEST["elevel"] == "3") {?> selected<?php }?>>Critical++</option>
to:
<option value="2"<?php if ($_REQUEST["elevel"] == "2") {?> selected<?php }?>>Critical++</option>
<option value="3"<?php if ($_REQUEST["elevel"] == "3") {?> selected<?php }?>>Alert++</option>
And now I think I'm good.
I changed:
<option value="2"<?php if ($_REQUEST["elevel"] == "2") {?> selected<?php }?>>Alert++</option>
<option value="3"<?php if ($_REQUEST["elevel"] == "3") {?> selected<?php }?>>Critical++</option>
to:
<option value="2"<?php if ($_REQUEST["elevel"] == "2") {?> selected<?php }?>>Critical++</option>
<option value="3"<?php if ($_REQUEST["elevel"] == "3") {?> selected<?php }?>>Alert++</option>
And now I think I'm good.
-
- Posts: 37
- Joined: Fri Feb 11, 2005 5:32 pm
Re: Syslog 1.0 Released
Ok. Sorry for the mixup. This was the functionality I was used to on a previous version of this plugin. Sorry if I'm posting the wrong changes.
-
- Posts: 37
- Joined: Fri Feb 11, 2005 5:32 pm
Re: Syslog 1.0 Released
In the original code its set to:
priority_id <=
not
priority_id >=
priority_id <=
not
priority_id >=
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Syslog 1.0 Released
Thanks for the catch! Can you log a bug here: http://bugs.cacti.net?kevin_taco wrote:In lines 575 and 576 in syslog.php
I changed:
<option value="2"<?php if ($_REQUEST["elevel"] == "2") {?> selected<?php }?>>Alert++</option>
<option value="3"<?php if ($_REQUEST["elevel"] == "3") {?> selected<?php }?>>Critical++</option>
to:
<option value="2"<?php if ($_REQUEST["elevel"] == "2") {?> selected<?php }?>>Critical++</option>
<option value="3"<?php if ($_REQUEST["elevel"] == "3") {?> selected<?php }?>>Alert++</option>
And now I think I'm good.
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?
-
- Posts: 37
- Joined: Fri Feb 11, 2005 5:32 pm
Re: Syslog 1.0 Released
Done. Bug # 0001871
Re: Syslog 1.0 Released
access control for syslog plugin, in my case i log all network devices and servers log to cacti machine, one of our programmer needs to see apache error log for specific server, but i don't want him to see all my infrastructure.
it will be great to somehow limit individual user, that i could filter who sees what device and not all logs from that device but only part of it
it will be great to somehow limit individual user, that i could filter who sees what device and not all logs from that device but only part of it
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Syslog 1.0 Released
Can you be more specific? It is possible to do the following:giokob wrote:access control for syslog plugin, in my case i log all network devices and servers log to cacti machine, one of our programmer needs to see apache error log for specific server, but i don't want him to see all my infrastructure.
it will be great to somehow limit individual user, that i could filter who sees what device and not all logs from that device but only part of it
1) Limit access by host or list of host
2) Limit access by Facility
3) Restrict access based upon substring match of log entries
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?
Re: Syslog 1.0 Released
i think all of three is good, better if administrator can create sql expression, like in alarm, remove rules
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Syslog 1.0 Released
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?
Re: Syslog 1.0 Released
Is it intentional that the search field does not search the host field? I would like to filter on a per site basis, so it would be nice if searching for "London" would give me "London-sw1" "London-sw2" and so on.
Also, according to the change log:
When adding a removal rule, only that rule will execute immediately, instead of rerunning all rules
When adding a rule it will work, but it does not remove existing entries from the database?
Thanks for another very cool plugin!
Also, according to the change log:
When adding a removal rule, only that rule will execute immediately, instead of rerunning all rules
When adding a rule it will work, but it does not remove existing entries from the database?
Thanks for another very cool plugin!
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Syslog 1.0 Released
Post your feature request and bug on Mantis http://bugs.cacti.netphilipz wrote:Is it intentional that the search field does not search the host field? I would like to filter on a per site basis, so it would be nice if searching for "London" would give me "London-sw1" "London-sw2" and so on.
Also, according to the change log:
When adding a removal rule, only that rule will execute immediately, instead of rerunning all rules
When adding a rule it will work, but it does not remove existing entries from the database?
Thanks for another very cool plugin!
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?
Who is online
Users browsing this forum: No registered users and 1 guest