Questions tagged [riemann]

Riemann is a network event stream processing system written in Clojure.

Riemann is a network event stream processing system written in Clojure.

Webpage: https://riemann.io/

78 questions
2
votes
1 answer

How to throttle netty server with slow client?

In order to prevent OOME in a riemann server when clients do not read ACKs properly, I have implemented some logic to close the channel when it becomes unwritable, under the assumption this is caused by client not reading/ACKing packets quickly…
insitu
  • 4,488
  • 3
  • 25
  • 42
2
votes
1 answer

Couldn't start riemann health

I'm new to Riemann and also new to ruby and Clojure as well. When I implementation of the riemann command: riemann-health The error message is Riemann::Client::TcpSocket::Error Could not connect to 127.0.0.1:5555:Errno::ECONNREFUSED: Connection…
free斩
  • 421
  • 1
  • 6
  • 18
2
votes
1 answer

clojure Riemann project collectd

I am trying to do a custom configuration apparently simple using Riemann and Collectd. Basically I'd like to calculate the ratio between two streams. In order to do that I tried something like (as in Rieamann API project suggestion here): (project…
Deivit
  • 21
  • 2
2
votes
0 answers

Riemann: triggering alerts with changed-state

I'm new to Riemann and clojure. I'm trying to configure alerts based on changed states. But the states never seem to be updated/indexed. So when I get to the changed-state block, state is nil. I can add the alerts within the splitp block, but that…
juicedM3
  • 501
  • 5
  • 5
2
votes
1 answer

configure nagios riemann integration for monitoring

Hi i want to know how can i configure Riemann to forward events to nagios Server This gives the API for Riemann nagios integration but there is not enough info of doing it.I am new to Riemann and i am unable to figure out a way.
hitesh
  • 55
  • 1
  • 8
2
votes
1 answer

How to refactor this clojure / riemann code

I'm discovering/learning Clojure with Riemann and I have written the following code to aggregate my CPU metrics per host : (streams (by [:host] smap (aggregate-cpu-metrics "user" folds/mean) smap (aggregate-cpu-metrics "nice" folds/mean) …
Maaaaat
  • 236
  • 3
  • 8
2
votes
0 answers

Riemann Context for Hadoop to send metrics to Riemann using metrics2 interface

Is there a library which can be integrated with the different Hadoop components (Namenode, datanode, jobtracker, tasktracker) as well as the Hadoop 2 components (Resource Manager) to send metrics to Riemann?
Abhishek Jain
  • 4,478
  • 8
  • 34
  • 51
1
vote
0 answers

Python's Script sums of Riemann with lefthand rule modified to midpoint rule

I have to change a script in Python that calculate the integrate of a function using the sums of Riemann with the lefthand rule and modified it so that it uses the sums of Riemann with the midpoint rule. This is the original script (lefthand…
1
vote
2 answers

double integral by Riemann Sums in matlab

clear n=45; // widht m=23; // length // total 990 blocks m*n a=-2; b=1; // x-limits c=2; d=4; // y-limits f=@(x,y) 4.0*x.^3.*y+0.7.*x.^2.*y+2.5.*x+0.2.*y; //function x=linspace(a,b,n); y=linspace(c,d,m); h1=(b-a)/n …
Cornaeleus
  • 19
  • 1
1
vote
1 answer

Is it possible to get access to riemann dashboard without proxy

I have installed riemann dashboard, but can access to it only from localhost. All I have found is to advices to setting up apache/nginx to access to dashboard from the remote host. I was looking on bind parameter, but don't know what to set here to…
ceth
  • 44,198
  • 62
  • 180
  • 289
1
vote
2 answers

custom body message email triggering in Riemann

I want to trigger a mail with custom body message. I can parse timestamp in my body, but i want to add the string in my body when i try to add string value in body i'm unable to reproduce it. can anyone help me to resolve it. I'm in very critical…
Gan
  • 93
  • 1
  • 3
  • 11
1
vote
1 answer

Variable Arguments for Riemann project function

So I am working on a stream function which will sum up some metrics for several events. To do this I use the project function and it looks something like this: (project [(func (:service event) (nth service-list 0)) (func (:service…
Zara Kay
  • 164
  • 1
  • 8
1
vote
1 answer

Null pointer exception when trying to write to file using riemann

I am trying to set up multiple logging streams for riemann. I have decided to use the simple Clojure file write function to set up additional streams. However, the file is written to as soon as riemann is reloaded but results in a null pointer…
1
vote
1 answer

Counting riemann events in rate function

Hi I have a use case where I have to aggregate my application response time for a time interval of 10 i.e (rate 10 and then calculate the average . The real problem is there is no way to calculate the number of events in riemann rate function for…
Tinkaal Gogoi
  • 4,344
  • 4
  • 27
  • 36
1
vote
1 answer

Self-defined zeta function never terminates

I am trying to build a program to compare the partial sum of the Riemann Zeta function to the built-in Matlab function zeta(s). I want the function to output the minimum number of terms to achieve an accuracy of 0.1 percent. I thought a while loop…
Olivia
  • 37
  • 3