Forum Discussion

louiek_55574's avatar
louiek_55574
Icon for Nimbostratus rankNimbostratus
Nov 02, 2009

Can't delete a monitor

Hi all,

 

 

I'm trying to delete a few monitors but keep on getting the following error:

 

 

01070336:3: The requested monitor (http_ssp_app_eacademic45LD1Rev2) has children, so cannot be deleted

 

 

I have deleted any pools that used these health monitors and all rules that referenced these pools. When I click on the "instances" tab on the monitor screen it comes up with no instances. I'm able to delete other monitors, it's just these three in particular.

 

 

Thanks.

 

 

Ver. Big-IP 9.4.4

5 Replies

  • Can you run the following command at the CLI to see where the monitor is listed in the config:

     

     

    b list|grep -C 4 http_ssp_app_eacademic45LD1Rev2

     

     

    Aaron
  • I can't get the pipe (|) working from the console on the webpage so I copied the output from the list command and ran the grep on that, here's the output:

     

     

    faust{louiek}~> cat list | grep -i -C 4 http_ssp_app_eacademic45LD1Rev2

     

    host 203.16.41.5

     

    network 203.16.41.96/28

     

    network 203.62.232.0/23

     

    }

     

    monitor http_ssp_app_eacademic45LD1Rev2 {

     

    defaults from http

     

    recv "User Name"

     

    send "GET /eacademic45LD1Rev2/login.aspx"

     

    }

     

    monitor http_ssp_app_eacademic45LD1Rev3 {

     

    defaults from http_ssp_app_eacademic45LD1Rev2

     

    send "GET /eacademic45LD1Rev3/login.aspx"

     

    }

     

    monitor http_ssp_app_eacademic45LD2Rev1 {

     

    defaults from http

     

     

     

    So I can see the next monitor references the monitor I'm trying to delete. How would this happen? I can't see anything on the http_ssp_app_eacademic45LD1Rev3 tab that indicates a dependancy. I'm happy to get rid of both of them, but I'd like to know how to ensure this doesn't happen again.

     

     

    Thanks,

     

    Louie.
  • Hi Louie,

     

     

    When you create a new monitor you have the option to select the type and then import the settings from another monitor created from the same parent. If you select to import the settings from another monitor, it makes the new monitor a child of that one. Maybe that's not as intuitive as it should be--particularly as the GUI doesn't show the dependency after it's been created!

     

     

    You could open a support case with F5 and ask them to update the GUI or remove the dependency so this is clearer.

     

     

    Aaron
  • I deleted both sets of monitors (rev3 then rev2) and they all went away happily. I will raise a case as you suggest, there really should be some indication in the GUI that there is a dependancy.

     

     

    Thank you very much for your help,

     

     

    louie.
  • Hi Louie,

     

     

    Thanks for that. I checked and it's the same in v10.0.x. So a case with F5 should help get this improved.

     

     

    Thanks,

     

    Aaron