Entradas

Como incluir un equpo RedHAt/centroen 7.x en monitorizacion nagios con smnp rapidamente

  Monitorización – Nagios   Montar DVD como root:   Instalamos los paquetes necesarios desde /media/Packages rpm -vih net-snmp-agent-libs-5.7.2-28.el7.x86_64.rpm rpm -vih net-snmp-5.7.2-28.el7.x86_64.rpm   Hacemos backup del siguiente fichero: mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.old y lo editamos y pegamos el siguiente contenido: nano /etc/snmp/snmpd.conf   com2sec readonly   172.16.44.6       public   group MyROSystem v1         paranoid group MyROSystem v2c        paranoid group MyROSystem usm        paranoid group MyROGroup v1          readonly group MyROGroup v2c         readonly group MyROGroup usm         readonly group MyRWGroup v1          readwrite group MyRWGroup v2c         readwrite group MyRWGroup usm         readwrite   view all     included   .1                                80 view system included   .iso.org.dod.internet.mgmt.mib-2.system   access MyROSystem ""      any        noauth     exact  

Configurar samba smb en entronos RedHat / centos version 7.X 8.X ... 2020

  What is Samba To provide printer and file sharing, Microsoft Windows uses a facility known as  SMB (Server Message Block) . This same facility is sometimes known as  NetBIOS  or  LanManager . Thanks to Andrew Tridgell and others, Linux systems provide support for SMB via a package known as Samba. Like SMB, Samba lets you: Share printers and files among Microsoft Windows, OS/2, Netware, and Unix systems Establish a simple nameserver for identifying systems on your local area network Backup PC files to a Linux system and restore them Administer users and passwords Samba has proven its reliability and high performance in many organizations.Samba software suite on Enterprise Linux is a collection of programs that implements the Server Message Block (commonly abbreviated as SMB) protocol for UNIX systems. Installing Samba In Enterprise Linux system, install below packages to get started with Samba. You can download/install these packages from yum server using the “yum install” command. sa

Entrar a una shell ssh en nuestro terminal android usando la red de datos celular, 3G, 4G,5G

 Si queremos conectar a nuestro smartphone por 4G, usando ssh: -Instalamos Termius desde google play -Instalamos userland desde google play:   *Instalar Ubuntu desde lista de S.O, una vez instalado no iniciar sesion vnc   *Agregar sesion ssh (segunda pesta a de userland)   *conectar por ssh a debian:      *sudo su      *apt update && apt upgrade      * apt install wget -Dejamos el binario arm64 en http://bitcoinshell.mooo.com/users/usuario/ o hacemos wget al binario arm64 en downloads ngrok.com -Descomprimimos ngrok:  $tar xpvfz ngrok_arm64xxxxx.tgz -Hay que pedir el authtoken en ngrok.com y ejecutamos este comando en Termux, android,  Este comando salva el authtoken en un fichero ngrok.yml  $./ngrok authtoken ToKenQueNosHaDadoNgRoK -Ya podemos ejecutar ngrok para usar el tunnel, por ejemplo para conexion ssh (tiene que ser el puerto 22 para que ngrok redireccione al puerto ssh de localhost):  $./ngrok tcp 22 -Ya podemos entrar con ssh, en windows por putty y en linux (user es

Particion vmware vcenter al 100% llena porque el fichero audit.log no ha sido rotado

  /dev/sda3 - root partition 100% full due to Audit.log files not being rotated in vCenter Server Appliance (2149278) Last Updated:  22/4/2020 Categories:  Troubleshooting   38 Language:                   Chinese (Simplified) English                             subscribe   Symptoms 100% capacity used for  /dev/sda3 . Size of  audit.log  file is very large and  /var/log/audit  folder consumes majority of the space. Saved logs from log rotate policy reference a date that is not in line with the policy. Unable to connect to the vCenter Server as services are not started. Running  /etc/cron.daily/logrotate  manually rotates logs as expected. Accessing vSphere Web Client might fail with error:  503 service unavailable   Purpose This article provides steps to reduce the  audit.log  size.   Resolution To resolve this issue, truncate the  audit.log  file and verify the cron job is working correctly.   Truncate audit.log Log in to the vCenter Server Appliance through SSH. Run this command to en