With the config in my first post (with <agent>) nxagentd.exe -C shows:
config
+- CORE
| +- MasterServers
| | value: XX.XX.XX.XX
| +- ConfigIncludeDir
| | value: C:\NetXMS\etc\nxagentd.conf.d
| +- LogFile
| | value: {syslog}
| +- FileStore
| | value: C:\NetXMS\var
| +- SubAgent
| value: winperf.nsm
+- agent
| +- MasterServers
| | value: XX.XX.XX.XX
| +- ConfigIncludeDir
| | value: C:\NetXMS\etc\nxagentd.conf.d
| +- LogFile
| | value: {syslog}
| +- FileStore
| | value: C:\NetXMS\var
| +- SubAgent
| value: logwatch.nsm
| value: winperf.nsm
| value: logwatch.nsm
| value: filemgr.nsm
+- logwatch
| +- Parser
| value: c:\netxms\var\logwatch_win_eventlog_system_parser.xml
| value: c:\netxms\var\logwatch_win_eventlog_application_parser.xml
| value: c:\netxms\var\logwatch_win_eventlog_system_parser.xml
| value: c:\netxms\var\logwatch_win_eventlog_application_parser.xml
+- filemgr
+- RootFolder
value: c:\
In the subagentlist of the management console only the winnt and winperf subagents are showing (see attachment, please).
I test the eventlog with: eventcreate /T ERROR /ID 1000 /L APPLICATION /D "TestError"
Greetings
Marco
config
+- CORE
| +- MasterServers
| | value: XX.XX.XX.XX
| +- ConfigIncludeDir
| | value: C:\NetXMS\etc\nxagentd.conf.d
| +- LogFile
| | value: {syslog}
| +- FileStore
| | value: C:\NetXMS\var
| +- SubAgent
| value: winperf.nsm
+- agent
| +- MasterServers
| | value: XX.XX.XX.XX
| +- ConfigIncludeDir
| | value: C:\NetXMS\etc\nxagentd.conf.d
| +- LogFile
| | value: {syslog}
| +- FileStore
| | value: C:\NetXMS\var
| +- SubAgent
| value: logwatch.nsm
| value: winperf.nsm
| value: logwatch.nsm
| value: filemgr.nsm
+- logwatch
| +- Parser
| value: c:\netxms\var\logwatch_win_eventlog_system_parser.xml
| value: c:\netxms\var\logwatch_win_eventlog_application_parser.xml
| value: c:\netxms\var\logwatch_win_eventlog_system_parser.xml
| value: c:\netxms\var\logwatch_win_eventlog_application_parser.xml
+- filemgr
+- RootFolder
value: c:\
In the subagentlist of the management console only the winnt and winperf subagents are showing (see attachment, please).
I test the eventlog with: eventcreate /T ERROR /ID 1000 /L APPLICATION /D "TestError"
Greetings
Marco