Skip to content

install zabbix agent with puppet , control server,serveractive,hostname with puppet

Notifications You must be signed in to change notification settings

sharmasudhanshu/zabbix-yum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zabbix-yum

install zabbix agent with puppet , control server,serveractive,hostname with puppet

file puppet_init.pp will allow to install zabbix agent on Redhat,centos, ubuntu , here you can also set zabbix agent parameters servers,serveractive & hostname,

keep this file on puppetmaster under path /etc/puppet/modules/zabbixagentt/manifests by name init.pp & use it as module zabbixagentt

file nodes.pp will allow to control zabbix agent version to 2.4 , as above file puppet_init.pp(init.pp) holds condition require => Yumrepo[ "zabbix2.4" ], also this file contains complete sample for a node configuration , to instal/update a zabbix agent .

##################### exec below command to convert a ppk file to pem in linux

puttygen /home/anshu/snw-app-key.ppk -O private-openssh -o snw-app-key.pem

use this pem file for automated server login from fabric , as below in fabfile.py

env.hosts = ["[email protected]"] ## provide your ipaddress
env.key_filename = '/root/myfile.pem' ## provide your pem file

def local_uname(): local('sudo uname -a')

fab -H linuxbox local_uname

About

install zabbix agent with puppet , control server,serveractive,hostname with puppet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published