Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Jun 26, 2017 5:19 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 111 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next
Author Message
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Thu Sep 04, 2014 3:38 am 
Offline

Joined: Wed Sep 03, 2014 8:13 pm
Posts: 1
[quote="cigamit"]CactiEZ 0.7 has been released. You can find the release announcement here [url=http://blog.cactiusers.org/2012/10/14/cactiez-0-7-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/CentOS/x86_64/repodata/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


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Thu Sep 04, 2014 12:00 pm 
Offline

Joined: Mon Jul 14, 2014 1:51 pm
Posts: 37
Location: Buenos Aires - Argentina
that's wired. I just tried myself and it works fine.
Cat your ezcacti config file. It should be like this

Quote:
[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:
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:
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


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Mon Sep 15, 2014 2:43 pm 
Offline

Joined: Mon Jul 14, 2014 1:51 pm
Posts: 37
Location: Buenos Aires - Argentina
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!


Attachments:
rrd.txt [91.25 KiB]
Downloaded 258 times

_________________
Code:
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:
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
Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Fri Sep 19, 2014 10:20 am 
Offline

Joined: Fri Sep 19, 2014 8:31 am
Posts: 1
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


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Tue Sep 23, 2014 10:01 pm 
Offline

Joined: Tue Sep 23, 2014 9:47 pm
Posts: 9
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


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Wed Sep 24, 2014 1:25 am 
Offline

Joined: Tue Sep 23, 2014 9:47 pm
Posts: 9
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


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Wed Sep 24, 2014 8:07 am 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 2562
Location: B/CS Texas
Import the SQL file that came with router configs

_________________
CactiEZ CD


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Wed Sep 24, 2014 10:32 pm 
Offline

Joined: Tue Sep 23, 2014 9:47 pm
Posts: 9
cigamit wrote:
Import the SQL file that came with router configs


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?

Thank you in advance
DQM


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Mon Sep 29, 2014 9:46 pm 
Offline

Joined: Tue Sep 23, 2014 9:47 pm
Posts: 9
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


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Sun Oct 26, 2014 9:56 pm 
Offline

Joined: Tue Sep 23, 2014 9:47 pm
Posts: 9
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.


Attachments:
Flowview schedule.JPG
Flowview schedule.JPG [ 52.24 KiB | Viewed 5034 times ]
Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Fri Dec 05, 2014 12:07 pm 
Offline

Joined: Tue Jul 15, 2014 3:39 am
Posts: 34
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.
Code:
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...


I then opened up the /etc/xinetd.conf file and amended from:
Code:
log_on_failure = ATTEMPTS HOST USERID RECORD

to:
Code:
log_on_failure = ATTEMPTS HOST USERID


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:
Code:
# 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
}


I then did a chkconfig --list | grep tftp
and got the response
Code:
tftp:  on


The did a netstat -antup | grep 69
and got no response .

checked the same command on CactiEZ0.6 and got the response
Code:
udp   0   0.0.0.0:69   0.0.0.0:*


The iptables on CactiEZ0.7 is configured as:
Code:
# 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

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.


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Tue Dec 09, 2014 12:12 pm 
Offline

Joined: Tue Jul 15, 2014 3:39 am
Posts: 34
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?


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Sun Jan 04, 2015 9:24 pm 
Offline

Joined: Mon Mar 14, 2005 3:14 pm
Posts: 7
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


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Tue Jan 06, 2015 10:22 am 
Offline

Joined: Tue Jul 15, 2014 3:39 am
Posts: 34
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


I used a bit torrent application to download the file, could never get it to work from the link.


Top
 Profile  
 
 Post subject: Re: CactiEZ 0.7 Released
PostPosted: Mon Jan 19, 2015 6:03 am 
Offline

Joined: Tue Mar 26, 2013 2:15 pm
Posts: 8
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)
Quote:
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)) ;


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 111 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group