Flapjack + Sensu 0.16

109 views
Skip to first unread message

ri...@qualica.com

unread,
Jan 28, 2015, 9:27:48 AM1/28/15
to flapjack...@googlegroups.com
Hi Peeps,


I tried to install the flapjack handler in sensu, but it keeps saying unknown handler. Can anyone assist as to why this would be the case?

This is my flapjack.json file:

{
  "flapjack": {
    "host": "localhost",
    "port": 6380,
    "db": "0"
  }
}



Flapjack is is installed and running, i can see the web imterface

Jesse Reynolds

unread,
Jan 28, 2015, 6:11:44 PM1/28/15
to flapjack...@googlegroups.com
I’m not sure why you’re getting that error.

We just added Sensu to the vagrant-flapjack VM, you could spin that up and compare the resulting config with yours perhaps?

https://github.com/flapjack/vagrant-flapjack/blob/master/README.md

Cheers
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "flapjack" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to flapjack-proje...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Kotowski Piotr

unread,
Mar 12, 2015, 7:32:14 AM3/12/15
to flapjack...@googlegroups.com, ri...@qualica.com
Hi

Some time has passed so you probably had fixed it already, but my guess is that you are missing flapjack.rb in path /etc/sensu/extensions/handlers.

Kind regards

arn...@meetup.com

unread,
Aug 20, 2015, 5:30:32 PM8/20/15
to flapjack
If you install the sensu-server from source and starting it from the bin folder, make sure to pass in the -e flag specifying the directory for sensu extensions

(DEV) sensuserver sensu # bin/sensu-server -h
Usage: sensu-server [options]
    -h, --help                       Display this message
    -V, --version                    Display version
    -c, --config FILE                Sensu JSON config FILE
    -d, --config_dir DIR[,DIR]       DIR or comma-delimited DIR list for Sensu JSON config files
    -e, --extension_dir DIR          DIR for Sensu extensions
    -l, --log FILE                   Log to a given FILE. Default: STDOUT
    -L, --log_level LEVEL            Log severity LEVEL
    -v, --verbose                    Enable verbose logging
    -b, --background                 Fork into the background
    -p, --pid_file FILE              Write the PID to a given FILE
(DEV) sensuserver sensu # bin/sensu-server -d /usr/local/sensu/etc/sensu -e /usr/local/sensu/etc/sensu/extensions -l sensuserver.log -b
Reply all
Reply to author
Forward
0 new messages