shinken | Flexible and scalable monitoring framework | Application Framework library
kandi X-RAY | shinken Summary
kandi X-RAY | shinken Summary
Flexible and scalable monitoring framework
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Dispatch all configurations
- Creates poller and reactionners links
- Returns a copy of all the satellite members of this realm
- Return a list of schedulers ordered by the scheduler
- Create HTML message from Shinken
- Updates this mapping with the given values
- Add an image to mail
- Return the Shinken URL
- Create an INSERT statement
- Check if this macromodulation is correct
- Loads the test test variable
- Exit gracefully
- Start the process
- Explode services
- Creates a text message
- Explode contact group members
- Determine whether this item is correct
- Gets start and end time of the period
- Get start time and end time of the week
- Gets start and end time of the day
- Check if the arbiter has to be dispatched
- Check if this item is correct
- Return start and end time of the Daterange
- Create an UPDATE query
- Check if this object is correct
- Prepare to_satellites
shinken Key Features
shinken Examples and Code Snippets
version: '2'
services:
arbiter:
image: pockost/shinken:2.4-webui2-base
restart: unless-stopped
command: "/usr/bin/shinken-arbiter -c /etc/shinken/shinken.cfg"
links:
- poller
- scheduler
- reactionner
- brok
define broker {
...
modules ..., mongo-logs
}
## Module: mongo-logs
## Loaded by: Broker
# Store the Shinken logs in a mongodb database
# Store hosts/services availability in a mongodb database
#
# This module is nece
from application import Application
from templaterule import TemplateRule
from util import compare_attr
def __mi_ident__(params={}):
if compare_attr("type", params, ".*windows.*"):
return Windows
class Windows(Application):
templat
Community Discussions
Trending Discussions on shinken
QUESTION
From the shinken.cfg this values can be set..,
...ANSWER
Answered 2021-May-25 at 15:07Timeout can be set at the command level
QUESTION
We are using Shinken Framework for monitoring our servers, in that I got a scenario like I want to execute a service check only once in a day that is everyday at 1 AM, how can I configure it?
Using check_interval or time_period can we achieve this..?
...ANSWER
Answered 2017-Jun-11 at 12:50You need to set check_interval
and check_period
.
For example, we are using check at 9 AM everyday for check system updates. Just change time and service for your needs.
QUESTION
Good day. I first work with Shinken and similar products in general.So do not judge strictly.
The question is how to get the data through Shinken Livestatus API.
Shinken is installed and running. Livestatus is configured and running on the localhost:50000. Ping is coming.
But I can not understand how to ask something, get some data. The documentation did not shed much light on my question. And whether it is possible through this API to receive metrics which sends CollecD to mod-collectd
ANSWER
Answered 2017-May-16 at 09:50After experimenting and studying the source code, I came to this conclusion.
In the livestatus module, you can open a port or unixsocket, this is understandable. But here you can refer to it from the commands found in the source code mapping.py in the dictionary livestatus_attribute_map.
The main thing after the request is to put two line breaks !!!
QUESTION
I have written a python script which includes this line:
response = subprocess.check_output(['/usr/bin/sudo /bin/su - backup -c "/usr/bin/ssh -q -o StrictHostKeyChecking=no %s bash -s" <<\'EOF\'\nPATH=/usr/local/bin:$PATH\nmvn --version|grep -i Apache|awk \'{print $3}\'|tr -d \'\n\'\nEOF' % i], shell=True)
This is in a for loop that goes through a list of hostnames and each one I want to check the result of the command on it. This works fine when I run it myself, however, this script is to be run by a system user (shinken - a nagios fork) and at that point I hit an issue.
...ANSWER
Answered 2017-Jan-26 at 22:18As for sudo
:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install shinken
You can use shinken like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page