![]() |
siteBotAuditor: Help The purpose of this page is to detail how to change the siteBotAuditor along with some ways to use it. |
[TIP] Websites & Database Servers If you are concerned about making sure your website(s) that are on a server can contact database servers (on a different server), you could create a webpage on a website that does simple database calls to all the database servers that should be contactable by the server with the website. If their are any failures in contacting a database server from the web server the website is on, format the response html code as shown below. I can't really give any tips on the code to use since there are a lot of programming languages that have different ways of interacting with databases. <html><head><title>Failure</title></head><body>Database server names (or some other notation that you'll recognize) that could not be contacted</body></html> NOTE: The bot recognizes "Failure" in the title to trigger an alert. It then puts whatever you have in the body, into the alert details. What is good to recognize here is that (1) if a 200 code is returned to the bot you know the website is reachable and is responding, (2) if a "Failure" is in the title then you know the website cannot contact the relevant database servers. |
![]() (Enlarge) |
|
![]() (Enlarge) |
|
![]() (Enlarge) |
![]() ![]() ![]() |
![]() (Enlarge) |
$siteBotData[$siteBotDataCount][0] = "http"; $siteBotData[$siteBotDataCount][1] = "www.yoursite.com"; $siteBotData[$siteBotDataCount][2] = "/someresource.html"; $siteBotData[$siteBotDataCount][3] = "you@yoursite.com"; $siteBotData[$siteBotDataCount][4] = ""; $siteBotData[$siteBotDataCount][5] = "0"; $siteBotData[$siteBotDataCount][6] = ""; $siteBotDataCount = $siteBotDataCount + 1; $siteBotData[$siteBotDataCount][0] = "https"; $siteBotData[$siteBotDataCount][1] = "www.yoursite.com"; $siteBotData[$siteBotDataCount][2] = "/someresource.html"; $siteBotData[$siteBotDataCount][3] = "you@yoursite.com"; $siteBotData[$siteBotDataCount][4] = ""; $siteBotData[$siteBotDataCount][5] = "0"; $siteBotData[$siteBotDataCount][6] = "";
NOTE: In cluster environments that I've come across you can add a file or folder "filter" that will instruct the replicating agent (such as DFS) to not replicate a file or folder. This allows you to manually specify the server name in the resource target file of each website instance across the cluster environment. |