I want to test out logscape to monitor Web servers using nginx/haproxy and tomcat. I have downloaded and deployed the applications and setup the servers are forwarders, but I'm not able to show any data. I was looking at the documentation and it says the following but I'm not sure where the override.properties needs to go. This will provide HAproxy information, but what about nginx?
It currently seems like I'm only able to produce syslog information. I can provide anything that's needed.
Thanks
Configure
Download the sample override file and set NGINX_HA_SOCKET to point to HAproxies admin socket. iue stats for the HAProxy are provided there.
1. For monitoring an Apache Server, check out the ApacheApp - it will give you some Workspaces and data types to start dealing with your Apache Logs without you needing to type them yourself.
2. The Override.properties file should be deployed into the Logscape environment as well as the App. Those variables will then be available for the scripts generating the app data. It's important that you specify in the Override.properties which hosts the services should run on, for example to hit all Linux Hosts use: bundle.defaults.resourceSelection=osName contains Linux
To run the script on all hosts, you'd use the following
bundle.defaults.resourceSelection=id = 0
To run them on hosts with the AgentId NIGHTWING and NIGHTHAWK but not BLACKHAWK
bundle.defaults.resourceSelection=agentId containsAny NIGHT
It uses the same logic as the Query box on the Agents page of the Configure menu - if you can find a query that works there, it'll work in that selection.
In one of your other post you said, "The AgentId is a combination of the hostname and the port used to connect to the manager - it's not configurable as such, it's descriptive.
If you want to change it, you'll need to change your computers hostname. This link may help. windows.microsoft.com/en-us/windows/change-computer-name
However, if you're on a business network, you won't want to do that. What you can configure is the role. The Role allows you to segregate your data and identify the computers used.