Quantcast
Channel: dingleberry.me » dingleberry.me – technical blog shit
Viewing all articles
Browse latest Browse all 14

running nagiosplugins via saltstacks peer communicationsystem

$
0
0

So …my previous post was  similar to this, but you most likely dont want to run the salt-master and nagios on the same server, so I had to find a way to let the nagios-server execute its plugins on hosts via the salt-master. This can be done using the python client api and saltstacks own peer communication system.

First of all, read this : http://docs.saltstack.com/ref/peer.html

Then check out my wrapper here : https://github.com/mortis1337/nagios-plugins/blob/master/check_by_saltpeer.py

Yay! Now you can throw away NRPE forever and stop using ssh-keys for the nagiosuser if you are doing that allready.

Nagiosplugins over zmq? I like it :)


Viewing all articles
Browse latest Browse all 14

Trending Articles