Jump to content

  • Latest Blog Posts

  • Blog Entries

    • By rev.dennis in K8 Strong the Jouney
      We now begin some aggressive treatment starting off with bloodwork, lumbar puncture and then chemotherapy.
      You have probably seen that Kate has had several Lumbar Punctures and may not know what it is.
      Bloodwork results will get added to the calendar date for today.
      Good news is Dr.Yang said she is doing better and the bone marrow biopsy showed no signs of Leukemia but that doesn't mean its gone and it just means its not visible through the testing they are doing currently but they will continue to attack Leukemia via the scheduled treatment and in a few weeks they will do a test that checks the blood more closely to see if any Leukemia cells are present.
      He (Dr. Yang) mentioned the next few weeks are going to be very rough on Kate.  Her blood counts are going to be at very very low numbers so she will definitely feel nauseous (which she doesn't like at all) and faint as well as very tired.  She is getting introduced to several new medicines which I'll add here as soon as I have them.
      I mentioned to Kate that she can always catch up on sleep on the drive down or the drive back since its 75 miles to the doctor and 75 miles back.  Saving grace is gas prices are down right now or we would be hurting more than we already are.
      Thank you for your prayers and support. They are working...
    • By rev.dennis in Monitoring Tools
      Ran into a ton of issues using Cacti (mainly no one really supports the templates, plugins, etc for F5) so I'm trying a different flavor of monitoring solution called Zabbix which is another open source monitoring solution that has a few articles referencing F5 and a lot of the articles I'm finding are more recent (2017 and newer) where Cacti was pre 2017.
      So let's start with some instructions
      Install the Zabbix Repository
      Download the RPM
      wget https://repo.zabbix.com/zabbix/4.4/rhel/7/x86_64/zabbix-release-4.4-1.el7.noarch.rpm --no-check-certificate Install the RPM
      rpm -Uvh zabbix-release-4.4-1.el7.noarch.rpm No longer will PHP 5.x work..  which I had to downgrade my box to PHP 5 for Cacit but Zabbix wants PHP 7.2 or newer so we need to do some work here.  NOTE: this will probably break Cacti if you have it running
      Disable PHP 5 repositories
      yum-config-manager --disable remi-php54 Enable PHP 7.2 repo.
      yum-config-manager --enable remi-php72 Clean up yum
      yum clean all Install PHP
      yum install -y php php-pear php-cgi php-common php-mbstring php-snmp php-gd php-pecl-mysql php-xml php-mysql php-gettext php-bcmath Modify the PHP time Zone by editing the php.ini file.
      vim /etc/php.ini Uncomment the following line and add your time zone (note: if you already had php configured like I did for Cacti, even with an older version, then this is probably already set for you)
      date.timezone = America/Detroit Install MariaDB
      Check to see if you have mariadb installed
      mysql -u root -p (if you get prompt to Enter password then its installed and you don't need to do this)
      If you don't have mariadb installed on your server then run the following command.
      yum --enablerepo=remi install mariadb-server Start the MariaDB service.
      systemctl start mariadb.service Enable MariaDB on system boot.
      systemctl enable mariadb Run the following command to secure MariaDB.
      mysql_secure_installation Add a new root password and continue. Then it will ask a few questions. Type “Y” to agree to that.
      Configure Database for Zabbix
      Create a the zabbix database
      mysql -u root -p password create database zabbix character set utf8 collate utf8_bin; create user 'zabbixuser'@'localhost' identified BY 'OMGsup3Rs3cret!!'; grant all privileges on zabbix.* to zabbixuser@localhost identified by 'OMGsup3Rs3cret!!'; flush privileges; quit; On Zabbix server host import initial schema and data. You will be prompted to enter your newly created password.
      cd /usr/share/doc/zabbix-server-mysql-4.4.6/ Import the MySQL file
      zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -u zabbixuser -p zabbix Configure the database for Zabbix server
      vim /etc/zabbix/zabbix_server.conf Modify the following parameters
      DBHost=localhost DBName=zabbix DBUser=zabbixuser DBPassword=OMGsup3Rs3cret!! Then save and exit the file. Restart Zabbix service.
      systemctl status zabbix-server.service Enable Zabbix on system boot.
      systemctl enable zabbix-server.service Modify firewall rules.
      firewall-cmd --add-service={http,https} --permanent firewall-cmd --add-port={10051/tcp,10050/tcp} --permanent firewall-cmd --reload Now restart httpd service.
      systemctl restart httpd Install Zabbix and any needed dependencies
      Use YUM to install Zabbix server, frontend and agent
      yum -y install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-get Configure Zabbix
      Update the Time Zone
      vim /etc/httpd/conf.d/zabbix.conf Uncomment php_value date.timezone and add your correct timezone (for me its America/Detroit)
      Restart HTTPD service
      systemctl restart httpd.service Setup Zabbix
      You can access Zabbix using following URL:
      http://Server-Host-Name Or IP /zabbix/
      You should see the welcome page.
      The default login name is “Admin” and password is “zabbix”. You will go to the Zabbix Dashboard.
      YES the user and password are case sensitive so please remember to use a capital A for Admin
    • By guru in Monitoring Tools
      Seems like this should be easy, especially since there is a yum install for cacti but oh no, nothing is what it seems.  If you follow the below instructions (well as of January 2020) then you have a good chance at being successful.  Please note, this is best case and no guarantee it will work but it worked for me.  This also will help me keep track of some helpful commands I used for the future.
      Open and edit SELinux configuration file.
      vim /etc/sysconfig/selinux Change  SELINUX=enforcing to SELINUX=disabled. Save and exit. Reboot system
      reboot ENABLE REPOS (where you need software installed from)
      Head over to the Fedora website and copy the latest download link of the latest file.
      Download the EPEL repository:
      wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm --no-check-certificate Install EPEL repository
      rpm -Uvh epel-release-latest-7.noarch.rpm Download the REMI repository:
      wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm --no-check-certificate Install REMI repository
      rpm -Uvh remi-release-7.rpm List repositories.
      yum repolist Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * base: centos.host-engine.com * centos-sclo-rh: bay.uchicago.edu * centos-sclo-sclo: linux.mirrors.es.net * epel: fedora-epel.mirror.lstn.net * extras: centos.sonn.com * remi-safe: fr2.rpmfind.net * updates: centos.mirrors.hoobly.com repo id repo name status Tuleap/x86_64 Tuleap 65 base/7/x86_64 CentOS-7 - Base 10,097 centos-sclo-rh/x86_64 CentOS-7 - SCLo rh 8,968 centos-sclo-sclo/x86_64 CentOS-7 - SCLo sclo 878 cwp/x86_64 CentOS Web Panel repo for Linux 7 - x86_64 76 epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,212 extras/7/x86_64 CentOS-7 - Extras 335 mariadb MariaDB 85 remi-safe Safe Remi's RPM repository for Enterprise Linux 7 - x86_64 3,690 updates/7/x86_64 CentOS-7 - Updates 1,487 repolist: 38,893 Install APACHE
      Install Apache and start the service.  Now I thought I could just install httpd but boy was I wrong. You need that httpd-devel to make things happen with cacti which is another reason you need to enable both repositories.
      yum install -y httpd httpd-devel You can confirm install by running
      httpd -v Server version: Apache/2.4.6 (CentOS) Server built:   Aug  8 2019 11:41:18 Now lets make it active by starting Apache
      systemctl start httpd Install SNMP and RRDTool
      To install SNMP and RRD Tool, enter the following command:
      yum  install -y net-snmp net-snmp-utils net-snmp-libs rrdtool Start SNMP.
      systemctl start snmpd Install Maria Database Server
      Use the following command to install the MariaDB server
      yum -y install mariadb-server Now start MariaDB Service
      systemctl start mariadb Secure MariaDB Installation by running:
      mysql_secure_installation Set root password? [Y/n] Y Remove anonymous users? [Y/n] Y Disallow root login remotely? [Y/n] Y Remove test database and access to it? [Y/n] Y Reload privilege tables now? [Y/n] Y Install PHP and needed packages
      Run the following command to install necessary PHP and required packages.
      yum --enablerepo=remi install -y php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli php-intl php-snmp To see what version of php your system is running, run the following
      php -v PHP 5.4.45 (cli) (built: Oct 22 2019 13:26:02) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies You can see what modules (packages) that are installed by running
      php -m [PHP Modules] bz2 calendar Core ctype curl date dom ereg exif fileinfo filter ftp gd gettext gmp hash iconv intl json ldap libxml mbstring mhash mysql mysqli openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix readline Reflection session shmop SimpleXML snmp sockets SPL sqlite3 standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter xsl zip zlib [Zend Modules] Create a Cacti Database
      Import the timezone sql file
      mysql -u root -p mysql < /usr/share/mysql/mysql_test_data_timezone.sql Log in to the database server with the previously configured password you used when you secured your installation
      mysql -u root -p Create a Database and user.
      MariaDB [(none)]> create database zahlinuxcacti; MariaDB [(none)]> CREATE USER 'zahlinuxuser'@'localhost' IDENTIFIED BY 'OMGsup3Rs3creT!!'; Grant permission and flush privileges.
      MariaDB [(none)]> grant all privileges on zahlinuxcacti.* to zahlinuxuser@localhost ; MariaDB [(none)]> GRANT SELECT ON mysql.time_zone_name TO zahlinuxuser@localhost ; MariaDB [(none)]> FLUSH PRIVILEGES; Optimize Database
      We need to modify database parameters for better performance. Use the following command.
      vim /etc/my.cnf.d/server.cnf Add the following lines to the [mysqld] section.
      [mysqld] collation-server = utf8mb4_unicode_ci init-connect='SET NAMES utf8' character-set-server = utf8mb4 max_heap_table_size = 128M max_allowed_packet = 16777216 tmp_table_size = 64M join_buffer_size = 128M innodb_file_per_table = on innodb_file_format = Barracuda innodb_large_prefix = 1 innodb_buffer_pool_size = 932M innodb_doublewrite = on innodb_additional_mem_pool_size = 80M innodb_lock_wait_timeout = 50 innodb_flush_log_at_trx_commit = 2 innodb_flush_log_at_timeout = 3 innodb_read_io_threads = 32 innodb_write_io_threads = 16 innodb_io_capacity = 5000 innodb_io_capacity_max = 10000 Now that you made changes to the MariaDB config, you gotta restart them services
      systemctl restart mariadb.service Install and configure Cacti
      Now that you did all the prep work, let's install Cacti now using YUM.
      yum -y install cacti Import default cacti database file to the created database.
      cd /usr/share/doc/cacti-1.2.10/ Import the SQL file provided by cacti
      mysql -u root -p  zahlinuxcacti < cacti.sql Edit the Cacti configuration file which includes a database, password details etc.
      vim /usr/share/cacti/include/config.php Modify database details.
      $database_type     = 'mysql'; $database_default  = 'zahlinuxcacti'; $database_hostname = 'localhost'; $database_username = 'zahlinuxuser'; $database_password = 'OMGsup3Rs3cret!!'; $database_port     = '3306'; $database_ssl      = false; Set Cron for Cacti
      Open cacti cron file.
      vim /etc/cron.d/cacti Uncomment the following line.
      */5 * * * *     apache  /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1 Save and exit the file
      Configure Apache for Cacti
      This will help us to do a remote installation. Edit the cacti config file.
       vim  /etc/httpd/conf.d/cacti.conf Change  “Require host localhost” to “Require all granted” and “Allow from localhost” to “Allow from all.”
      Here is an example of what I have (not positive its correct but it does work for me)
      Alias /cacti /usr/share/cacti/ <Directory /usr/share/cacti/>          <IfModule mod_authz_core.c>                  # httpd 2.4                  Require all granted          </IfModule>          <IfModule !mod_authz_core.c>                  # httpd 2.2                  Order deny,allow                  Deny from all                  Allow from all          </IfModule> </Directory> <Directory /usr/share/cacti/install> </Directory> Change Time Zone.
      vim /etc/php.ini date.timezone = your time Zone E.g.:- date.timezone = Australia/Sydney Restart apache
      systemctl restart httpd.service Restart MariaDB
      systemctl restart mariadb.service Restart SNMP
      systemctl restart snmpd.service Configure the Firewall
      Use these commands:
      firewall-cmd --permanent --zone=public --add-service=http firewall-cmd --reload Start Cacti installation
      Open a web browser and use the following URL to access Cacti web interface.
      License Agreement: click Accept GPL License Agreement and click Begin
      Pre-installation checks. Click next if there are no issues.
      Next window is Installation Type. It will show Database connection details. Click Next to continue.
      Verify Critical Binary Locations and Versions and then click next.
      Verify Directory Permissions and continue.
      In the Template Setup window, you can select all templates, and click finish to the complete installation.  IMPORTANT: as of Cacti 1.2.10 you will get a screen like the one below that has a blank line with a checkmark to the far right.  Uncheck this box or what will happen is your install will get to 42% and hang there forever.  Only way I figured out how to start the install over again was delete the entire cacti database and re-create database, import sql, create user etc..

      After the installation, it will redirect to Login Page.
      Using default user name “admin” and default password “admin” you can log in to Cacti server. You should be asked to change the password after that.
      Change Password and click save. Then you should see the Cacti Dashboard.
      You can add new devices from Managemnt-> Devices Then click plus mark “+” on top of the right-hand corner.
      That’s it! You have successfully configured Cacti 1.2.10 on CentOS 7!
    • By rev.dennis in K8 Strong the Jouney
      We are now into Week 5 of the Treatment and this is a non-chemo week but tomorrow (Tuesday) they will still need to do a bone marrow biopsy.  So far, now time off for Kate since Leukemia isn't taking any time off.  So with every curve and punch cancer is dishing out to Kate she fights right back by taking the medicine, toughing through the bone marrow biopsies and lumbar punctures.
      She is noticing what was very easy for her to do is becoming more difficult like swallowing pills.  She has to take so many that it's starting to wear on her.
      We also have been told that I can not go in with her due to this corona virus going around.  So I must find a place that hasn't been shutdown to hang out.  Probably be a parking lot.  Will keep you all posted as I find out details myself.
    • By rev.dennis in K8 Strong the Jouney
      It’s 3am on 2/17/2020 and we are in a room on the 9th floor in Karmanos Cancer Facility in Detroit.
      This is the beginning of the Induction process which in short means the beginning of chemo treatments while keeping a close eye on Kate during the process.  The doctor believes this will take less than a week this visit but the Induction process is typically a week.
      There are four phases to chemotherapy treatment:
      The first phase is called Remission Induction. Treatment during this phase is designed to kill the leukemic cells in the blood and the bone marrow, putting the disease into remission. The second phase is Central Nervous System Directed Therapy. This phase kills cancer cells in the central nervous system and prevents the disease from spreading to the spinal fluid. The Consolidation/Intensification phase is given after the disease is considered to be in remission. It's designed to kill remaining leukemic cells that may be inactive but could begin growing again and cause the leukemia to recur. This phase usually lasts several months. The maintenance phase is the final phase of treatment that lasts for two to three years. It's used to kill any remaining cells that could cause a recurrence. Medications are often given at lower doses. stay tuned for more updates
  • Create New...