ReferencePlatforms/Puppet Server: Difference between revisions

m
Line 86: Line 86:
  service httpd start
  service httpd start


== Add Nagios libs ==
== Install nrpe and add Nagios libs ==


cp puppet-manifests/modules/nagios/files/check_ganglia /usr/lib64/nagios/plugins/check_ganglia
  yum install nrpe nagios-plugins-nrpe
 
  [root@staging-puppet nagios]# rpm -qa | grep nrpe
  nrpe-2.12-16.el5
  nagios-plugins-nrpe-2.12-16.el5
 
Copy nrpe config from an existing production server
  cp /etc/nagios
  scp cl-production-puppet.build.scl1.mozilla.com:/etc/nagios/nrpe.cfg .
 
  cp puppet-manifests/modules/nagios/files/check_ganglia /usr/lib64/nagios/plugins/check_ganglia
  chkconfig --level 235 nrpe on
 
  service nrpe start
 
  Open a bug with relops to monitor the server via Nagios.  See bug https://bugzilla.mozilla.org/show_bug.cgi?id=754963 as an example.


== Update root crontab with puppet specific scripts ==
== Update root crontab with puppet specific scripts ==
Confirmed users
1,989

edits