Displaying 20 results from an estimated 1000 matches similar to: "Possible leaking records in dashboard db"
2012 Jan 03
6
Puppet Dashboard: db:migrate failure (1.2.2 to 1.2.4)
An error I managed to hit today, trying to migrate puppet dashboard from
1.2.2 to 1.2.4 (after upgrading the master to puppet 2.7.9 seemed to
prevent the dashboard from importing new reports). I''m trying to re-run it
now, but as you might guess, the DB is pretty huge and the process takes a
while to execute.
Executed from the puppet-dashboard directory: sudo rake db:migrate
2011 Aug 16
4
Dashboard table resource_statuses growing uncontrollably
I''ve "inherited" the administration of a puppet-dashboard (version
1.1.0, installed on RHEL 5.6 from puppetlabs RPM), and have hit a
problem I''m hoping for some help with.
In short, one table, "resource_statuses" appears to be growing at a
rate far higher then the other tables:
mysql> select count(*) from nodes;
+----------+
| count(*) |
+----------+
|
2008 Jan 21
1
help writing a usb hid driver for existing ups
I've got a Powercom Imperial UPS, with an internal
USB<=>serial converter. It implements the same
protocol as other powercom devices implements, but
only when talking over serial port (there's no such
port on the device). Someone wrote a draft version
of usbserial driver for it, and the UPS works with
this kernel-level driver and with powercom driver
from nut (using /dev/ttyUSBx
2015 Sep 25
2
issues with dev.new avoiding RStudio plot device on unix?
Hi R-devl,
I'm still unable to force opening an *interactive* non-Rstudio
platform-specific plot device on *unix* systems.
dev.new() add a new argument 'noRStudioGD' in R 3.1.1. Thank you. It
works for me when using RStudio on Windows, but on the unix system it
opens a pdf device instead of an interactive device when using an
interactive RStudio session (with R_DEFAULT_DEVICE
2006 Feb 28
8
HABTM count table
Hello,
I have a question about HABTM and counting records.
I have these models
class Sort < ActiveRecord::Base
has_and_belongs_to_many :reports
end
class Report < ActiveRecord::Base
has_and_belongs_to_many :region
has_and_belongs_to_many :subjects
has_and_belongs_to_many :sorts
end
And i would like to get a count like
@sort.reports.count
The problem is get this query:
2013 Dec 18
0
ruby
How would I convert this program to output exactly the same thing but only
for all the (noop) operations.
We keep puppet in noop mode to audit its actions before they are applied.
Thus it is necessary to ensure we understand exactly what all the nodes
noop operations would be if we listed the noop restriction for a normal
apply.
This program will report in a reasonable format for those non-noop
2011 Jan 10
3
importing classes to the dashboard
Hello,
I would like to know if it is possible to automatically import the
puppet classes to the dashboard in order to manage them from the gui.
I didn''t find exact instructions to make the puppet clients report
directly to the dashboard instead of importing the reports every time
through the command rake RAILS_ENV=production reports:import .
Does anyone has the exact instructions?
Thanks
2013 Nov 26
37
get a *structured* version of the puppet agent output
puppet agent --verbose shows a verbose output of the changes done by
puppet, such as:
notice:
/Stage[main]/Logstash::Config/Logstash::Configdir[agent]/File[/etc/logstash/agent/config]/owner:
owner changed ''root'' to ''logstash''
notice: /Stage[main]/Varnish/Service[varnish]/ensure: ensure changed
''stopped'' to ''running''
2013 Mar 18
4
Why stacking rasters return NAs?
I have several rasters that I want to do some calculations ,basically
calculating the moving average.
dir2 <- list.files("D:\\2010+2011", "*.bin", full.names = TRUE)
saf=stack(dir2)
movi <- overlay(stack(saf),fun=function(x) movingFun(x, fun=mean,
n=3, na.rm=TRUE))
Error in .overlayList(x, fun = fun, filename = filename,
2014 Mar 12
0
Developing the UPS side of the UPS-NUT equation (via usbhid)
So, going with the proposed initial design, I created a report descriptor to describe the battery. I thought that I'd then see how NUT responded to it. The good news is that the descriptor showed up and all of the paths were correct. Unfortunately, after that, nothing happened...no reports were requested, and it just kept timing out. Is there some minimum amount of functionality I need to
2015 Sep 26
3
issues with dev.new avoiding RStudio plot device on unix?
Sorry, should have given more background. x11 works fine on all my
systems when called by x11(). I'm the maintainer of a package that uses
the animation library, which has performance issues when used with the
RStudio plot device. But if you call plot.new() when using RStudio, you
get an RStudio device, not the standard device for the platform because
it overrides the device option.
2009 Nov 15
2
Segmentation faults on SEXP conversion
Hello -
I am making a first attempt at writing a simple C++ routine to print
out R objects (this is a simple proof-of-concept as part of a larger
package development). The relevant C++ routine is as follows:
void Rwrite(SEXP fd, SEXP msg) {
int *ofd = INTEGER(fd);
const char * omsg = CHAR(asChar(msg));
printf("[%i] %s",*ofd,omsg);
}
And the corresponding interface in R is as
2017 Aug 24
3
dmarc report faild ?
Hello Together
Please i have new following Error, from DMARC Report, if i check my domain
on example mxtoolbox i dont see any problems.
Any from you know this Eror report, what i need to do to fix this issue?
C:\folder>nslookup 94.237.32.243
Server: dns204.data.ch
Address: 211.232.23.124
Name: wursti.dovecot.fi
Address: 94.237.32.243
2012 Jan 09
14
scaling projections for dashboard database?
So I got dashboard up and running on our production system on Thursday before I left. Within 48 hours it had completed filled the /var filesystem. The ibdata1 file is currently at 8GB in size.
1. What size should I expect for ~500 nodes reporting every 30 minutes?
2. Are there some database cleanup scripts which I have managed to overlook that need to be run?
--
Jo Rhett
Net Consonance :
2012 Nov 08
2
Puppet dashboard shows all hosts unresponsive
Hi guys,
I have a strange situation. I''ve got 1 dashboard MySQL DB accessed from 3
different dashboard hosts. Strangely enough, 2 of them show the right node
statuses, and the third one just shows all nodes as unresponsive.
As far as I know, the status comes from the "nodes" table in the DB, so how
can this happen? Is there some cache I need to clear? Is there another
2014 Mar 12
4
Developing the UPS side of the UPS-NUT equation (via usbhid)
The syntax is beginning (just beginning) to make sense to me now, so I'm looking now to try and implement just a few items in the report descriptor, and then I figured I can progress from there if all goes well.
The power HID docs seem to encourage drawing out your system first, and then letting the report descriptor flow from there. So, my very simplified system goes like this:
2012 Nov 03
1
get the title from the document
Dear all,
I am working on a very simple project, in which I wanna get the title from the document.
For instance, this is what I have done so far.
///////////// code? for building the index file
??????? # Load content
??????? content = open(filePath).read()
??????? # Prepare document
??????? document = xapian.Document()
??????? document.set_data(content)
??????? # Store fileName
???????
2015 Sep 26
0
issues with dev.new avoiding RStudio plot device on unix?
Can you describe your problem a bit more?
* What kind of unix system do you have?
* Can you run other X11 programs?
I had a similar issue, and the problem was that the computer was not set up
to support X11. As a minimum, you have to install /xauth/, and potentially
also other libraries if you want to install packages from source.
Best,
Ott
On Fri, Sep 25, 2015 at 11:53 AM, Skye Bender-deMoll
2011 Feb 03
0
Correct way to exclude attributes from json serialization
Hi
I''m using Mongoid and Rails 3, and I want to serialize one of my
mongoid documents to json for publishing via a controller, e.g.
class ReportController < ApplicationController
respond_to :json
def show
report = Report.where(:report_id => params[:id]).first
respond_with report
end
end
This works ok, but pushes out every attribute on the document
2014 Jul 08
0
Order Details
An HTML attachment was scrubbed...
URL: <http://www.zytor.com/pipermail/klibc/attachments/20140708/d8624773/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: report_id.zip
Type: application/zip
Size: 20325 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/klibc/attachments/20140708/d8624773/attachment-0001.zip>