Wednesday, October 18, 2017

.::: Install Cacti 1.0.x on Centos 7/Rhel 7 Using MariaDB :::.

Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering. There is also SNMP support for those used to creating traffic graphs with MRTG.

UPDATE:
Since new release is out, I added the procedures for upgrading cacti 1.0.1 to 1.0.x; and from 1.0.x to 1.1.x
1. Disable SELinux
[root@TeguhLab data]# cat /etc/selinux/config | grep SELINUX
# SELINUX= can take one of these three values:
SELINUX=disabled
# SELINUXTYPE= can take one of three two values:
SELINUXTYPE=targeted
[root@TeguhLab data]#

Monday, October 16, 2017


Thursday, October 12, 2017

.::: Install MariaDB 10.1 On Centos/Rhel 7 Using Yum Repository :::.

MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source. Notable users include Wikipedia, WordPress.com and Google.

MariaDB turns data into structured information in a wide array of applications, ranging from banking to websites. It is an enhanced, drop-in replacement for MySQL. MariaDB is used because it is fast, scalable and robust, with a rich ecosystem of storage engines, plugins and many other tools make it very versatile for a wide variety of use cases.

MariaDB is developed as open source software and as a relational database it provides an SQL interface for accessing data. The latest versions of MariaDB also include GIS and JSON features.

1. Add MariaDB Yum Repository
Start by adding the MariaDB YUM repository file MariaDB.repo for RHEL/CentOS and Fedora systems.
# vi /etc/yum.repos.d/MariaDB.repo

Now add the following lines to your respective Linux distribution version as shown.

On CentOS 7

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

.::: Troubleshoot Error 'X-Frame-Options' to 'sameorigin'or Load denied by X-Frame-Options does not permit cross-origin framing :::.

some application. You can't change the web security setting in Application. The only way to add or remove header options would be to proxy it, e.g with haproxy. Troubleshoot Error 'X-Frame-Options' to 'sameorigin'or Load denied by X-Frame-Options does not permit cross-origin framing

1. Log Error
Error 'X-Frame-Options' to 'sameorigin'or Load denied by X-Frame-Options does not permit cross-origin framing

Thursday, October 5, 2017

.:: Generate Triger Alarm Alcatel Lucent/Nokia 7750, 7450, 7210, 7705 :::.


1. Check snmp & snmptrap community
A:TeguhRouter# show system security snmp community

==============================================================================
Communities
==============================================================================
community           access  view                version   group name
------------------------------------------------------------------------------
cli-li-readwrite    n/a     li-view             v2c       cli-li-readwrite
cli-readonly        r       iso                 v2c       cli-readonly
cli-readwrite       rw      iso                 v2c       cli-readwrite
public              r       no-security         v1 v2c    snmp-ro
public              n/a     n/a                 v2c       snmp-trap
teguht              rwa     iso                 v2c       snmp-rwa
------------------------------------------------------------------------------
No. of Communities: 9
==============================================================================
A:TeguhRouter# show log snmp-trap-group       

Popular Posts