DevOps Classroom Series – 25/Jun/2021

Configuring Nagios

  • Create Templates for the below so that we can add all the generic information inside the template
    • host definitions
    • service definitions
  • Create Commands and define all the necessary commands for performing checks
  • Create hostgroups and add different hosts to host groups (allservers, webservers, dbservers )
  • Now create service defintions where we define checks using commands defined at the host group level

Exercise

  • We have default nagios configuration in /usr/local/nagios/etc/objects

  • Now try to make that default nagios configuration broken down into

    • nagioscfg
      • commands
      • timeperiods
      • templates
      • contacts
      • hosts
      • services
  • Change the nagios.cfg to use cfg_dir instead of cfg_file

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Network Integration by Acurax Social Media Branding Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%