[collectd] threshold events for load only for shortterm, but I need midterm

Dieter Bloms collectd at bloms.de
Wed Apr 2 15:08:59 CEST 2008


Hi,

I use collectd-4.3.2 and threshold works greate so far.
I want to get events for midterm, but I didn't see any of this.
I only see events from data source shortterm.

I know that I can't configure threshold to get events only from the
midterm, but I thought, that without this configuration I get the events
for all data sources like shortterm, midterm and longterm and my scripts
has to seperate these data sources .

my config:

--snip--
Mode        "local"
Hostname    "myserver"
BaseDir     "/var/lib/collectd"
PIDFile     "/tmp/collectd.pid"
PluginDir   "/usr/lib/collectd"
TypesDB     "/usr/lib/collectd/types.db"
LoadPlugin logfile
LoadPlugin cpu
LoadPlugin df
LoadPlugin disk
LoadPlugin exec
LoadPlugin interface
LoadPlugin iptables
LoadPlugin load
LoadPlugin memory
LoadPlugin network
LoadPlugin ntpd
LoadPlugin processes
LoadPlugin rrdtool
LoadPlugin swap
LoadPlugin syslog
<Plugin logfile>
  LogLevel debug
  File stdout
</Plugin>
<Threshold>
  <Plugin "load">
    <Type "load">
      WarningMax    0.50
      FailureMax    1.30
      Persist false
    </Type>
  </Plugin>
</Threshold>
<Plugin exec>
  NotificationExec nobody "/usr/local/bin/collectd_notification.pl"
</Plugin>
--snip--



-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080402/b248ac77/attachment.pgp 


More information about the collectd mailing list