Enhanced Log Monitor Linux
Posted 12 July 2011 - 03:20 PM
Here is one example of the settings I've tried
Log Directory: /var/log/
Log Files to Search (regex): auth\.log
Search String (regex): Accepted password
But no matter what settings I use, I always get the same message when I test the service monitor:
Message: Process returned with warning status - Error: No lines returned from agent.
Error:: No lines returned from agent.
Response time: 1000 ms
Posted 12 July 2011 - 04:03 PM
This suggests that something on the agent side is not configured properly. Have you gone through all the necessary steps to set up the agent side script (installed it in the correct directory with adequate permissions and added an entry to .uptmpasswd)?
Posted 24 August 2011 - 07:22 PM
I can run the perl script on the agent manually by using something like this as an parameter:
That works fine so I guess the perl script is OK
If I deliberately use an incorrect password when I configure the service on the server I get a different error:
Error: Output received: 'ERR'. The agent may not be configured correctly. Check the password?
So I guess the .uptmpasswd file can be read OK?
I thought I might be able to telnet to the agent on port 9998 and send this command:
rexec password /opt/uptime-agent/scripts/log_monitor.pl /var/logUPDOTTIMEauthUPDOTTIMEsessionUPSPCTIMEopenedUPDOTTIMEUPDOTTIMEOn
But that didn't work - the agent just disconnected
I set the agent to run as root (and set all the file permissions appropriately) but that had no effect
I don't know what else to check
Posted 24 August 2011 - 07:37 PM
Are you using the latest scripts available in the Grid?
Posted 05 September 2011 - 03:52 PM
Posted 05 September 2011 - 08:33 PM
Could you contact support at firstname.lastname@example.org to schedule a Webex call, so we can have a closer look at the configuration to determine what's missing?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users