Forum Discussion

Dede-DevCentral's avatar
Dede-DevCentral
Icon for Nimbostratus rankNimbostratus
Jun 30, 2017

Check Pools or Nodes with monitor logging enabled

Hi, i am looking for command to allow me the opportunity to check what pool or node has monitor logging enabled on my LTM. is there such command?

 

1 Reply

  • Probably better ways to do it, but one quick-and-dirty method would be to list the pool config using one-line and grep for logging:

    list ltm pool one-line | grep logging

    That will simply look for the string 'logging' in the pool config for all pools, so if you have that string in other areas of the config (description, pool name, etc) you'll get some false-positives. But it will work in a pinch if you're just trying to find out quickly if you have a rogue monitor.

    Of course you could also check for monitor files in /var/log/monitor. Anything logging should be logging to that directory by default. The filename will indicate the node and port, which you can search out in your node or pool list. K12531 provides some info on the monitor log location and filename.