Mostrando postagens com marcador Zabbix. Mostrar todas as postagens
Mostrando postagens com marcador Zabbix. Mostrar todas as postagens

Zabbix 7.0 agent2 oracle linux

 Oracle linux 8

/etc/yum.conf

enableproxy=1
proxy=http://10.20.0.4:3128

 

Install Zabbix repository

rpm -Uvh https://repo.zabbix.com/zabbix/7.0/oracle/8/x86_64/zabbix-release-latest-7.0.el8.noarch.rpm
 

dnf clean all
 

Install Zabbix agent 2

dnf install zabbix-agent2  

Remove zabbix agent

dnf remove zabbix-agent

Zabbix jqzabbix API login error

Edit file plugins/jqzabbix.js/jqzabbix.js, and change default params in function createAjaxOption()
to:
// default params if (method != 'user.login') {
params = $.extend({
extendoutput : true,
limit : options.limit
}, params);
}

Zabbix remote ping check


I’ve had my Zabbix install set up to notify me if the remote server has a high ping using this expression:

{__Remote_Hosts:icmppingsec.avg(30)}>120

The problem is, if your network is congested, it can really hit often. I recommend moving the failed ping average up to 500, and adding another trigger:

{__Remote_Hosts:icmpping.max(120)}<1

This checks for no ping within 120 seconds (or 2 minutes) so it gives you a better idea if the host is "down" or just seeing a high ping latency.

Zabbix collect vSphere info

1) Create vSphere host
2) Add 3 macros:
- {$USERNAME} - username which has an administrative privileges on VMware
- {$PASSWORD) - password for username
- {$URL} - https://10.10.10.10/sdk (where 10.10.10.10 is the address of vSphere host, not VMware supervisor)
- {$UUID} - vsphere UUID - https://host/mob/?moid=ha-host&doPath=hardware.systemInfo
3) Add 3 templates to vSphere host:
- Template Virt VMware
- Template Virt VMware Guest
- Template Virt VMware Hypervisor

Enable Object Browser in vSphere 6.x

Starting with vSphere 6.0 the Managed Object Browser is disabled by default to avoid malicious configuration changes or actions. You can enable and disable the Managed Object Browser manually.

To enable or disable the Managed Object Browser by using the vSphere Client connected directly to the ESXi host, complete the following steps:

1 - In the vSphere Client, select the host in the inventory.
2 - In the right pane, click the Configuration tab.
3 - Under Software, select Advanced Settings.
4 - From the left pane of the Advanced Settings dialog box, select Config > HostAgent > plugins > solo.
5 - Select or deselect Config.HostAgent.plugins.solo.enableMob to enable or disable the Managed Object Browser.

To enable or disable the Managed Object Browser by using the vSphere Web Client, complete the following steps:

1 - Browse to the host in the vSphere Web Client navigator.
2 - On the Manage tab and click Settings.
3 - Under System, select Advanced System Settings.
4 - Select the Config.HostAgent.plugins.solo.enableMob option and click Edit to enable or disable the Managed Object Browser.

Ubuntu Unsupported upgrades

 Unsupported upgrades Sometimes do-release-upgrade isn't able to run the upgrade to the latest version and it shows an error similar t...

Mais vistos