EA Collector – 29.106

Last updated on 01 February, 2023

Important: This Collector version fixes the known issue present in versions 29.101 through 29.105 that was resulting in resources with heartbeats to be incorrectly marked as dead/down.


  • Added JMX metrics for LM Logs
  • To better support LM Logs, two new settings have been added to the Collector agent.conf file:
    • lmlogs.syslog.hostname.format – To accommodate syslog hostname headers, set a value of “DO_NOTHING” for this new setting to instruct the Collector to bypass DNS resolution, thus avoiding a resolution on an already-resolved hostname.
    • lmlogs.syslog.useTimestampWhenCollectorReceivedLogs – In order to avoid incorrect time parsing, this new setting should be set to TRUE (FALSE is default) if the syslog events you are sending to LogicMonitor do not include timezone information.
  • Non-root installation no longer requires changes to /etc/sudoers. See the Removing Entries from /etc/sudoers File section of these release notes for instructions on removing the entries placed in this file by older Collector installers.
  • NetFlow NBAR2 support now honors application slots from optional templates.
  • The MongoDB JAR has been upgraded to version 4.0.22.
  • Improved handling of blank responses for internal Web Checks.


  • Fixed the known issue present in versions 29.101 through 29.105 that was resulting in resources with heartbeats to be incorrectly marked as dead/down.
  • Fixed issue causing JDBC Active Discovery to ignore non-default ports (the port for a given instance will be stored in WILDVALUE2).
  • Fixed SiteMonitor issue causing redirects containing percentage sign (%) characters to fail to be resolved.
  • Fixed issue preventing NetFlow data from being displayed.

Removing Entries from /etc/sudoers File

If you installed a Linux-based Collector version 29.105 or earlier running as non-root, edits were made to your /etc/sudoers file to allow the Collector to restart.

As of Collector version 29.106, there is now a separate binary with SUID for this purpose. This means that, upon update to 29.106, edits to your /etc/sudoers file are no longer needed and you can safely remove them—either manually or via script.

Manual Removal of /etc/sudoers Entries

  1. Open /etc/sudoers.
  2. Remove the following lines:

    Defaults:root !requiretty
    Cmnd_Alias SYSTEMD_LOGICMONITOR_WATCHDOG = /bin/systemctl start logicmonitor-watchdog.service, /bin/systemctl stop logicmonitor-watchdog.service, /bin/systemctl restart logicmonitor-watchdog.service, /bin/systemctl status logicmonitor-watchdog.service
    Cmnd_Alias SYSTEMD_LOGICMONITOR_AGENT = /bin/systemctl start logicmonitor-agent.service, /bin/systemctl stop logicmonitor-agent.service, /bin/systemctl restart logicmonitor-agent.service, /bin/systemctl status logicmonitor-agent.service
    Defaults:logicmonitor !requiretty
    logicmonitor ALL=NOPASSWD: /bin/systemctl daemon-reload
  3. Run the following commands as root.

    chown root $DEST_DIR/agent/bin/CollectorServiceController
    chmod +x $DEST_DIR/agent/bin/CollectorServiceController
    chmod u+s $DEST_DIR/agent/bin/CollectorServiceController
  4. Where “DEST_DIR” is the location of the installed Collector. The default location is /usr/local/logicmonitor/

Script Removal of /etc/sudoers Entries

  1. Open a shell on the Collector.
  2. Give the script execution rights:
    1. sudo chmod +x
    2. sudo /user/local/logicmonitor/agent/bin/nonroot_enhancements.sh
    3. You are prompted for the Collector install directory. (If default directory is in use, hit Return.)
    4. The script will remove the entries and restart the Collector.