Search found 4 matches
- Fri May 11, 2012 2:02 am
- Forum: Open Source Nagios Projects
- Topic: Command Path with date variable
- Replies: 3
- Views: 1175
Re: Command Path with date variable
Yes now I made a script in libexec: check_nt_fileage_wrapper.sh content: #!/bin/bash DATE=`date +%d%m%Y` FILENAME=$DATE.log CMD="/usr/local/nagios/libexec/check_nt -H 192.168.0.44 -p 12489 -v FILEAGE -l "C:/stocksystem/01_HOST-PC"" $CMD$FILENAME Then I made the command: define co...
- Thu May 10, 2012 2:41 am
- Forum: Open Source Nagios Projects
- Topic: Command Path with date variable
- Replies: 3
- Views: 1175
Command Path with date variable
Hello to everybody I want to check some logfiles on a remote Windows Server using check_nt. To perform this check I use the following command: ./check_nt -H $HOSTNAME$ -p 12489 -v FILEAGE -l C:/stocksystem/Arcotronics/dirlog/01_PC-HOST10052012.log The check works fine, but my problem is that the log...
- Tue May 08, 2012 8:47 am
- Forum: Nagios XI
- Topic: Check Remote Fileage
- Replies: 2
- Views: 1143
Re: Check Remote Fileage
Ok now I have found a solution by Myselv: Use the command: check_nt -H $HOSTNAME -p 12489 -v FILEAGE -l C:/Test.txt If you get the error Message: Check contains error. Check log for details (or enable show_errors in nsc.ini) you need to downgrade the version of NSCLIENT, its a Bug of the 0.3.9 versi...
- Tue May 08, 2012 2:21 am
- Forum: Nagios XI
- Topic: Check Remote Fileage
- Replies: 2
- Views: 1143
Check Remote Fileage
Hello to everybody, i'm using NagiosXI and now in our company we want to check the fileage of some Logfiles on our Windows Servers. I want to ask if somebody knows a Plugin to check the fileage of a Remote Windows Server. I've already found a Plugin but i get always an error of authentification. Som...