{"id":2203,"date":"2019-06-26T16:06:26","date_gmt":"2019-06-26T14:06:26","guid":{"rendered":"http:\/\/les-fougs.com\/wordpress\/?p=2203"},"modified":"2019-06-27T08:14:35","modified_gmt":"2019-06-27T06:14:35","slug":"install-zabbix-linux-oracle-rhel-5","status":"publish","type":"post","link":"http:\/\/les-fougs.com\/wordpress\/2019\/06\/26\/install-zabbix-linux-oracle-rhel-5\/","title":{"rendered":"Install Zabbix Linux oracle RHEL 5"},"content":{"rendered":"<p>useradd -r zabbix<br \/>\nmkdir \/etc\/zabbix\/<\/p>\n<p><em>repository zabbix http:\/\/repo.zabbix.com\/zabbix\/3.2\/<\/em><\/p>\n<pre>RHEL5 : rpm -Uvh <a href=\"http:\/\/repo.zabbix.com\/zabbix\/3.2\/rhel\/5\/x86_64\/zabbix-agent-3.2.0-1.el5.x86_64.rpm\">http:\/\/repo.zabbix.com\/zabbix\/3.2\/rhel\/5\/x86_64\/zabbix-agent-3.2.0-1.el5.x86_64.rpm<\/a>\r\n\r\nyum install zabbix-agent<\/pre>\n<p>scp root@vlbid41x.ft.grp:\/usr\/bin\/zabbix* \/usr\/bin\/<br \/>\nscp root@vlbid41x.ft.grp:\/usr\/sbin\/zabbix* \/usr\/sbin\/<br \/>\nscp root@vlbid41x.ft.grp:\/etc\/zabbix\/zabbix_agentd.conf \/etc\/zabbix\/<\/p>\n<p>cd \/exploit\/scripts<\/p>\n<p>scp admse_efougere@wctsrv0011.wabtec.com:\/exploit\/scripts\/zab_*.sh .<\/p>\n<p>vim \/etc\/zabbix\/zabbix_agentd.conf<\/p>\n<pre>Hostname=WCTSRV00XX.wabtec.com\r\nListenIP=10.129.32.XX\r\nUserParameter=zab_mem_free,\/exploit\/scripts\/zab_mem_free.sh\r\nUserParameter=zab_proc_mem[*],\/exploit\/scripts\/zab_proc_mem.sh $1\r\nUserParameter=zab_proc_cpu[*],\/exploit\/scripts\/zab_proc_cpu.sh $1\r\nUserParameter=zab_test_port[*],\/exploit\/scripts\/zab_test_port.sh $1 $2<\/pre>\n<p>service zabbix-agent start<\/p>\n<p>&#8212;&#8211; log dans :<br \/>\ncat \/exploit\/logs\/zabbix_agentd.log<\/p>\n<h2>Test the proper operation of the agent<\/h2>\n<p>Connect on<strong>\u00a0vmoni<\/strong>\u00a0with root account<\/p>\n<p>cd \/usr\/local\/bin<\/p>\n<p>root@vmoni:~#\u00a0<strong>zabbix_get -p 10050 -k agent.version -s<\/strong>\u00a0<em>servername<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>useradd -r zabbix mkdir \/etc\/zabbix\/ repository zabbix http:\/\/repo.zabbix.com\/zabbix\/3.2\/ RHEL5 : rpm -Uvh http:\/\/repo.zabbix.com\/zabbix\/3.2\/rhel\/5\/x86_64\/zabbix-agent-3.2.0-1.el5.x86_64.rpm yum install zabbix-agent scp root@vlbid41x.ft.grp:\/usr\/bin\/zabbix* \/usr\/bin\/ scp root@vlbid41x.ft.grp:\/usr\/sbin\/zabbix* \/usr\/sbin\/ scp root@vlbid41x.ft.grp:\/etc\/zabbix\/zabbix_agentd.conf \/etc\/zabbix\/ cd \/exploit\/scripts scp admse_efougere@wctsrv0011.wabtec.com:\/exploit\/scripts\/zab_*.sh . vim \/etc\/zabbix\/zabbix_agentd.conf Hostname=WCTSRV00XX.wabtec.com ListenIP=10.129.32.XX UserParameter=zab_mem_free,\/exploit\/scripts\/zab_mem_free.sh UserParameter=zab_proc_mem[*],\/exploit\/scripts\/zab_proc_mem.sh $1 UserParameter=zab_proc_cpu[*],\/exploit\/scripts\/zab_proc_cpu.sh $1 UserParameter=zab_test_port[*],\/exploit\/scripts\/zab_test_port.sh $1 $2 service zabbix-agent start &#8212;&#8211; log dans : cat \/exploit\/logs\/zabbix_agentd.log Test the proper operation &hellip; <a href=\"http:\/\/les-fougs.com\/wordpress\/2019\/06\/26\/install-zabbix-linux-oracle-rhel-5\/\" class=\"more-link\">Continuer la lecture<span class=\"screen-reader-text\"> de &laquo;&nbsp;Install Zabbix Linux oracle RHEL 5&nbsp;&raquo;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[52],"tags":[],"_links":{"self":[{"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/posts\/2203"}],"collection":[{"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2203"}],"version-history":[{"count":3,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/posts\/2203\/revisions"}],"predecessor-version":[{"id":2207,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/posts\/2203\/revisions\/2207"}],"wp:attachment":[{"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2203"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}