Giter VIP home page Giter VIP logo

icinga2-scripts's Introduction

Hi there ๐Ÿ‘‹

trophy

Python Java Racket PHP Javascript Bash

LaTeX HTML

Cisco Apache Nginx vmware

Linux Arch Linux Windows

n1tr0's statistics

Langs

icinga2-scripts's People

Contributors

man-in-black avatar n1tr0-5urf3r avatar rsommer avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

icinga2-scripts's Issues

Sorry, user icinga is not allowed to execute '/sbin/nologin -c /bin/bash -c /usr/lib64/nagios/plugins/check_fail2ban' as icinga

Similar to How to run Plugins using director #2130, on Fedora I get the below warning.

icinga2-2.13.1-1.fc34.icinga.x86_64
icingaweb2-2.9.3-1.fc34.icinga.noarch

from CLI this works:

 '/usr/bin/su' 'icinga' '-s' '/bin/bash' '-c' '/usr/lib64/nagios/plugins/check_fail2ban'
OK: fail2ban running

From the GUI

Sorry, user icinga is not allowed to execute '/sbin/nologin -c /bin/bash -c /usr/lib64/nagios/plugins/check_fail2ban' as icinga on ourserver.edu.

sorry

Any work around available? On the master server /etc/sudoers has this:

Defaults:icinga !requiretty
icinga ALL=(root) NOPASSWD:/usr/bin/fail2ban-client status
icinga ALL=(root) NOPASSWD:/usr/bin/fail2ban-client status *
icinga ALL=(root) NOPASSWD:/usr/bin/fail2ban-client get * bantime
nagios ALL=(root) NOPASSWD:/usr/bin/fail2ban-client status
nagios ALL=(root) NOPASSWD:/usr/bin/fail2ban-client status *
nagios ALL=(root) NOPASSWD:/usr/bin/fail2ban-client get * bantime
icinga ALL=(root) NOPASSWD:/usr/lib64/nagios/plugins/check_http

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.