So we are implementing DR for our monitoring system. We have bookmarks and some other external URL’s in use within the system. When we fail over we want these URL’s to continue to work in our DR setup
If the URL is within checkmk then there is no issue. We set the URL to something like “view,py?view_name=mylovelyview” and it works in live and DR
But others like nagios maps wont work as their url is off the standard path. Their url will be something like “http://mylivedomain/nagios/nagvis/index.php…”. This wont work in our DR as we have a different domain name there.
Are there any system variables that i could use to pickup the current domain/root path. Any other suggestions?