Monitoring plugin to check, if Piwik is up to date.


This is a monitoring plugin for icinga to check, if the Piwik version of the given URL is up to date.


Login to Piwik, go to your user settings and get your API authentication token there.


Try the plugin at the command line like this:

./ -u -t MYTOKEN

You can define the icinga2 check command as follows:

/* Define check command for check_piwik */
object CheckCommand "piwik" {
  import "plugin-check-command"
  command = [ PluginDir + "/" ]

  arguments = {
    "-u" = {
      "required" = true
      "value" = "$pw_url$"
    "-t" = {
      "required" = true
      "value" = "$pw_token$"


  • 2017-03-09: adds perfdata
  • 2017-01-29: fixes USAGE information
  • 2017-01-29: initial version


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see