Difference between revisions of "Cacti"
m (→Usage) |
Unnilennium (talk | contribs) (→Usage) |
||
(16 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Languages|Cacti}} | {{Languages|Cacti}} | ||
− | |||
==Maintainer== | ==Maintainer== | ||
+ | [mailto:tests@pialasse.com[[User:Unnilennium|Unnilennium]]] Thanks a lot for the upgrade<br /> | ||
+ | |||
[[User:MasterSleepy|Michel Van hees]]<br/> | [[User:MasterSleepy|Michel Van hees]]<br/> | ||
+ | === Version === | ||
+ | |||
+ | {{ #smeversion: smeserver-cacti }} | ||
+ | {{ #smeversion: cacti }} | ||
+ | |||
+ | |||
+ | |||
==Description== | ==Description== | ||
Line 11: | Line 19: | ||
==Installation== | ==Installation== | ||
− | + | <tabs container><tab name="For SME 10"> | |
− | |||
− | |||
− | |||
− | + | yum install smeserver-cacti --enablerepo=smecontribs | |
− | yum | ||
− | + | then get admin password | |
− | yum | + | 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 | ||
+ | |||
+ | 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 | ||
+ | </tab> | ||
+ | </tabs> | ||
+ | |||
+ | then go to to https://SMEIP/cacti | ||
==Uninstall== | ==Uninstall== | ||
− | yum remove smeserver-cacti | + | yum remove smeserver-cacti |
==Usage== | ==Usage== | ||
Line 30: | 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 47: | Line 70: | ||
signal-event console-save | 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 [http://bugs.contribs.org/enter_bug.cgi bugzilla] | ||
+ | and select the smeserver-cacti component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-cacti|title=this link}} | ||
+ | |||
+ | {{#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}} | ||
+ | |||
---- | ---- | ||
[[Category: Contrib]] | [[Category: Contrib]] | ||
− | [[Category: Administration]] | + | [[Category: Administration:Monitoring]] |
Latest revision as of 06:28, 28 July 2022
Maintainer
Unnilennium Thanks a lot for the upgrade
Version
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
Changelog
Only released version in smecontrib are listed here.
- 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- fix sql init [SME: 10972]
dedicated php-fpm pool 74
update event
ldap available
auto install install_cacti.php --accept-eula --install
- update to cacti-1.1.19 [SME: 8434]
- new version for cacti-0.8.8h-1 [SME: 8434]
- update version Required