CactiEZ 0.7 Released
Moderators: Developers, Moderators
Re: CactiEZ 0.7 Released
[quote="cigamit"]CactiEZ 0.7 has been released. You can find the release announcement here [url=http://blog.cactiusers.org/2012/10/14/c ... -released/]CactiEZ 0.7 Released[/url].
Please use this thread for discussion of any issues / problems that you may have with your CactiEZ installation.
Several fixes have already been issued for the current CactiEZ. You can ensure that you are up to date by issuing these commands from the command line.
[code]yum clean all
yum install cactiez-0.7-fixes
yum update[/code]
[size=150][b]Known Issues:[/b][/size]
[list]
[*]resource/script_server/win_services.xml is missing - [b]Fixed in package cactiez-0.7-fixes[/b]
[*]In certain instances, the randomized cactiuser mysql password may not be applied correctly to mysql - [i]Not Verified[/i][/list]
[size=150][b]Todo for CactiEZ 0.8:[/b][/size]
[list]
[*]Incoming SNMP Trap Support (snmptt)
[*]More templates (Please list any particular ones you may want)[/list][/quote]
[root@localhost yum.repos.d]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net
http://mirror.cactiusers.org/RPMS/CentO ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: CactiEZ. Please verify its path and try again
Please use this thread for discussion of any issues / problems that you may have with your CactiEZ installation.
Several fixes have already been issued for the current CactiEZ. You can ensure that you are up to date by issuing these commands from the command line.
[code]yum clean all
yum install cactiez-0.7-fixes
yum update[/code]
[size=150][b]Known Issues:[/b][/size]
[list]
[*]resource/script_server/win_services.xml is missing - [b]Fixed in package cactiez-0.7-fixes[/b]
[*]In certain instances, the randomized cactiuser mysql password may not be applied correctly to mysql - [i]Not Verified[/i][/list]
[size=150][b]Todo for CactiEZ 0.8:[/b][/size]
[list]
[*]Incoming SNMP Trap Support (snmptt)
[*]More templates (Please list any particular ones you may want)[/list][/quote]
[root@localhost yum.repos.d]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net
http://mirror.cactiusers.org/RPMS/CentO ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: CactiEZ. Please verify its path and try again
Re: CactiEZ 0.7 Released
that's wired. I just tried myself and it works fine.
Cat your ezcacti config file. It should be like this
Cat your ezcacti config file. It should be like this
[root@localhost ~]# cat /etc/yum.repos.d/cactiez.repo
[CactiEZ]
name=CactiUsers Cactiez Repo
baseurl=http://mirror.cactiusers.org/RPMS/CentOS/$basearch/
enabled=1
Code: Select all
Corporate Cacti
CactiEZ 0.7 (upgraded to 0.0.8h) - Spine 0.8.8h - RRDTool 1.4.7 - Apache 2.2.15 - Settings 0.71 - Maint 0.3 - Thold0.5 - Errorimage 0.2 - Webmin 0.1
Watermark 0.2 - Monitor 1.3 - Realtime 0.5 - Nectar 0.35a - Fix64bit 0.4 - Autom8 0.36 - Quicktree 0.2
Code: Select all
Business Cacti
CactiEZ 0.7 - Spine 0.8.8b - RRDTool 1.3.8 - Apache 2.2.15 - Settings 0.71 - Maint 0.3 - Thold0.5 - Errorimage 0.2 - Jqueryskin 0.1
Webmin 0.1 - Watermark 0.2 - Monitor 1.3 - Realtime 0.5 - Nectar 0.35a - Fix64bit 0.4 - Autom8 0.36 - Quicktree 0.2 - Syslog 1.22
Re: CactiEZ 0.7 Released
Jimmy. Once I hit the upgrade on CactiEZ I get some thumbnails broken (the avail space disk on the cacti host).
Now I've been digging and it's some error that was on 0.8.6j and came back with 0.8.8b.
solution is to change the "rrd.php" file for this one I found in another thread.
I was thinking, maybe you can add it to the "fixies" file you've got on the repo. Notice that the file is to be renamed from txt to php.
Thanks!
Now I've been digging and it's some error that was on 0.8.6j and came back with 0.8.8b.
solution is to change the "rrd.php" file for this one I found in another thread.
I was thinking, maybe you can add it to the "fixies" file you've got on the repo. Notice that the file is to be renamed from txt to php.
Thanks!
- Attachments
-
- rrd.txt
- (91.25 KiB) Downloaded 463 times
Code: Select all
Corporate Cacti
CactiEZ 0.7 (upgraded to 0.0.8h) - Spine 0.8.8h - RRDTool 1.4.7 - Apache 2.2.15 - Settings 0.71 - Maint 0.3 - Thold0.5 - Errorimage 0.2 - Webmin 0.1
Watermark 0.2 - Monitor 1.3 - Realtime 0.5 - Nectar 0.35a - Fix64bit 0.4 - Autom8 0.36 - Quicktree 0.2
Code: Select all
Business Cacti
CactiEZ 0.7 - Spine 0.8.8b - RRDTool 1.3.8 - Apache 2.2.15 - Settings 0.71 - Maint 0.3 - Thold0.5 - Errorimage 0.2 - Jqueryskin 0.1
Webmin 0.1 - Watermark 0.2 - Monitor 1.3 - Realtime 0.5 - Nectar 0.35a - Fix64bit 0.4 - Autom8 0.36 - Quicktree 0.2 - Syslog 1.22
Re: CactiEZ 0.7 Released
Just saw CactiEZ in a class and decided I had to have it.
I have tried to download it from multiple machines, OS and internet connections and can not get the download to complete with http. I can't even get it to start with the torrent.
Help!
thanks
I have tried to download it from multiple machines, OS and internet connections and can not get the download to complete with http. I can't even get it to start with the torrent.
Help!
thanks
Re: CactiEZ 0.7 Released
Dear Sir,
First of all, thank you very much for the great software.
I have installed and monitor cisco devices (router/switch) successfully. At the moment, I would like to install routerconfig plugin. So, could you please help me on this?
I'm not a Linux specialist
Thank you in advance,
DQM
First of all, thank you very much for the great software.
I have installed and monitor cisco devices (router/switch) successfully. At the moment, I would like to install routerconfig plugin. So, could you please help me on this?
I'm not a Linux specialist
Thank you in advance,
DQM
Re: CactiEZ 0.7 Released
Dear all,
I got the error messages below once perform configuration routerconfig plugin
Devices
Warning: Invalid argument supplied for foreach() in /var/www/html/plugins/routerconfigs/router-devices.php on line 431
Backups
Warning: Invalid argument supplied for foreach() in /var/www/html/plugins/routerconfigs/router-backups.php on line 171
Authentication
Warning: Invalid argument supplied for foreach() in /var/www/html/plugins/routerconfigs/router-accounts.php on line 320
I already searched in the 4rum, I found out the article below but I don't know the way to fix it (password of cacti, root users). Could you please help to show me the solution?
http://forums.cacti.net/viewtopic.php?f=14&t=43663
Many thanks for your support,
DQM
I got the error messages below once perform configuration routerconfig plugin
Devices
Warning: Invalid argument supplied for foreach() in /var/www/html/plugins/routerconfigs/router-devices.php on line 431
Backups
Warning: Invalid argument supplied for foreach() in /var/www/html/plugins/routerconfigs/router-backups.php on line 171
Authentication
Warning: Invalid argument supplied for foreach() in /var/www/html/plugins/routerconfigs/router-accounts.php on line 320
I already searched in the 4rum, I found out the article below but I don't know the way to fix it (password of cacti, root users). Could you please help to show me the solution?
http://forums.cacti.net/viewtopic.php?f=14&t=43663
Many thanks for your support,
DQM
Re: CactiEZ 0.7 Released
Import the SQL file that came with router configs
Re: CactiEZ 0.7 Released
Thank you cigamit. It seems the plugin is working, I'm able to add device/authentication values, but I cannot backup router/switch by ssh. What do I do next?cigamit wrote:Import the SQL file that came with router configs
Thank you in advance
DQM
Re: CactiEZ 0.7 Released
Dear all,
My TFTP server is working well.
But I just got another issue with syslog alert feature. It didn't send mail, I already created an alert rule and sow it log on the alert tab, but send mail process didn't action :
Could anyone please help on this?
Thank you so much,
DQM
My TFTP server is working well.
But I just got another issue with syslog alert feature. It didn't send mail, I already created an alert rule and sow it log on the alert tab, but send mail process didn't action :
Could anyone please help on this?
Thank you so much,
DQM
Re: CactiEZ 0.7 Released
Dear all,
I just got one more issue with CactiEZ v0.7 (cacti 08.8.b). That is Flowview plugin. I am able to view the result (netflow was sent from my router, firewall). I am also able to add Listener, Schedules. But, I cannot delete Listener and cannot see Schedule.
I just got one more issue with CactiEZ v0.7 (cacti 08.8.b). That is Flowview plugin. I am able to view the result (netflow was sent from my router, firewall). I am also able to add Listener, Schedules. But, I cannot delete Listener and cannot see Schedule.
- Attachments
-
- Flowview schedule.JPG (52.24 KiB) Viewed 8673 times
Re: CactiEZ 0.7 Released
Hi there,
I'm having major issues getting tftp to work with CactiEZ0.7.
I have the CactiEZ0.6 installed and that works fine right out of the box.
I have done some digging and found that xinetd was attempting to start then failing as shown in /var/log/messages file below.
I then opened up the /etc/xinetd.conf file and amended from:
to:
This fixed the issue of xinetd not starting correctly but not sure if I broke something else as unsure what the keyword RECORD does.
TFTP however still did not work and kept getting the error: Connect request failed
I changed the tftp home directory to chmod 777 permission
My /etc/xinetd.d/tftp file is configured as:
I then did a chkconfig --list | grep tftp
and got the response
The did a netstat -antup | grep 69
and got no response .
checked the same command on CactiEZ0.6 and got the response
The iptables on CactiEZ0.7 is configured as:
Which is the same as CactiEZ0.6.
So not sure where to go from here now. Any help would be greatly appreciated.
EDIT:
Ok I did a bit more digging and it seems that even though CactiEZ0.7 has the file /etc/xinetd.d/tftp, tftp-server doesn't seem to be installed.
So I did a yum install tftp-server. Kept all the defaults and changed permission of /var/lib/tftpboot and now I can tftp files to the server.
I'm having major issues getting tftp to work with CactiEZ0.7.
I have the CactiEZ0.6 installed and that works fine right out of the box.
I have done some digging and found that xinetd was attempting to start then failing as shown in /var/log/messages file below.
Code: Select all
Feb 19 11:46:56 localhost xinetd[2905] Bad log_on_failure flag: RECORD [file=/ etc/xinetd.conf] [line=18]
Feb 19 11:46:56 localhost xinetd[2905]: A fatal error was encountered while par sing the default section. xinetd will exit.
Feb 19 11:46:56 localhost xinetd[2905]: Exiting...
Code: Select all
log_on_failure = ATTEMPTS HOST USERID RECORD
Code: Select all
log_on_failure = ATTEMPTS HOST USERID
TFTP however still did not work and kept getting the error: Connect request failed
I changed the tftp home directory to chmod 777 permission
My /etc/xinetd.d/tftp file is configured as:
Code: Select all
# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s -c /home/routerconfigs
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
and got the response
Code: Select all
tftp: on
and got no response .
checked the same command on CactiEZ0.6 and got the response
Code: Select all
udp 0 0.0.0.0:69 0.0.0.0:*
Code: Select all
# Firewall configuration written by system-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
#-A INPUT -p icmp --icmp-type timestamp-request -j DROP
#-A OUTPUT -p icmp --icmp-type timestamp-reply -j DROP
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 69 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 514 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 10000 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 2055 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT
So not sure where to go from here now. Any help would be greatly appreciated.
EDIT:
Ok I did a bit more digging and it seems that even though CactiEZ0.7 has the file /etc/xinetd.d/tftp, tftp-server doesn't seem to be installed.
So I did a yum install tftp-server. Kept all the defaults and changed permission of /var/lib/tftpboot and now I can tftp files to the server.
Re: CactiEZ 0.7 Released
I have another question.
before the login prompt there is a bit of text about the server and IP address.
I know this file is located at /etc/issue but when i change the text and reboot, it always reverts back to previous text.
So it looks like there is another file that is copying the contents into this file but not sure which one it is.
Does anyone know what it is?
before the login prompt there is a bit of text about the server and IP address.
I know this file is located at /etc/issue but when i change the text and reboot, it always reverts back to previous text.
So it looks like there is another file that is copying the contents into this file but not sure which one it is.
Does anyone know what it is?
Re: CactiEZ 0.7 Released
The torrent does not work for me. The HTTP download says the file is corrupt.
Anyway to get this fixed or anyone have a link to the torrent?
Justin
Anyway to get this fixed or anyone have a link to the torrent?
Justin
Re: CactiEZ 0.7 Released
I used a bit torrent application to download the file, could never get it to work from the link.j2sw wrote:The torrent does not work for me. The HTTP download says the file is corrupt.
Anyway to get this fixed or anyone have a link to the torrent?
Justin
Re: CactiEZ 0.7 Released
Same issue as enjaced, fixed with rrd.txt of his post.
All the previews generated with a script data input method fails.
I paste the result of the diff file in case it could help ( rrd_bck is the original cacti ez 0'7 file after upgrading to 0.8.8.b)
All the previews generated with a script data input method fails.
I paste the result of the diff file in case it could help ( rrd_bck is the original cacti ez 0'7 file after upgrading to 0.8.8.b)
diff rrd.php rrd.txt
874,875c874,875
< #"--color GRID#FFFFFF00" . RRD_NL .
< #"--color MGRID#FFFFFF00" . RRD_NL .
---
> "--color GRID#FFFFFF00" . RRD_NL .
> "--color MGRID#FFFFFF00" . RRD_NL .
[root@SAURON lib]# diff rrd.php rrd_bck.php
4c4
< | Copyright (C) 2004-2012 The Cacti Group |
---
> | Copyright (C) 2004-2013 The Cacti Group |
25,29d24
<
< /* further enhancements provided by Dan Farrell of Applied Innovations.
< danf@appliedi.net
< */
<
873,876d867
< "--interlaced" . RRD_NL .
< #"--color GRID#FFFFFF00" . RRD_NL .
< #"--color MGRID#FFFFFF00" . RRD_NL .
< "--color ARROW#FF0000" . RRD_NL .
966c957
< $graph_defs .= "DEF:" . generate_graph_def_name(strval($i)) . "=\"$data_source_path\":" . cacti_escapeshellarg($graph_item["data_source_name"], true) . ":" . $consolidation_functions[$graph_cf] . RRD_NL;
---
> $graph_defs .= "DEF:" . generate_graph_def_name(strval($i)) . "=" . cacti_escapeshellarg($data_source_path) . ":" . cacti_escapeshellarg($graph_item["data_source_name"], true) . ":" . $consolidation_functions[$graph_cf] . RRD_NL;
1356c1347
< $comment_string = $graph_item_types{$graph_item["graph_type_id"]} . ":\"" . str_replace(":", "\:", $graph_variables["text_format"][$graph_item_id]) . $hardreturn[$graph_item_id] . "\" ";
---
> $comment_string = $graph_item_types{$graph_item["graph_type_id"]} . ":" . str_replace(":", "\:", cacti_escapeshellarg($graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id])) . " ";
1363c1354
< $comment_string = $graph_item_types{$graph_item["graph_type_id"]} . ":\"" . $graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id] . "\" ";
---
> $comment_string = $graph_item_types{$graph_item["graph_type_id"]} . ":" . cacti_escapeshellarg($graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id]) . " ";
1372c1363
< $txt_graph_items .= $graph_item_types{$graph_item["graph_type_id"]} . ":" . $data_source_name . ":" . $consolidation_functions{$graph_item["consolidation_function_id"]} . ":\"$text_padding" . $graph_variables["text_format"][$graph_item_id] . $graph_item["gprint_text"] . $hardreturn[$graph_item_id] . "\" ";
---
> $txt_graph_items .= $graph_item_types{$graph_item["graph_type_id"]} . ":" . $data_source_name . ":" . $consolidation_functions{$graph_item["consolidation_function_id"]} . ":" . cacti_escapeshellarg($text_padding . $graph_variables["text_format"][$graph_item_id] . $graph_item["gprint_text"] . $hardreturn[$graph_item_id]) . " ";
1388c1379
< $txt_graph_items .= $graph_item_types{$graph_item["graph_type_id"]} . ":" . $data_source_name . $graph_item_color_code . ":" . "\"" . $graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id] . "\" ";
---
> $txt_graph_items .= $graph_item_types{$graph_item["graph_type_id"]} . ":" . $data_source_name . $graph_item_color_code . ":" . cacti_escapeshellarg($graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id]) . " ";
1392c1383
< $txt_graph_items .= $graph_item_stack_type . ":" . $data_source_name . $graph_item_color_code . ":" . "\"" . $graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id] . "\":STACK";
---
> $txt_graph_items .= $graph_item_stack_type . ":" . $data_source_name . $graph_item_color_code . ":" . cacti_escapeshellarg($graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id]) . ":STACK";
1395c1386
< $txt_graph_items .= $graph_item_types{$graph_item["graph_type_id"]} . ":" . $data_source_name . $graph_item_color_code . ":" . "\"" . $graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id] . "\" ";
---
> $txt_graph_items .= $graph_item_types{$graph_item["graph_type_id"]} . ":" . $data_source_name . $graph_item_color_code . ":" . cacti_escapeshellarg($graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id]) . " ";
1405c1396
< $txt_graph_items .= $graph_item_types{$graph_item["graph_type_id"]} . ":" . $graph_variables["value"][$graph_item_id] . $graph_item_color_code . ":\"" . $graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id] . "\" ";
---
> $txt_graph_items .= $graph_item_types{$graph_item["graph_type_id"]} . ":" . $graph_variables["value"][$graph_item_id] . $graph_item_color_code . ":" . cacti_escapeshellarg($graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id]) . " ";
1421c1412
< $txt_graph_items .= $graph_item_types{$graph_item["graph_type_id"]} . ":" . $value . $graph_item_color_code . ":\"" . $graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id] . "\" ";
---
> $txt_graph_items .= $graph_item_types{$graph_item["graph_type_id"]} . ":" . $value . $graph_item_color_code . ":" . cacti_escapeshellarg($graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id]) . " ";
1675c1666
< $xport_defs .= "DEF:" . generate_graph_def_name(strval($i)) . "=\"$data_source_path\":" . cacti_escapeshellarg($xport_item["data_source_name"], true) . ":" . $consolidation_functions[$xport_cf] . RRD_NL;
---
> $xport_defs .= "DEF:" . generate_graph_def_name(strval($i)) . "=" . cacti_escapeshellarg($data_source_path) . ":" . cacti_escapeshellarg($xport_item["data_source_name"], true) . ":" . $consolidation_functions[$xport_cf] . RRD_NL;
2009c2000
< $txt_xport_items .= "XPORT:" . $data_source_name . ":" . "\"" . str_replace(":", "", $legend_name) . "\"";
---
> $txt_xport_items .= "XPORT:" . $data_source_name . ":" . str_replace(":", "", cacti_escapeshellarg($legend_name)) ;
Who is online
Users browsing this forum: No registered users and 0 guests