Tuesday, August 18, 2026

Nagios XI in Redhat Linux 8.10

[root@node1 ~]# rpm -Uvh https://repo.nagios.com/nagios/8/nagios-repo-8-2.el8.noarch.rpm

[root@node1 ~]#yum update

[root@node1 ~]# yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

[root@node1 ~]#subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
 
[root@node1 ~]# dnf install -y  nagiosxi
The next step is the web setup.
  • Open a browser and go to:
    http://your-server-ip/nagiosxi
  • 192.168.184.131 
  • The Nagios XI setup wizard will start.
 
Click Access Nagios XI
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 




Loki in Grafana

Tuesday, August 11, 2026

Terraform

https://developer.hashicorp.com/terraform/tutorials/aws-get-started/infrastructure-as-code

 

Click  Amazon Web Services à Create Infrastructure àShow Terminal àLunch and Start

 

==Installation=====

Click Install Terraform à Linux à CentOS/RHEL

 

root@staging ~]# sudo yum install -y yum-utils

[root@staging ~]# sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo

[root@staging ~]# sudo yum -y install terraform

 

[root@staging ~]# terraform –version 

 

[root@staging ~]# mkdir first

[root@staging ~]# cd first

[root@staging first]# vi main.tf

 

 

 

 

 

 

Note:

 

Change region west to east 

access_key                  = "test"
secret_key                  = "test"
 

[root@staging first]# terraform init

 

 [root@staging ~]# terraform plan

 

 

 

 

http://192.168.184.132:4500/cloud-explorer/aws/storage

 

 

 

 

 

 

For reference

 

 

Terraform Providers

https://registry.terraform.io/browse/providers

 

https://registry.terraform.io/providers/hashicorp/aws/latest/docs

 

 

 

resource "aws_instance" "example" {

  ami           = "resolve:ssm:/aws/service/ami-amazon-linux-latest/al2023-ami-kernel-default-x86_64"

  instance_type = "t3.micro"

 

  tags = {

    Name = "HelloWorld"

  }

}

 

Floci AMI id

https://floci.io/floci/services/ec2/

[root@staging ~]# vi mail.tf

resource "aws_instance" "example" {

  ami           = "ami-0abcdef1234567890"

  instance_type = "t3.micro"

 

  tags = {

    Name = "HelloWorld"

  }

}