Ask questions. Get answers. Find technical product solutions from passionate experts in the NXLog community.

Nxlog: im_wmi
I'm trying to configure Windows Management Instrumentation (im_wmi) for a host on a different subnet. I'm getting an error: chown: cannot access ‘wmiusername:nxlog’: No such file or directory. where am I going wrong? My config is as below: <br/>######################################## <br/>User nxlog <br/>Group nxlog <br/> <br/>LogFile /opt/nxlog/var/log/nxlog/nxlog.log <br/>LogLevel DEBUG <br/> <br/> <br/>######################################## <br/># Inputs # <br/>######################################## <br/> <br/><Input wmi> <br/> Module im_wmi <br/> Host 10.x.x.x <br/> Username wmiusername <br/> Password SomePassword <br/> Domain domain.com <br/> ReadFromLast True <br/></Input> <br/> <br/><Output file> <br/> Module om_file <br/> File "/opt/nxlog/var/windows/" + $AccountName + ".log" <br/></Output> <br/> <br/><Route wmi_to_file> <br/> Path wmi => file <br/></Route> <br/>

yajitux created
Replies: 1
View post »
last updated