logo
Tags down

shadow

Drop a single sample from munin data


By : winspius5
Date : October 17 2020, 11:12 AM
I hope this helps you . I'm using munin to monitor a postgresql database and I made a 1 time change that caused munin to get a bad sammple (queries per second many orders of magnitude out of the normal range) that is screwing up my graphs. Is there any way I can easily delete a single data point from the munin data? , Presuming you’re running Linux, it goes something like this:
code :


Share : facebook icon twitter icon

Munin: Change plugin category using munin.conf, when plugin filename contains dots?


By : hacky
Date : March 29 2020, 07:55 AM
I think the issue was by ths following , I just found the solution after reading the following ticket:
http://munin-monitoring.org/ticket/526
code :
[machine1.your.dom]
    address localhost
    ping_192_168_1_1.graph_category lan connectivity
    ping_192_168_1_2.graph_category lan connectivity
    ping_10_0_0_10.graph_category intranet connectivity
    ping_10_0_0_20.graph_category intranet connectivity
    ping_www_google_com.graph_category internet connectivity

Munin Graph - How To Set Max Upper Limit For mysql slowqueries & munin stats?


By : Blue Ocean
Date : March 29 2020, 07:55 AM
I hope this helps you . I highly encourage playing with the scripts, even though you run the risk of them being overwritten by an update. Just back them up and replace them if you think it's needed. If you have built or improved things, don't forget to share them with us on github: https://github.com/munin-monitoring/munin
When you set --upper-limit to 100 and your value is 110, your graph will run to 110. If you add --rigid, your graph scale will stay at 100, and the line will be clipped, which is what you wanted in this case.
code :
echo 'graph_args --base 1000 -l 0 --upper-limit 100 --rigid'

Sample a single row, per column, with substantial missing data


By : Alfonso Pacheco
Date : March 29 2020, 07:55 AM
I hope this helps you . As an example of my data frame, which I will call df1, I have GROUP1 with three rows of data, and GROUP2 with two rows of data. I have three variables, X1, X2, and X3: , You can use this data.table call:
code :
setDT(df1)[ , lapply(.SD, 
  function(x) x[!is.na(x)][sample(sum(!is.na(x)), 1)]), by = GROUP]
setDT(df1)[,lapply(.SD, function(x)
  if(all(is.na(x))) NA_character_ 
    else as.character(na.omit(x))[sample(length(na.omit(x)), 1)]) , by = GROUP]
aggregate(df1[ , names(df1) != "GROUP"], by=list(df1$GROUP), 
  function(ii) ifelse(length(na.omit(ii)) == 0, 
    NA,
    as.character(na.omit(ii))[sample(length(na.omit(ii)), 1)])) 
    # Note use of as.character in case of factors
#  Group.1 X1   X2 X3
#1  GROUP1  A    T  T
#2  GROUP2  G <NA>  C

Munin server with apache - You don't have permission to access /munin on this server


By : Eduardo Xamena
Date : March 29 2020, 07:55 AM
I hope this helps you . On a fresh apache and munin server install when I to to domain.com/munin I get this error. , Apache < 2.4
Open the Munin Apache config file:

Munin, apache and how to password protect munin


By : arm
Date : March 29 2020, 07:55 AM
To fix the issue you can do You could add basic authication to apache folder using .htaccess If you munin locate at /var/www/munin , you can do like this edit file /var/www/munin/.htaccess , put the follow content there
shadow
Privacy Policy - Terms - Contact Us © bighow.org