in More Search Options

APM 2.0 for URL monitoring?

Last post 09-08-2008 9:08 AM by videotech. 12 replies.
Page 1 of 1 (13 items)
Sort Posts:
  • 08-28-2008 8:30 AM

    • caudleb
    • Not Ranked
    • Joined on 08-27-2008
    • Posts 2
    • Points 6

    APM 2.0 for URL monitoring?

    Anyone succesfully using APM 2.0 for monitoring website availability? I have run into a few problems when monitoring a site that is loadbalanced, if the site is stopped on one of the loadbalanced web servers the monitor is still reporting up. Any guidence on how this is done or examples of monitor configuration would be great.

    • Post Points: 3
  • 08-28-2008 8:43 AM In reply to

    • SamuelB
    • Top 25 Contributor
    • Joined on 06-16-2005
    • USA
    • Posts 270
    • Points 702

    Re: APM 2.0 for URL monitoring?

     How are your web servers being load balanced (round robin, MS NLB, Hardware load balancer)? This may be a clue into why this isn't working.

    • Post Points: 3
  • 08-28-2008 9:24 AM In reply to

    • caudleb
    • Not Ranked
    • Joined on 08-27-2008
    • Posts 2
    • Points 6

    Re: APM 2.0 for URL monitoring?

    The web servers are load balanced by round robin. 

     A little more detail on the problem:  We have a site running on two webservers that are LB (by round robin). When we configure the template for the given url on port 80 then assign the template to both servers the monitor turns green. The problem is when I stop the site on one of the servers the monitor for the template as well as both web servers stays green rather than going to yellow on the template and red on the failed server.

    • Post Points: 3
  • 08-28-2008 2:20 PM In reply to

    • qle
    • Top 25 Contributor
    • Joined on 07-31-2007
    • Posts 373
    • Points 851

    Re: APM 2.0 for URL monitoring?

    Have you considered monitoring by IP address instead of hostname or is that something you're looking to avoid? Feel free to straighten me out if I sound a little confused here.
    Running NPM 9.1 SP1 w/ APM 2 SP2
    • Post Points: 3
  • 08-28-2008 2:33 PM In reply to

    Re: APM 2.0 for URL monitoring?

    To set up an HTTP component monitor to use the IP address of the current node in the HTTP request, type http://${IP}/ in the Url field.

    To use both the IP address of the current node and the Port Number as defined in the HTTP component monitor, type http://${IP}:${PORT}/ in the Url field.

     

    Roger Wong, Lead Information Developer
    SolarWinds, Inc.
    • Post Points: 3
  • 08-29-2008 1:44 PM In reply to

    • Ohmus
    • Top 150 Contributor
    • Joined on 06-23-2008
    • Posts 46
    • Points 86

    Re: APM 2.0 for URL monitoring?

     You may need to add a unique IP for each node, then assign them as an additional IP on the website. Then set your monitor based on the new IPs. That's how I've had to do it in the past to monitor individual sites on both Windows NLB and through a Cisco CSS.

    If you are using the Virtual IP for the site then it should always be up, regardless of which node is Up/Down.

    • Post Points: 3
  • 09-05-2008 10:31 AM In reply to

    Re: APM 2.0 for URL monitoring?

    Is there a test where you can enter a username and password, so you can test a web site with login?

    • Post Points: 5
  • 09-05-2008 10:39 AM In reply to

    Re: APM 2.0 for URL monitoring?

    videotech:

    Is there a test where you can enter a username and password, so you can test a web site with login?

    If you're using the HTTP Login Script that ships with APM 2.0, you can do that using the Windows Script Monitor.
    Denny LeCompte
    Sr. Product Manager, Orion
    SolarWinds
    Austin, TX
    • Post Points: 3
  • 09-05-2008 10:56 AM In reply to

    Re: APM 2.0 for URL monitoring?

     HTTP Login Script? what is this and where do I find it?

    Also our SMTP Server requires authentication, with a user name and password. I was gonna ask in a seperate thread if this could be done.

    So am I correct in assuming that this (SMTP authentication) as well as the http login cannot be done without writing a script?

    If yes, then can these small features be added to the APM roadmap?

    Also are there any examples of these 2 types of scripts, as I need to test these..

    Thanks. 

    • Post Points: 1
  • 09-05-2008 11:00 AM In reply to

    Re: APM 2.0 for URL monitoring?

    The HttpLogin.vbs Windows script in the Program Files\Solarwinds\Orion\APM\SampleScriptMonitors\WindowsScripts folder logs on to a web form. To use it, copy and paste the script into the Script Body field of a Windows Script component monitor.

    The variables for the username, password, and url are hardcoded inside the script, and you have to change them to match what you're trying to do. For example, to make the script log into my Google account and then verify that it has successfully accessed my google account page, I would change the variables to the following:

    str_url = "https://www.google.com/accounts/Login";


    str_find = "Roger's Google Account"
    str_user = "myGoogleUserName"
    str_pwd = "myGooglePassword"

    Note: There's not supposed to be a semi-colon after the str_url line... the forum is inserting it for some unknown reason. Please delete the semi-colon if you're copying directly from this page.

    Roger Wong, Lead Information Developer
    SolarWinds, Inc.
    • Post Points: 3
  • 09-05-2008 11:45 AM In reply to

    Re: APM 2.0 for URL monitoring?

     Excellent, I will give it a try. Is their an example one for SMTP or POP?

    • Post Points: 3
  • 09-05-2008 1:16 PM In reply to

    Re: APM 2.0 for URL monitoring?

    The POP3 and SMTP component monitors built into APM 2.0 report the up/down status of the services. The round-trip, SMTP/POP3 monitor you're looking for is on our radar.

    Roger Wong, Lead Information Developer
    SolarWinds, Inc.
    • Post Points: 1
  • 09-08-2008 9:08 AM In reply to

    Re: APM 2.0 for URL monitoring?

    I have tried this script and it always seems to show as be working, even when I put a wrong username and password in. Please see below the four lines which I changed in the script.

     
    str_url="http://IP ADDRESS"
    str_find = ""
    str_user = "TEST"
    str_pwd = "WRONG"

    Can you see what I am doing wrong? 

    • Post Points: 1
Page 1 of 1 (13 items)