Difference between revisions of "Cacti"

From SME Server
Jump to navigationJump to search
 
(6 intermediate revisions by 2 users not shown)
Line 19: Line 19:
  
 
==Installation==
 
==Installation==
 +
<tabs container><tab name="For SME 10">
  
 +
yum install smeserver-cacti --enablerepo=smecontribs
 +
 +
then get admin password
 +
config getprop cacti AdminPassword
 +
 +
and you are ready to log as cacti admin user with "admin" and this password, or as a regular user of your sme thanks to ldap login.
 +
 +
</tab><tab name="For SME 9">
  
 
  yum install smeserver-cacti --enablerepo=smecontribs
 
  yum install smeserver-cacti --enablerepo=smecontribs
Line 32: Line 41:
 
  service mysql.init restart
 
  service mysql.init restart
 
  signal-event console-save
 
  signal-event console-save
 +
</tab>
 +
</tabs>
 +
 +
then go to to https://SMEIP/cacti
  
 
==Uninstall==
 
==Uninstall==
Line 41: Line 54:
  
 
A login and a password is needed to connect.
 
A login and a password is needed to connect.
By default, installation process create a user "admin" with "admin" as password.
+
By default, installation process create a user "admin" with "admin" as password for SME9 and below ('''Of course, the first thing you have to do, is to change it'''), but password is now stronger with SME10, get it from cli and this one is generated for you :
 
+
config getprop cacti AdminPassword
'''Of course, the first thing you have to do, is to change it'''
 
  
 
==Settings==
 
==Settings==
Line 58: Line 70:
 
  signal-event console-save
 
  signal-event console-save
  
==Additional information==
+
== Input Validation Whitelist Protection ==
*[http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=viewdownloaddetails&lid=319 MasterSleepy Web site]
+
 
 +
* '''''php -q input_whitelist.php --audit''''' - This script option will search for any Data Input Methods that are currently banned and provide details as to why.
 +
* '''''php -q input_whitelist.php --update''''' - This script option un-ban the Data Input Methods that are currently banned.
 +
* '''''php -q input_whitelist.php --push''''' - This script option will re-enable any disabled Data Sources.
  
 +
=== Manual for Cacti ===
 +
https://www.cacti.net/downloads/docs/html/index.html
  
 
=== Bugs ===
 
=== Bugs ===
Line 67: Line 84:
  
 
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-cacti|noresultsmessage="No open bugs found."}}
 
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-cacti|noresultsmessage="No open bugs found."}}
 +
 +
===Changelog===
 +
Only released version in smecontrib are listed here.
 +
 +
{{ #smechangelog: smeserver-cacti}}
  
  

Latest revision as of 06:28, 28 July 2022


Maintainer

Unnilennium Thanks a lot for the upgrade

Michel Van hees

Version

Contrib 10:
Contrib 9:
smeserver-cacti
The latest version of smeserver-cacti is available in the SME repository, click on the version number(s) for more information.


Contrib 10:
Contrib 9:
cacti
The latest version of cacti is available in the SME repository, click on the version number(s) for more information.




Description

Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices.

Installation

yum install smeserver-cacti --enablerepo=smecontribs

then get admin password

config getprop cacti AdminPassword

and you are ready to log as cacti admin user with "admin" and this password, or as a regular user of your sme thanks to ldap login.

yum install smeserver-cacti --enablerepo=smecontribs

then

signal-event post-upgrade ; signal event-reboot

alternatively you can issue to avoid reboot :

/etc/e-smith/events/actions/initialize-default-databases
expand-template /etc/e-smith/sql/init/80cacti
service mysql.init restart
signal-event console-save

then go to to https://SMEIP/cacti

Uninstall

yum remove smeserver-cacti

Usage

You can access cacti interface by opening your web browser at the address:

https://[IP or NAME]/cacti

A login and a password is needed to connect. By default, installation process create a user "admin" with "admin" as password for SME9 and below (Of course, the first thing you have to do, is to change it), but password is now stronger with SME10, get it from cli and this one is generated for you :

config getprop cacti AdminPassword

Settings

By default, installation process limit access at cacti to local network.

To enable cacti to be access from internet and local network :

db configuration setprop cacti access public
signal-event console-save

To limit access to local network :

db configuration setprop cacti access private
signal-event console-save

Input Validation Whitelist Protection

  • php -q input_whitelist.php --audit - This script option will search for any Data Input Methods that are currently banned and provide details as to why.
  • php -q input_whitelist.php --update - This script option un-ban the Data Input Methods that are currently banned.
  • php -q input_whitelist.php --push - This script option will re-enable any disabled Data Sources.

Manual for Cacti

https://www.cacti.net/downloads/docs/html/index.html

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-cacti component or use this link


"No open bugs found."

Changelog

Only released version in smecontrib are listed here.

smeserver-cacti Changelog: SME 10 (smecontribs)
2022/07/31 Jean-Philippe Pialasse 1.1.19-3.sme
- fix cacti prevents mariadb105 to start

2022/07/25 Jean-Philippe Pialasse 1.1.19-2.sme
- update httpd 2.4 to syntax [SME: 12039]
- initial import to SME10 [SME: 11307]

 cacti-1.2.21
dedicated php-fpm pool 74
update event
ldap available
auto install install_cacti.php --accept-eula --install
- fix sql init [SME: 10972]
2019/12/11 Jean-Philipe Pialasse 1.1.19-1.sme
- update to cacti-1.1.19 [SME: 8434]
2016/06/10 Jean-Philipe Pialasse 0.8.8h1-2.sme
- new version for cacti-0.8.8h-1 [SME: 8434]
2016/06/09 Jean-Philipe Pialasse 0.8.8b1-2.sme
- update version Required