It's an installable ISO, I guess you could run it as a VM. It's CentOS 4.5 so if you're used to RedHat, you should pick right up on it.sebbs wrote:so CactiEZ is a vm iso with all these plugins built in or what?
haloe alerts and removals not showing
Moderators: Developers, Moderators
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
Re: Alerts & removals also not displayed
The code of the last version of syslog, 5.2 is not this.oldsk8trbabe wrote:I too had this problem. Alerts and removal rules were indeed in the DB, they were just not being displayed in the Cacti Web interface. I followed kurowsky's suggestion and commented the reference to global_arrays in both syslog_alert.php and syslog_removal.php and all is well again:
function display_alertss () {
global $colors, $sql_where, $hostfilter, $config, $types;
//if (file_exists("./include/global_arrays.php")) {
// include("./include/global_arrays.php");
//} else {
// include("./include/config_arrays.php");
//}
include('plugins/syslog/config.php');
function display_removals () {
global $colors, $sql_where, $hostfilter, $config, $types;
//if (file_exists("./include/global_arrays.php")) {
// include("./include/global_arrays.php");
//} else {
// include("./include/config_arrays.php");
//}
include('plugins/syslog/config.php');
The configured alert and removal rules are now displayed.
the rows that should be commented are not in the function but in another position ....
in my apache log i obtain this warning when i try to display alert and removal ...
when i comment out these lines i have no positive results, no removals and alerts displayed
PHP Warning: Division by zero in /var/www/cacti/plugins/syslog/functions.php on line 230, referer: https://xxxxx/cacti/plugins/syslog/syslog.php
please help me!
sam
Who is online
Users browsing this forum: No registered users and 6 guests