Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 63

Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 73

Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 89

Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 102

Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 111

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
Zabbix agent na RHEL 4U5 – Linux, Windows, Heklanje, Kuhinja

Zabbix agent na RHEL 4U5

RHEL 4U5 jeste stara verzija (veoma), ali je izuzetno stabilna, i zašto menjati ako sve radi kako treba? Takođe je u pitanju 32 bitna mašina…..
Ali svejedno je potrebno i te servere pratiti, i na njih staviti Zabbix agenta.
Evo lokacije 1 i lokacije 2 gde se mogu naći starije verzije Zabbix agenata.

Za RHEL4U5 potrebna je verzija agenta 1.4.5-2 (ili 1.4.6-1).

Instalacija
# rpm -ivh zabbix-agent-1.4.5-2.el4.i386.rpm
Ovime se na lokaciji /etc/zabbix kreiraju :
-rw-r–r– 1 root root 1121 May 2 2008 zabbix_agent.conf
-rw-r–r– 1 root root 2464 May 2 2008 zabbix_agentd.conf
Oba fajla se edituju.
zabbix_agent.conf :
Server=10.10.10.142
Timeout=3
zabbix_agentd.conf :
Server=10.10.10.142
Hostname=deponija-10.10.10.105
(Paziti ovde staviti ISTO kao i kod imena za host pod Zabbix serverom!!)
StartAgents=5
DebugLevel=3
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
Timeout=3

# service zabbix-agent start
Starting zabbix agent: [ OK ]

Da se podiže posle restarta servera :
# chkconfig zabbix-agent on

Kreirati host pod Zabbix serverom, i dodati mu “Template OS Linux”.
Na žalost, za ove stare agente nema stavki koje se odnose na količinu slobodnog prostora na particijama, što postoji za novije agente, od verzije 2.0 na dalje. Ti noviji agenti pri instalaciji zahtevaju i instalaciju kompletnog Zabbix-a.

Napomena : ni ne pokušavati sa novijim verzijama Zabbix agenta, jer one traže kompletan Zabbix iza sebe, i visoke verzije glibc SW, čega nema na ovim verzijama RHEL-a.

Testiranje
Sa Zabbix servera, probati konekciju ka hostu na kome je instaliran Zabbix agent :
# telnet 10.10.10.105 10050
Trying 10.10.10.105…
Connected to 10.10.10.105
Escape character is ‘^]’.
^]
agent.version
ZBXD1.4.5Connection closed by foreign host.
Italika deo se kuca u komandnoj liniji. Paziti!! Kucati VEOMA brzo, jer se konekcija zatvara.