Open MounikaPearl opened 7 years ago
Hello Team, Can you please help on the above error, we are seeing while starting the watcher on windows machine? Any one else have ever faced the error and?
Thanks and Regards, Mounika
Can someone suggest on the above mentioned issue.
Regards, Mounika
Hi @MounikaPearl this plugin is intended to work on *nix operating systems where test
is a standard part of the system. You could try to set up on your Windows machine and make sure that it appears in the PATH
, so it's resolvable as test
from command line.
Hi @scream3 we have put the log file path (which we are trying to monitor) in the PATH variable. We have also defined a variable "test" and its value is the log file path. But we are still getting the same error.
@MounikaPearl test
is a name of command line program (https://en.wikipedia.org/wiki/Test_(Unix)) . It should NOT be defined as variable. This should be present as executable file on target computer and directory with it should appear in PATH.
Hi All,
We are getting the log file watcher plugin error. After installing the plugin.while running the service we are getting the below error.
D:\NewrelicLogwatcher>ruby newrelic_logwatcher_agent.rb Agent Logwatcher is at version 0.0.2 Error occurred in poll cycle: No such file or directory - test -e D:/NewrelicLogwatcher/LogFileTest.log Gathered 0 statistics Error occurred in poll cycle: No such file or directory - test -e D:/NewrelicLogwatcher/LogFileTest.log Gathered 0 statistics Error occurred in poll cycle: No such file or directory - test -e D:/NewrelicLogwatcher/LogFileTest.log Gathered 0 statistics Error occurred in poll cycle: No such file or directory - test -e D:/NewrelicLogwatcher/LogFileTest.log Gathered 0 statistics Error occurred in poll cycle: No such file or directory - test -e D:/NewrelicLogwatcher/LogFileTest.log Gathered 0 statistics Error occurred in poll cycle: No such file or directory - test -e D:/NewrelicLogwatcher/LogFileTest.log Gathered 0 statistics Error occurred in poll cycle: No such file or directory - test -e D:/NewrelicLogwatcher/LogFileTest.log Gathered 0 statistics