MM: Use the new api interface for Nagios checks
The newly introduced api interface provides a way to query the MM frontend for availability which only performs a minimal database query. Using this interface should reduce the load on the frontend and the database.
This commit is contained in:
parent
22b9f49506
commit
a55526bcaf
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ define service {
|
|||
define service {
|
||||
host_name mm-frontend01,mm-frontend01.stg
|
||||
service_description mm-publiclist-internal
|
||||
check_command check_website!localhost!/mirrormanager/
|
||||
check_command check_website!localhost!/mirrormanager/api/mirroradmins/?name=dl.fedoraproject.org
|
||||
use internalwebsitetemplate
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue