0.2.0 • Published 10 years ago

grunt-nagios v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

grunt-nagios Build Status NPM version Dependencies

Nagios grunt module to turn nagios groups on or off

Getting Started

npm install grunt-nagios --save-dev

Nagios task

Once installed you need to configure your grunt file with the options:

nagios: {
  options: {
    server: "127.0.0.1",
    user: "nagiosuser",
    password: "nagiospassword",
    nohttps: false // force request to use http (default is https)
  },
  'mygroup-off': {
    options: {
       group: 'mygroup', // optional: target a group
       grouptype: 'hostgroup', // Options are: hostgroup or servicegroup
       command: 66 // check your nagios setup for available commands
    }
  },
  'myhost-off':{
    options: {
      host: 'my.server.com', // target a specific host
      command: 55 // check your nagios setup for available commands
    }
  }
}

Running

grunt nagios
0.2.0

10 years ago

0.1.0

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago