Some Smartmon tools
Some Smartmon tools
Plesk upgrade produces error: Job for httpd.service failed because the control process exited with error code. See “systemctl status httpd.service” and “journalctl -xe” for details.
This information shows you how to Configure the Windows firewall to allow pings ICMP Ping.
When installing windows servers, there are constant alerts for:
Service “sppsvc” (Software Protection) is not running (startup type automatic delayed)
Service “RemoteRegistry” (Remote Registry) is not running (startup type automatic)
Service “MapsBroker” (Downloaded Maps Manager) is not running (startup type automatic delayed)
Service “IaasVmProvider” (IaasVmProvider) is not running (startup type automatic)
Service “WbioSrvc” (Windows Biometric Service) is not running (startup type automatic)
Service “VSS” (Volume Shadow Copy) is not running (startup type automatic)
Check Configuraton > Hosts > Server Name > Click on Discovery inline with server namre > Mounted filesystem discovery. Find “Keep lost resources period:. Change from 31d to 0d.
this has to do with the “Specifically to the Keep lost resources period” (in days) parameter.
If an entity is discovered by LLD, and then is either: removed; lost; or excluded by a filter, it is still kept in Zabbix for the duration of time defined by the Keep Lost Resources parameter (default is 30 days).
So, the changes were recognized in the next LLD cycle (1 hour), but the filtered entity was then considered “lost”, so would be kept for an additional 30 days. If I had waited that long, it would have finally disappeared.
Fortunately you can set that parameter to “0” and it will disappear after the next LLD cycle. Best not to leave that setting at “0” though, so reset back to “30” after LLD.
Follow this: https://documentation.cpanel.net/display/CKB/The+Let%27s+Encrypt+Plugin
The this for the icon in cpanel: https://premium.wpmudev.org/blog/free-ssl-https-cpanel/
Log into your SSH client at root level, then add the Let’s Encrypt repository with the following command:
cd /etc/yum.repos.d/ && wget https://letsencrypt-for-cpanel.com/static/letsencrypt.repo
Next, install the plugin for cPanel with line below and yum:
yum -y install letsencrypt-cpanel
yum -y install letsencrypt-cpanel Loaded plugins: fastestmirror, universal-hooks Loading mirror speeds from cached hostfile * EA4: 22.214.171.124 * cpanel-addons-production-feed: 126.96.36.199 * base: mirrors.usc.edu * extras: mirror.san.fastserv.com * updates: mirrors.xmission.com letsencrypt-cpanel | 2.9 kB 00:00:00 letsencrypt-cpanel/primary_db | 9.4 kB 00:00:00 Resolving Dependencies --> Running transaction check ---> Package letsencrypt-cpanel.x86_64 0:0.14.0-1 will be installed --> Finished Dependency Resolution Dependencies Resolved ====================================================================================================================================================== Package Arch Version Repository Size ====================================================================================================================================================== Installing: letsencrypt-cpanel x86_64 0.14.0-1 letsencrypt-cpanel 3.5 M Transaction Summary ====================================================================================================================================================== Install 1 Package Total download size: 3.5 M Installed size: 10 M Downloading packages: letsencrypt-cpanel-0.14.0-1.x86_64.rpm | 3.5 MB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction *** By running this installer, you indicate that you have read the end-user licence agreement (https://cpanel.fleetssl.com/eula) and agree to all of its terms, as stated. *** Running installer as root OS version OK cPanel version OK No licence file detected at /etc/letsencrypt-cpanel.licence Fetching new trial licence ... Licence file present Redirecting to /bin/systemctl stop letsencrypt-cpanel.service Failed to stop letsencrypt-cpanel.service: Unit letsencrypt-cpanel.service not loaded. FleetSSL cPanel service daemon stopped Installing : letsencrypt-cpanel-0.14.0-1.x86_64 1/1 This server has self-signed service certificates It is not safe to operate this plugin in this circumstance 'insecure' is being added to /etc/letsencrypt-cpanel.conf If you wish to generate a Let's Encrypt cert for the server Please read the configuration documentation on our website, at https://cpanel.fleetssl.com/docs/service-certificates/ Config written to /etc/letsencrypt-cpanel.conf Uninstallation of existing service failed (it's OK) Installed init scripts. Copied plugin files OK Installing cPanel paper_lantern plugin (may take a minute) ... cPanel Plugin installer succeeded OK Installed chkservd scripts Added apache pre virtualhost global include Set cpanel tweak settings --- Installation complete --- The plugin should now be available in the cPanel feature manager Will rebuild conf and restart Apache to reload AutoSSL DCV URLs Rebuilding Apache conf and restarting now ... Built /etc/apache2/conf/httpd.conf OK Verifying : letsencrypt-cpanel-0.14.0-1.x86_64 1/1 Installed: letsencrypt-cpanel.x86_64 0:0.14.0-1 Complete!
When updating wordpress, this error appears:
Error message: cURL error 28: Connection timed out after 10001 milliseconds
Resolution: Curl the site with the private IP and not the public IP. From inside the private network each server or device is known only by it’s private IP address and is always referenced using that address.
Also, on cpanel that is behind a firewall, you can check the file for the mappings:/var/cpanel/cpnat
Install Zabbix Agent
First, log into Zabbix agent instance and add the Zabbix repository with the following command:
Change version number for your zabbix version.
# wget http://repo.zabbix.com/zabbix/3.4/debian/pool/main/z/zabbix-release/zabbix-release_3.0-2+stretch_all.deb # sudo dpkg -i zabbix-release_3.0-2+stretch_all.deb # sudo apt-get update -y
Install the Zabbix agent by just running the following command:
# sudo apt-get install zabbix-agent -y
Once the Zabbix agent is installed, you will need to configure Zabbix agent to communicate with Zabbix server. You can do this by editing the Zabbix agent configuration file:
# sudo nano /etc/zabbix/zabbix_agentd.conf
Change the file as shown below:
#Zabbix Server IP Address / Hostname Server=192.168.0.103 #Zabbix Agent Hostname Hostname=zabbix-agent
Save and close the file when you are finished, then restart the Zabbix agent service and enable it to start on boot time with the following command:
# sudo systemctl restart zabbix-agent # sudo systemctl enable zabbix-agent
Add a domain like this for the primary domain:
The add the wildcard domain to that domain.
According to the following link, once you update the wildcard SSL for the domain/subscription “*.domain.com ” it will affect all subdomains.
How many apache connections are there?
# ps faux | grep '/usr/sbin/apache2' | wc -l
# ps faux | grep '/usr/sbin/httpd' | wc -l
/var/log/auth.log – All events related to authentication for the system.
In addition to the above, every Virtual Machine hosted on ESXi will have corresponding VM log files called vmware.log recording events related to machine activity, system failures, hardware changes, migrations, status and so on. To view the log file, SSH to the ESXi host and navigate to the datastore on which the VM folder resides.
The path to the log file should be similar to /vmfs/volumes///vwmare.log.
There are some adjustments you can make to the log rotation and logging options for a VM. Disable or enable logging: Set the logging value in the VM’s VMX file to false or true respectively. You can do this by editing the VM’s settings (VM Options -> Advanced -> Edit Configuration) in vSphere Web client as shown.