Skip to content

Conversation

@kepes
Copy link

@kepes kepes commented Aug 5, 2013

  • remove git dependenciy
  • use attributes
  • create mutators and extensions folder

kepes pushed a commit to tarhelypark/chef-sensu-community-plugins that referenced this pull request Dec 6, 2013
Andrew J Cronk and others added 29 commits December 6, 2013 13:37
Also removed '.' from end of message as this sometimes produces confusing output
Since Memcached is able to listen on a specific port, we should
be able to choose which host to run the sensu check.
This patch add a new flag in the common fashion :
-h or --host with an IP or hostname as parameter
- Create OpenStack directory
- Create Ceilometer subdirectory in OenStack
- Copy checks script from Nagios

OpenStack is an Open-Source IaaS managment system.
Ceilometer is the metering service in OpenStack.
- Check if we can get a token
- Verify it's not too long
Based on disk-capacity-metrics.rb by bhenerey and nstielau
The difference here being how the key is defined in graphite and the
size we emit to graphite(now using megabytes). Also i dropped inode info.
Using this as an example
Filesystem                                 Size  Used Avail Use% Mounted on
/dev/mapper/precise64-root                  79G  3.5G   72G   5% /
/dev/sda1                                  228M   25M  192M  12% /boot
The keys with this plugin will be
 disk_usage.root and disk_usage.root.boot instead of
 disk.dev.mapper.precise64-root and disk.sda1
Added option to display warning messages along side critical messages in alert text
fixed indentation
maxamg and others added 30 commits December 6, 2013 13:38
           - added several config options: master host, slave host, database name, user, password, ssl
this is pretty horrible, but i needed to replace a worse python plugin i was using. this is bad, but can be improved.
If the host has a bond interface, there is
/sys/class/net/bonding_masters, which is a regular file.
In this case, metrics-net.rb fails to run.
delivery_method is set to smtp by default. Users can
change it to sendmail like this:

    {
      "mailer": {
        "mail_from": "sensu@example.com",
        "mail_to": "monitor@example.com",
        "delivery_method": "sendmail"
      }
    }
…rable and can be provided with an alternative tripwire binary, site key and tripwire database for the ultra paranoid. If the database path is an http url the check will pull the database from there to use in the consistency check
…plugins

Conflicts:
	plugins/redis/check-redis-memory.rb
	plugins/redis/redis-graphite.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.