Hello,
I would superviserles log file windows with the following constraint:
I can not install external software such as NSClient example.
Is it possible to do this? If so thank you for guiding me.
Windows Log
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Windows Log
Unfortunately there is no way to be able to monitor log files if you are unable to install something that has access to the log files...
While this may seem like the Holy Grail, if such a thing existed you would basically be opening up the files to anyone...
While this may seem like the Holy Grail, if such a thing existed you would basically be opening up the files to anyone...
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Windows Log
As Scott mentioned you would need to have an agent installed to monitor something as granular as a log file for an external application.. though for standard monitoring " CPU, MEMORY, DISK SPACE, etc" you could use a couple of different methods for this, such as SNMP or WMI checking:
http://assets.nagios.com/downloads/nagi ... ng_WMI.pdf
http://assets.nagios.com/downloads/nagi ... ng_WMI.pdf
Re: Windows Log
I can install software, but we need it only uses port 161. The SNMP port.
Is it possible to monitor the log files using only the SNMP port?
Is it possible to monitor the log files using only the SNMP port?
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Windows Log
You can change the port used to 161 yes, however snmp directly will not be able to monitor event logs for you. Again, nsclient's port can be changed to anything and in principal should work fine.
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.