Checks the numbers of warnings reported by the AMT trains in the Montreal area.
Verify that a host MAC addresse doesn’t change
Shinken plugin from SFL. Check asterisk sql cdr
Checks the activity of AWS’s simple queue service.
Checks the size of an AWS sqs queue
Checks empty or full Bixi (public bike service) stations, in Montreal.
Shinken plugin from SFL. Check toner levels of Brother printer by http
Shinken plugin from SFL. Check carp status on Soekris using ssh
Shinken plugin from SFL. A Nagios plug-in to use OpenStack Ceilometer API for metering
Shinken plugin from SFL. check CPU usage
Checks the occupation of stretchers in various hospitals in Quebec.
To find pre-defined hospitals configuration, please check [Quebec-monitoring](https://github.com/matthieucan/quebec-monitoring/blob/master/scripts/hospitals.py)
Checks various environment metrics in Canada.
Shinken plugin from SFL. Fake plugin
Shinken plugin from SFL.
This plugin is made to ensure data freshness into Graphite.
Checks HTTP sites, and doesn’t timeout like good’old check_http.
Get the number of service problems
Runs check-json on all AWS ec2 instances with a particular tag.
Shinken plugin from SFL. Guest and host statistics from libvirt API
check usage bandwidth per month
Shinken plugin from SFL. Check traffic on linux hosts using /proc/net/dev
Shinken plugin from SFL. Plugin to check memory usage
Shinken plugin from SFL. Check mpt HW RAID controllers status
Shinken plugin from SFL. Check OpenBSD system stats using ssh
Shinken plugin from SFL. Check OpenERP using a web scenario
Shinken plugin from SFL. Check Shinken from poller to livestatus module
check postgresql streaming latency
Shinken plugin from SFL. Check toner level from a hp 2600n printer
Checks number of lonely hearts on quebecrencontres.com.
Shinken plugin from SFL. Check various things from a rancid repo depending on the mode.
Shinken plugin from SFL. Pseudo crontab to check if a file is edited by shinken reactionner
check redis data base
Checks number of lonely hearts on reseaucontact.com.
Shinken plugin from SFL. Samba server check
Web scenario tests using Selenium
You need to install Firefox Selenium IDE extension. You can get it HERE
When you got this file, you have to install it in Firefox:
Click on Tools -> Add-ons
Go to Add-ons page
On Add-ons page, select Install Add-on from file...*
Install Add-on from file...
Select selenium-ide-2.8.0.xpi file on your system
selenium-ide-2.8.0.xpi file
Click on Install Now to install extensions
Click on Install Now
You have to change the default configuration of your Firefox Selenium IDE extention.
To open Selenium IDE window, click on Tools -> Selenium IDE
Open Selenium IDE window
In Selenium IDE window, open settings by clicking on Options > Options
Menu Options
Then go on Locator Builders tab
Locators list
Note
You have to put the link item to the bottom of the list
This is an example how to create a new web scenario.
This scenario runs on http://savoirfairelinux.com:
Open Selenium IDE window
Record button
WaitForText .........
New line WaitForText ....
Contact Us page
WaitForText .........
New lines in Selenium IDE window
Now, you can continue your scenario following this example.
Warning
Please read Recommendations
When you have finished your scenario, you can save it. This is highly recommended because, this is the only way to edit the scenario in the future ...
To save the sceario, click on File > Save test Case
Save scenario
In order to use the scenario with the check_selenium plugin, you need to export the scenario to a Python file.
Click on File > Export Test Case As... > Python 2 /unitest / WebDriver
Export scenario
Warning
Use only LOWER CASE letters (a-z) when you export a scenario !!!!!
Note
This file will be used by the check_selenium plugin
Warning
Be carefull about site language:
So, default site language could be FR/ES/DE with YOUR Firefox but it could EN with “vanilla” Firefox profile.
Danger
Also, when you want to wait a text, choose preferally:
This plugin need:
You can install it, with:
pip install -r requirements.txt
Show help
$ ./check_selenium -h
Launch scenario
$ ./check_selenium -S scenarios -s savoirfairelinuxcom
OK: Scenario execution time: 4.57 seconds
If you get an error/bug in your scenario with the plugin, you can launch it in debug mode. In debug mode, Firefox will be launched on your display. You will be able to see what Firefox does.
$ ./check_selenium -S scenarios -s savoirfairelinuxcom -d
OK: Scenario execution time: 4.57 seconds
You can also set the size of your Firefox use -W and -H options. This is usefull for scenario on mobile web site.
$ ./check_selenium -S scenarios -s savoirfairelinuxcom -W 400 -H 800
OK: Scenario execution time: 4.57 seconds
Here, the example of command which can be used in your shinken configuration. Don’t forget to add -f option to get perfdata and get graph.
$ $USER1$/check_selenium -S $SCENARIOS_FOLDER$ -s $ARG1$ -w $ARG2$ -c $ARG3$ -f
Shinken plugin from SFL. Browse web site to find broken links
Shinken plugin from SFL. Given a maillog, checks for a good ratio of sent versus total emails.
This plugin check interface traffic using SNMP
Shinken plugin from SFL. Check Linksys SPA-2102 status
Checks the current state of the metro in Montreal.
TESTTEST
Shinken plugin from SFL. Check Tripplite UPSs
Shinken plugin from SFL. Check channels in error with wanpipe
Checks an x224 (RDP) service.
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_http
or
/usr/lib64/nagios/plugins/check_http
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_dhcp
or
/usr/lib64/nagios/plugins/check_dhcp
The plugin permissions should be:
-rwsr-xr-x root root check_dhcp
If not, you can fix it with
sudo chown root: /usr/lib/nagios/plugins/check_dhcp sudo chmod u+s /usr/lib/nagios/plugins/check_dhcp
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_dns
or
/usr/lib64/nagios/plugins/check_dns
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
type: | string |
---|---|
description: | Hostname to resolve |
type: | string |
---|---|
description: | Address expected returned by the DNS server |
type: | Integer |
---|---|
description: | Warning threshold |
type: | Integer |
---|---|
description: | Critical threshold |
No trigger used with this pack
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_http
or
/usr/lib64/nagios/plugins/check_http
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | 3 comma-separated integer |
---|---|
description: | Load warning threshold (ie: 7,6,5) |
type: | 3 comma-separated integer”, |
---|---|
description: | Load critical threshold (ie: 10,9,8)” |
type: | percent |
---|---|
description: | Warning level for used storage space |
type: | percent |
---|---|
description: | Critical level for used storage space |
type: | integer |
---|---|
description: | Min number of cron processs, warning threshold |
type: | integer |
---|---|
description: | Min number of rsyslog processs, warning threshold |
type: | integer |
---|---|
description: | Min number of rsyslog processs, critical threshold |
type: | integer |
---|---|
description: | Min number of ossec processs, warning threshold |
type: | integer |
---|---|
description: | Min number of ossec processs, critical threshold |
This is the list of triggers used in the pack :
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_ldap
or
/usr/lib64/nagios/plugins/check_ldap
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_ldaps
or
/usr/lib64/nagios/plugins/check_ldaps
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_tcp
or
/usr/lib64/nagios/plugins/check_tcp
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
Use this template to monitoring a standard LDAP server.
Use this template to monitoring a LDAP3 server.
Use this template to monitoring a LDAPS server.
This is the list of settings which can be redefined in the host definition
type: | string |
---|---|
description: | The read snmp community allowed on the linux server |
type: | string |
---|---|
description: | The read snmp community allowed on the linux server |
type: | string |
---|---|
description: | Short name (without the domain) of the user to query the server. Should have rights on the WMI tables for reading |
type: | string |
---|---|
description: | Full name of the user to query. Is by default DOMAIN\USERSHORT |
type: | string |
---|---|
description: | Password for the user that will launch the query |
This pack will create services which need the following plugin :
https://github.com/mzupan/nagios-plugin-mongodb/blob/master/check_mongodb.py
and it here:
/usr/lib/nagios/plugins/check_mongodb.py
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | integer |
---|---|
description: | port of Mongodb |
default: | 27017 |
type: | integer |
---|---|
description: | warning threshold for the connection time to the server |
default: | 2 |
type: | integer |
---|---|
description: | critical threshold for the connection time to the server |
default: | 4 |
type: | integer |
---|---|
description: | warning threshold for the connection pool |
defaut: | 70 |
type: | integer |
---|---|
description: | critical threshold for the connection pool |
defaut: | 80 |
type: | integer |
---|---|
description: | warninig threshold for the lag : second |
defaut: | 15 |
type: | integer |
---|---|
description: | critical threshold for the lag : second |
defaut: | 30 |
type: | integer |
---|---|
description: | warning threshold for the lag |
defaut: | 50 |
type: | integer |
---|---|
description: | critical threshold for the lag |
defaut: | 75 |
type: | integer |
---|---|
description: | warning threshold for usage of ram by MongoDB : gig |
defaut: | 20 |
type: | integer |
---|---|
description: | critical threshold for usage of ram by MongoDB : gig |
defaut: | 28 |
type: | integer |
---|---|
description: | warning threshold for memory mapped : gig |
defaut: | 20 |
type: | integer |
---|---|
description: | critical threshold for memory mapped : gig |
defaut: | 28 |
type: | integer |
---|---|
description: | warning threshold for the lock time : % |
defaut: | 5 |
type: | integer |
---|---|
description: | critical threshold for the lock time : % |
defaut: | 10 |
type: | integer |
---|---|
description: | warning threshold for the average flush time : ms |
defaut: | 100 |
type: | integer |
---|---|
description: | critical threshold for the average flush time : ms |
defaut: | 200 |
type: | integer |
---|---|
description: | warning threshold for the last flush time : ms |
defaut: | 200 |
type: | integer |
---|---|
description: | critical threshold for the last flush time : ms |
defaut: | 400 |
type: | float |
---|---|
description: | warning threshold for the ratio of index hits to misses |
defaut: | .005 |
type: | float |
---|---|
description: | critical threshold for the ratio of index hits to misses |
defaut: | .01 |
type: | integer |
---|---|
description: | warning threshold for the count of queries |
defaut: | 200 |
type: | integer |
---|---|
description: | critical threshold for the count of queries |
defaut: | 150 |
type: | integer |
---|---|
description: | warning threshold for the connection to the primary server of current replicaset : second |
defaut: | 2 |
type: | integer |
---|---|
description: | critical threshold for the connection to the primary server of current replicaset : second |
defaut: | 4 |
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_http
or
/usr/lib64/nagios/plugins/check_http
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | string |
---|---|
description: | The Multisite admin user login. Default: nagiosadmin |
type: | string |
---|---|
description: | The Multisite password admin login. Default: nagiosadmin |
type: | string |
---|---|
description: | The Multisite URL. Default: /check_mk |
type: | Integer |
---|---|
description: | Warning threshold. Default: 3 |
type: | Integer |
---|---|
description: | Warning threshold. Default: 5 |
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_radius
or
/usr/lib64/nagios/plugins/check_radius
This pack will create services which need the following protocol :
Setup the /etc/radiusclient-ng/radiusclient.conf and /etc/radiusclient-ng/servers files properly.
At least, you have to add a line into the servers file for your radius server. Don’t forget to add the secret value!
Setup the /etc/raddb/clients.conf and /etc/raddb/users files properly. The clients.conf file is used to add the poller IP and set the secret value. The users file is used to define user/password credentials
This is the list of settings which can be redefined in the host definition
type: | string |
---|---|
description: | The Radius user login. Default: steve |
type: | string |
---|---|
description: | The Radius password login. Default: testing |
type: | string |
---|---|
description: | The Radius config file path. Default: /etc/radiusclient-ng/radiusclient.conf |
type: | integer |
---|---|
description: | The Radius udp port to query. Default: 1812 |
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_http
or
/usr/lib64/nagios/plugins/check_http
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_tcp
or
/usr/lib64/nagios/plugins/check_tcp
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | integer |
---|---|
description: | Salt master port. Default 4505 |
type: | double |
---|---|
description: | Response time warning threshold. Default 1 |
type: | double |
---|---|
description: | Response time critical threshold. Default 2 |
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_samba.py
or
/usr/lib64/nagios/plugins/check_samba.py
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | string |
---|---|
description: | Samba user (Usally from AD). Default : $DOMAINUSERSHORT$ |
type: | string |
---|---|
description: | Samba password. Default : $DOMAINPASSWORD$ |
type: | string |
---|---|
description: | Samba domain. Default : $DOMAIN$ |
type: | integer |
---|---|
description: | Samba time warning threshold (s). Default 3 |
type: | integer |
---|---|
description: | Samba time critical threshold (s). Default 5 |
type: | integer |
---|---|
description: | Samba time before timeout (s). Default 10 |
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_dhcp
or
/usr/lib64/nagios/plugins/check_dhcp
The plugin permissions should be:
-rwsr-xr-x root root check_dhcp
If not, you can fix it with
sudo chown root: /usr/lib/nagios/plugins/check_dhcp sudo chmod u+s /usr/lib/nagios/plugins/check_dhcp
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | string |
---|---|
description: | IP of apache server where splunk is. Used if splunk is behind a Apache auth |
type: | string |
---|---|
description: | Splunk url on the webserver |
type: | string |
---|---|
description: | Splunk password |
type: | string |
---|---|
description: | Splunk user password |
type: | integer |
---|---|
description: | Response time warning threshold |
type: | integer |
---|---|
description: | Response time warning threshold |
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_ssh
or
/usr/lib64/nagios/plugins/check_ssh
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This pack will create services which need the following modules :
This pack will create services which need the following plugins :
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | integer |
---|---|
description: | offset warning threshold |
type: | integer |
---|---|
description: | offset critical threshold |
type: | integer |
---|---|
description: | dispersion warning threshold |
type: | integer |
---|---|
description: | dispersion critical threshold |
This pack will create services which need the following modules :
Here an example of a arbiter-collectd module config file:
This pack will create services which need the following plugins :
This pack will create services which need the following protocol :
Here an example of a collectd config file:
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This pack will create services which need the following modules :
Here an example of a arbiter-collectd module config file:
This pack will create services which need the following plugins :
This pack will create services which need the following protocol :
Here an example of a collectd config file:
# COLLECTD: custom configuration file used by STM.
# Global options
Hostname "HOSTNAME"
# When the network plugins (network, write_graphite, etc.) take too
# long to respond, limit the metric list stored in memory.
# e.g. When the remote server times out, do not attempt to store all
# the values in memory.
WriteQueueLimitHigh 50
WriteQueueLimitLow 50
######################################################################
# Common plugins for all the machines.
# Activate the logging plugin before all the others
LoadPlugin syslog
<Plugin syslog>
LogLevel info
NotifyLevel WARNING
</Plugin>
# some plugins will be configured in other files
LoadPlugin cpu
LoadPlugin load
LoadPlugin memory
LoadPlugin users
LoadPlugin disk
LoadPlugin df
LoadPlugin interface
LoadPlugin ntpd
LoadPlugin swap
LoadPlugin processes
# NTP comes from 2 servers
<Plugin ntpd>
Host "10.133.63.17"
Host "10.133.63.19"
Port 123
ReverseLookups false
IncludeUnitID true
</Plugin>
<Plugin df>
IgnoreSelected false
ReportByDevice false
# Also including the reserved space
ReportReserved true
# Free/Used Inodes
ReportInodes true
</Plugin>
<Plugin processes>
Process "shinken-poller.py"
Process "cron"
# Process "rsyslogd"
</Plugin>
# The network plugin send the results to Shinken
LoadPlugin network
<Plugin network>
Server "10.133.63.18" "25826"
</Plugin>
# All the machines will send their data to graphite
LoadPlugin write_graphite
<Plugin write_graphite>
<Node "graphite_server_1">
Host "10.133.63.13"
Port "2003"
Prefix ""
Postfix ".collectd"
Protocol "tcp"
LogSendErrors true
</Node>
<Node "graphite_server_2">
Host "10.133.63.14"
Port "2003"
Prefix ""
Postfix ".collectd"
Protocol "tcp"
LogSendErrors true
</Node>
</Plugin>
######################################################################
# Search for configuration in the directory
Include "/opt/collectd/etc/conf.d"
# this file is provided by (Minion ID): SHINKENPOLLER
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | integer |
---|---|
description: | Min number of salt master processs, warning threshold |
type: | integer |
---|---|
description: | Min number of salt master processs, critical threshold |
This pack will create services which need the following modules :
Here an example of a arbiter-collectd module config file:
This pack will create services which need the following plugins :
This pack will create services which need the following protocol :
Here an example of a collectd config file:
# COLLECTD: custom configuration file used by STM.
# Global options
Hostname "HOSTNAME"
# When the network plugins (network, write_graphite, etc.) take too
# long to respond, limit the metric list stored in memory.
# e.g. When the remote server times out, do not attempt to store all
# the values in memory.
WriteQueueLimitHigh 50
WriteQueueLimitLow 50
######################################################################
# Common plugins for all the machines.
# Activate the logging plugin before all the others
LoadPlugin syslog
<Plugin syslog>
LogLevel info
NotifyLevel WARNING
</Plugin>
# some plugins will be configured in other files
LoadPlugin cpu
LoadPlugin load
LoadPlugin memory
LoadPlugin users
LoadPlugin disk
LoadPlugin df
LoadPlugin interface
LoadPlugin ntpd
LoadPlugin swap
LoadPlugin processes
# NTP comes from 2 servers
<Plugin ntpd>
Host "10.133.63.17"
Host "10.133.63.19"
Port 123
ReverseLookups false
IncludeUnitID true
</Plugin>
<Plugin df>
IgnoreSelected false
ReportByDevice false
# Also including the reserved space
ReportReserved true
# Free/Used Inodes
ReportInodes true
</Plugin>
<Plugin processes>
Process "shinken-poller.py"
Process "cron"
# Process "rsyslogd"
</Plugin>
# The network plugin send the results to Shinken
LoadPlugin network
<Plugin network>
Server "10.133.63.18" "25826"
</Plugin>
# All the machines will send their data to graphite
LoadPlugin write_graphite
<Plugin write_graphite>
<Node "graphite_server_1">
Host "10.133.63.13"
Port "2003"
Prefix ""
Postfix ".collectd"
Protocol "tcp"
LogSendErrors true
</Node>
<Node "graphite_server_2">
Host "10.133.63.14"
Port "2003"
Prefix ""
Postfix ".collectd"
Protocol "tcp"
LogSendErrors true
</Node>
</Plugin>
######################################################################
# Search for configuration in the directory
Include "/opt/collectd/etc/conf.d"
# this file is provided by (Minion ID): SHINKENPOLLER
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This pack will create services which need the following modules :
Here an example of a arbiter-collectd module config file:
## Module: Collectd
## Loaded by: Arbiter, Receiver
# Receive passive host and service results from a collectd daemon.
define module {
module_name Collectd
module_type collectd
#
# Specify exact host (optional)
host 0.0.0.0
port 25826
# port 25827
# multicast False
grouped_collectd_plugins cpu,df,disk,interface,ntpd
}
# this file is provided by (Minion ID): SHINKENFULL
This pack will create services which need the following plugins :
This pack will create services which need the following protocol :
Here an example of a collectd config file:
# COLLECTD: custom configuration file used by STM.
# Global options
Hostname "HOSTNAME"
# When the network plugins (network, write_graphite, etc.) take too
# long to respond, limit the metric list stored in memory.
# e.g. When the remote server times out, do not attempt to store all
# the values in memory.
WriteQueueLimitHigh 50
WriteQueueLimitLow 50
######################################################################
# Common plugins for all the machines.
# Activate the logging plugin before all the others
LoadPlugin syslog
<Plugin syslog>
LogLevel info
NotifyLevel WARNING
</Plugin>
# some plugins will be configured in other files
LoadPlugin cpu
LoadPlugin load
LoadPlugin memory
LoadPlugin users
LoadPlugin disk
LoadPlugin df
LoadPlugin interface
LoadPlugin ntpd
LoadPlugin swap
LoadPlugin processes
# NTP comes from 2 servers
<Plugin ntpd>
Host "10.133.63.17"
Host "10.133.63.19"
Port 123
ReverseLookups false
IncludeUnitID true
</Plugin>
<Plugin df>
IgnoreSelected false
ReportByDevice false
# Also including the reserved space
ReportReserved true
# Free/Used Inodes
ReportInodes true
</Plugin>
<Plugin processes>
Process "shinken-poller.py"
Process "cron"
# Process "rsyslogd"
</Plugin>
# The network plugin send the results to Shinken
LoadPlugin network
<Plugin network>
Server "10.133.63.18" "25826"
</Plugin>
# All the machines will send their data to graphite
LoadPlugin write_graphite
<Plugin write_graphite>
<Node "graphite_server_1">
Host "10.133.63.13"
Port "2003"
Prefix ""
Postfix ".collectd"
Protocol "tcp"
LogSendErrors true
</Node>
<Node "graphite_server_2">
Host "10.133.63.14"
Port "2003"
Prefix ""
Postfix ".collectd"
Protocol "tcp"
LogSendErrors true
</Node>
</Plugin>
######################################################################
# Search for configuration in the directory
Include "/opt/collectd/etc/conf.d"
# this file is provided by (Minion ID): SHINKENPOLLER
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | 3 comma-separated integer |
---|---|
description: | Load warning threshold (ie: 7,6,5) |
type: | 3 comma-separated integer”, |
---|---|
description: | Load critical threshold (ie: 10,9,8)” |
type: | percent |
---|---|
description: | Warning level for used storage space |
type: | percent |
---|---|
description: | Critical level for used storage space |
type: | integer |
---|---|
description: | Min number of cron processs, warning threshold |
type: | integer |
---|---|
description: | Min number of cron processs, critical threshold |
type: | integer |
---|---|
description: | Min number of rsyslog processs, warning threshold |
type: | integer |
---|---|
description: | Min number of rsyslog processs, critical threshold |
type: | integer |
---|---|
description: | Min number of ossec processs, warning threshold |
type: | integer |
---|---|
description: | Min number of ossec processs, critical threshold |
This is the list of triggers used in the pack :
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_vmware_api.pl
or
/usr/lib/64nagios/plugins/check_vmware_api.pl
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | percent |
---|---|
description: | Level for cpu usage |
type: | percent |
---|---|
description: | Level for cpu usage |
type: | percent |
---|---|
description: | Level for ram usage |
type: | percent |
---|---|
description: | Level for ram usage |
type: | percent |
---|---|
description: | Level for swap usage |
type: | percent |
---|---|
description: | Level for swap usage |
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_dhcp
or
/usr/lib64/nagios/plugins/check_dhcp
The plugin permissions should be:
-rwsr-xr-x root root check_dhcp
If not, you can fix it with
sudo chown root: /usr/lib/nagios/plugins/check_dhcp sudo chmod u+s /usr/lib/nagios/plugins/check_dhcp
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | 3 comma-separated integer |
---|---|
description: | Load warning threshold (ie: 7,6,5) |
type: | 3 comma-separated integer”, |
---|---|
description: | Load critical threshold (ie: 10,9,8)” |
type: | percent |
---|---|
description: | Warning level for used storage space |
type: | percent |
---|---|
description: | Critical level for used storage space |
type: | integer |
---|---|
description: | Min number of cron processs, warning threshold |
type: | integer |
---|---|
description: | Min number of rsyslog processs, warning threshold |
type: | integer |
---|---|
description: | Min number of rsyslog processs, critical threshold |
type: | integer |
---|---|
description: | Min number of ossec processs, warning threshold |
type: | integer |
---|---|
description: | Min number of ossec processs, critical threshold |
This is the list of triggers used in the pack :
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_mssql_health
or
/usr/lib64/nagios/plugins/check_mssql_health
This plugin is available here : http://labs.consol.de/lang/en/nagios/check_mssql_health/
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | string |
---|---|
description: | Time to connect to the server |
type: | string |
---|---|
description: | Time to connect to the server |
type: | string |
---|---|
description: | Number of currently connected users |
type: | string |
---|---|
description: | Number of currently connected users |
type: | percent |
---|---|
description: | Cpu busy in percent |
type: | percent |
---|---|
description: | Cpu busy in percent |
type: | percent |
---|---|
description: | IO busy in percent |
type: | percent |
---|---|
description: | IO busy in percent |
type: | string |
---|---|
description: | Full table scans per second |
type: | string |
---|---|
description: | Full table scans per second |
type: | string |
---|---|
description: | Transactions per second per database |
type: | string |
---|---|
description: | Transactions per second per database |
type: | string |
---|---|
description: | Batch requests per second |
type: | string |
---|---|
description: | Batch requests per second |
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_x224
or
/usr/lib64/nagios/plugins/check_x224
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This pack will create services which need the following modules :
Here an example of a arbiter-collectd module config file:
## Module: Collectd
## Loaded by: Arbiter, Receiver
# Receive passive host and service results from a collectd daemon.
define module {
module_name Collectd
module_type collectd
#
# Specify exact host (optional)
host 0.0.0.0
port 25826
# port 25827
# multicast False
grouped_collectd_plugins cpu,df,disk,interface,ntpd
}
# this file is provided by (Minion ID): SHINKENFULL
This pack will create services which need the following plugins :
This pack will create services which need the following protocol :
Here an example of a collectd config file:
# COLLECTD: custom configuration file used by STM.
# Global options
Hostname "HOSTNAME"
# When the network plugins (network, write_graphite, etc.) take too
# long to respond, limit the metric list stored in memory.
# e.g. When the remote server times out, do not attempt to store all
# the values in memory.
WriteQueueLimitHigh 50
WriteQueueLimitLow 50
######################################################################
# Common plugins for all the machines.
# Activate the logging plugin before all the others
LoadPlugin syslog
<Plugin syslog>
LogLevel info
NotifyLevel WARNING
</Plugin>
# some plugins will be configured in other files
LoadPlugin cpu
LoadPlugin load
LoadPlugin memory
LoadPlugin users
LoadPlugin disk
LoadPlugin df
LoadPlugin interface
LoadPlugin ntpd
LoadPlugin swap
LoadPlugin processes
# NTP comes from 2 servers
<Plugin ntpd>
Host "10.133.63.17"
Host "10.133.63.19"
Port 123
ReverseLookups false
IncludeUnitID true
</Plugin>
<Plugin df>
IgnoreSelected false
ReportByDevice false
# Also including the reserved space
ReportReserved true
# Free/Used Inodes
ReportInodes true
</Plugin>
<Plugin processes>
Process "shinken-poller.py"
Process "cron"
# Process "rsyslogd"
</Plugin>
# The network plugin send the results to Shinken
LoadPlugin network
<Plugin network>
Server "10.133.63.18" "25826"
</Plugin>
# All the machines will send their data to graphite
LoadPlugin write_graphite
<Plugin write_graphite>
<Node "graphite_server_1">
Host "10.133.63.13"
Port "2003"
Prefix ""
Postfix ".collectd"
Protocol "tcp"
LogSendErrors true
</Node>
<Node "graphite_server_2">
Host "10.133.63.14"
Port "2003"
Prefix ""
Postfix ".collectd"
Protocol "tcp"
LogSendErrors true
</Node>
</Plugin>
######################################################################
# Search for configuration in the directory
Include "/opt/collectd/etc/conf.d"
# this file is provided by (Minion ID): SHINKENPOLLER
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | Comma separated string list |
---|---|
description: | MSSQL Instances for Sophos. Default : SOPHOS (only one element) |
type: | integer |
---|---|
description: | Min number of Sophos processes, warning threshold |
type: | integer |
---|---|
description: | Min number of Sophos processes, critical threshold |
This is the list of triggers used in the pack :
This pack will create services which need the following plugin:
/usr/lib/nagios/plugins/check_dhcp
or
/usr/lib64/nagios/plugins/check_dhcp
The plugin permissions should be:
-rwsr-xr-x root root check_dhcp
If not, you can fix it with
sudo chown root: /usr/lib/nagios/plugins/check_dhcp sudo chmod u+s /usr/lib/nagios/plugins/check_dhcp
This pack will create services which need the following protocol :
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | string |
---|---|
description: | domain password |
type: | string |
---|---|
description: | MSSQL user |
type: | string |
---|---|
description: | MSSQL password |
type: | integer |
---|---|
description: | warning threshold for infected servers count |
type: | integer |
---|---|
description: | critical threshold for infected servers count |
This pack will create services which need the following modules :
Here an example of a arbiter-collectd module config file:
This pack will create services which need the following plugins :
This pack will create services which need the following protocol :
Here an example of a collectd config file:
Copy the pack folder in the packs folder defined in shinken.cfg (cfg_dir=packs)
This is the list of settings which can be redefined in the host definition
type: | 3 comma-separated integer |
---|---|
description: | Load warning threshold (ie: 7,6,5) |
type: | 3 comma-separated integer”, |
---|---|
description: | Load critical threshold (ie: 10,9,8)” |
type: | integer |
---|---|
description: | Min number of cron processs, warning threshold |
type: | integer |
---|---|
description: | Min number of rsyslog processs, warning threshold |
type: | integer |
---|---|
description: | Min number of rsyslog processs, critical threshold |
type: | integer |
---|---|
description: | Min number of ossec processs, warning threshold |
type: | integer |
---|---|
description: | Min number of ossec processs, critical threshold |
This is the list of triggers used in the pack :