Comments (4)
Thanks for the report.
I'll consider what to do here. Ping was intended as an internal only command that lc-admin would automatically send every 15 mins or so when idle to keep a connection open.
Either I'll add it to the help or make it so it cannot be run manually (so it's restricted to protocol).
Jason
from log-courier.
Ah, I see, thanks for the explanation.
Some question a little bit beyond the scope of this issue, but are there any plans to incorporate some mechanism, which could be useful to monitor the health of the service, especially also the log-courier plugin side for Logstash? In the most basic form I am thinking of a service check for Nagios or Icinga (https://www.monitoring-plugins.org/doc/guidelines.html#PLUGOUTPUT) which just returns the status whether the service can be reached over the network and responses in time. I don't know if it makes sense to create something from scratch as considerable parts of the implementation already do exists here in the project, e.g. certificate handling, configuration file parsing, wire protocol. What do you think?
from log-courier.
Monitoring the logstash side I will leave to logstash itself. The lc-admin utility though is intended to allow monitoring on the client side, such as number of logs and speed. I was planning to set up a munin graph to show this. If logstash shutdown too you'd be able to check the connection status. If logstash hung possibly check the events transmitted is increasing or not.
lc-admin status is also great when I'm debugging harvesting and such as I can see exactly what log-courier is watching and what state its in.
from log-courier.
Regarding logstash side though - To be fair I've not seen an instance where checking the log-courier port is working on application layer would throw up an issue. If its not listening, that's easy check for just TCP port, and logstash probably died. For application layer I can't see it throwing anything up, as it would just be a PING. If it's sending an event though and expecting it out into elastic search that would be complex to check. Probably a bit out of scope as you say!
from log-courier.
Related Issues (20)
- Duplicates observed when log-courier configuration file is overwritten HOT 3
- Undocumented behavior for paths matched by multiple fileglobs HOT 1
- log-courier can't seem to handle `~` for home in certain contexts. HOT 2
- error in logstash 7 HOT 4
- log-courier and logstash > 7.4.0? HOT 10
- Throughput question HOT 15
- does the includes configuration still work correctly? HOT 3
- Hold time setting not closing files properly
- syslog "progname" uses a full path rather than a basename HOT 1
- Information about payloads / different debug level ? HOT 3
- error while compiling code in the command line using MK in windows for Z wave HOT 1
- version.rb missing from the plugin package
- log-courier admin socket stuck HOT 2
- lc-admin does not default to tcp transport HOT 2
- order of files in lc-admin UI
- Logstash configuration auto reload is blocked by log-courier input HOT 2
- PPA packaging is using deprecated compatibility level 9 HOT 1
- 2.10.0 packages missing from PPA (Ubuntu)
- Receiver reload can cause panic
- TCP streaming receiver aborts if too many events received
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from log-courier.