Docker ready to use for sensu-wordpress plugin
Edit sensu_config/conf.d/client.json
.
sensu_config/config.json
with your config transport (Host, Password, SSL if need).
docker-compose build
docker-compose up -d
Create the /etc/sensu/conf.d/checks/check_wpscan.json
file with the following content:
{
"checks": {
"check_wpscan_mywordpress": {
"command": "/opt/sensu/embedded/bin/check-wpscan.rb -u https://www.mywordpress.com",
"interval": 86400,
"subscribers": [ "client:WPScanNodeName" ]
}
}