nxlog and windas
nxlog and windas
I installed the nxlog using the defaults and saved the new nxlog data, to the nxlog config file.
but on two separate windas machines , i gets the followin errah(s):
an one errah i can take, but too is just an insult to my smahtness...
but on two separate windas machines , i gets the followin errah(s):
an one errah i can take, but too is just an insult to my smahtness...
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: nxlog and windas
So one is working fine, two are not? What versions of windows? (hopefully not 95).
Re: nxlog and windas
Check nxlog\data\nxlog.log
My test agent was a little iffy. Should get good clues there.
My test agent was a little iffy. Should get good clues there.
Andrew J. - Do you even grok?
Re: nxlog and windas
ty sir i will!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: nxlog and windas
ok the nxlog has:
I also ran the nxlog-stmnt-verifier.exe, and got this:
Code: Select all
nxlog failed to start: Couldn't change to SpoolDir 'C:\Program Files (x86)\nxlog\data'
The system cannot find the path specified.
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: nxlog and windas
Does your conf look like this:
Code: Select all
define ROOT C:\Program Files (x86)\nxlog
define CERT %ROOT%\cert
Moduledir %ROOT%\modules
CacheDir %ROOT%\data
Pidfile %ROOT%\data\nxlog.pid
SpoolDir %ROOT%\data
LogFile %ROOT%\data\nxlog.log
Andrew J. - Do you even grok?
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: nxlog and windas
Couple things:
Does that directory exist? "C:\Program Files (x86)\nxlog\data"
Is nxlog installed in program files or program files x86?
Is this a 32 or 64 bit windows system?
Which variant of nxlog did you install(32/64)?
What windows OS is this?
If you open up the properties of the nxlog service, who is the service set to runas under the Log On tab?
Does that directory exist? "C:\Program Files (x86)\nxlog\data"
Is nxlog installed in program files or program files x86?
Is this a 32 or 64 bit windows system?
Which variant of nxlog did you install(32/64)?
What windows OS is this?
If you open up the properties of the nxlog service, who is the service set to runas under the Log On tab?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: nxlog and windas
Isn't there only a 32-bit Windows client? http://sourceforge.net/projects/nxlog-ce/files/
Andrew J. - Do you even grok?
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: nxlog and windas
It's been a few weeks at least since I've done a windows install, but I could have sworn there were two installs. I know that it does work on my 2012R2 server with whatever I installed there. Let me take a peek, back in a few.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: nxlog and windas
So it looks like I did download the link vAJ provided, the nxlog-ce-2.8.1248.msi on my system and have it working fine. Some additional info that might help you guys try it out:
nxlog.conf is attached
Possible, but not listed prereqs that my server has:
MS visual C++ 2k8 9.0.30729.4145 - both x86 and x64
MS visual C++ 2k8 9.0.30729.6161 - both x86 and x64
.NET Framework 3.5, Just the framework portion that includes 2.0 and 3.0, not the activation stuff)
.NET Framework 4.5, Main framework and WCF Services
Nothing else really sticks out to me as things that are likely to cause issues, and I did not specifically install any of this as a dependency or specifically for nxlog. If I had to pick any one thing out of there, my guess would be that .NET 3.5 is what you are missing. It provides some very key non-default things for providing correct environments that non-standard services need. You should be able to add this via the add/remove roles and features in 2k8+.
nxlog.conf is attached
Possible, but not listed prereqs that my server has:
MS visual C++ 2k8 9.0.30729.4145 - both x86 and x64
MS visual C++ 2k8 9.0.30729.6161 - both x86 and x64
.NET Framework 3.5, Just the framework portion that includes 2.0 and 3.0, not the activation stuff)
.NET Framework 4.5, Main framework and WCF Services
Nothing else really sticks out to me as things that are likely to cause issues, and I did not specifically install any of this as a dependency or specifically for nxlog. If I had to pick any one thing out of there, my guess would be that .NET 3.5 is what you are missing. It provides some very key non-default things for providing correct environments that non-standard services need. You should be able to add this via the add/remove roles and features in 2k8+.
You do not have the required permissions to view the files attached to this post.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.