Forum Discussion

Algebraic_Mirror's avatar
Algebraic_Mirror
Icon for Cirrostratus rankCirrostratus
Jun 30, 2020
Solved

How do I log information from a nodejs based LTM external monitor?

How can I log something from a nodejs based LTM external monitor? I have my monitor script working, and if I write a message like this, the script regards the monitor as up: console.log("Success!...
  • Kin's avatar
    Jul 06, 2020

    If you don't mind running shell commands from your nodejs script (different ways to do this), then the most common command is logger -p <facility.level>... This article provides some examples and also recommends an alternative method, if you're willing to consider another trigger

    https://support.f5.com/csp/article/K14397