Creating templates, and how to use them for enabling basic level checks in all hosts.

1.6K    Asked by AlanTaylor in Devops , Asked on Dec 30, 2019
Answered by Alan Taylor

Templates can be used in those cases where a certain group of checks need to be enabled on maximum no. of hosts added in Nagios server.

let’s say for every host basic checks like- disk monitoring, process check, load check, memory, cpu etc. need to be enabled so instead of enabling them one by one every time the smart way should be to create a template name common_checks and enable these services there.

Like -

define host {

 check_disk

 check_memory

 check_load

 check_proc

 check_cpu

check_swap

}

Enabling the above template on every newly added host will enable the basic checks and one does not have to enable them individually.



Your Answer

Answer (1)

Every meeting with Delhi Call Girls feels special because of their grace and genuine nature. They’re perfect for relaxing conversations, warm companionship, and unforgettable moments.

7 Months

Interviews

Parent Categories