Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Not able to get syslog or Windows event log to show up in the management console

Not able to get syslog or Windows event log to show up in the management console

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 24.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    K
    khaitdoan
    wrote on last edited by
    #1

    I am new to NetXMS, and having a tough time configuring it to collect logs from various servers.  What I want to do is to configure the agent to forward ALL the syslog and the Windows Event log messages to the server, but it doesn't matter what I tried, I could not get the log messages to show up in the management console.

    I am using the following version:

    NetXMS Server Version 2.0.1 Build 8059 (2.0.1-RELEASE) (UNICODE)
    NXCP: 3.47.1.3 (AES-256, Blowfish-256, IDEA, 3DES, AES-128, Blowfish-128)

    NetXMS Core Agent Version 2.0.1 Build 8059 (2.0.1-RELEASE) (UNICODE)
    NetXMS Management Console: 2.0.1

    In my nxagentd.conf, I have:

    #
    # NetXMS agent configuration file
    # Created by server installer at Fri Jan 15 13:20:31 2016
    #

    # LogFile = {syslog}
    LogFile = C:\Khai\doNotDelete\NetXMSHome\Log\netxms-agent.log
    DebugLevel = 9

    MasterServers = 127.0.0.1, 192.168.41.184
    FileStore = C:\Khai\doNotDelete\NetXMSHome\NetXMS\var
    RequireAuthentication = no
    SubAgent = winperf.nsm
    SubAgent = portcheck.nsm
    SubAgent = logwatch.nsm

    # Below is log parser definitions
    *LOGWATCH
    Parser = C:\Khai\doNotDelete\NetXMSHome\LogParsers\WindowsEventLogParser.xml

    The content of C:\Khai\doNotDelete\NetXMSHome\LogParsers\WindowsEventLogParser.xml:

    <parser>
        <file>*System</file>
        <rules>
            <rule>
                <match>.*</match>
            </rule>
        </rules>
    </parser>

    From the Configuration -> Syslog Parser screen, I've configured the matching regular expression to be .* and everything else are empty or default value.

    The EnableSyslogDaemon flag is set to 1.

    I've restarted the agent and the server, but from Monitor -> Syslog and Monitor -> Events screens, it is empty.

    Is this a known problem with the version that I am using?  What am I doing wrong?  Am I missing anything?

    1 Reply Last reply
    0
    • K
      K
      khaitdoan
      wrote on last edited by
      #2

      Can someone please tell me if I am missing something?

      1 Reply Last reply
      0
      • V
        V
        Victor Kirhenshtein
        wrote on last edited by
        #3

        Hi,

        in your parser definition you miss <event> tag. Without it parser matches all events but do not send anything to the server.

        Best regards,
        Victor

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups