Code Monkey home page Code Monkey logo

nagios-discord's Introduction

Hi ๐Ÿ‘‹, I'm Operator873

A SysAdmin that meddles in scripting and PythonDev

  • ๐Ÿ”ญ Iโ€™m currently working on IRCord

  • ๐Ÿ“ซ You can email me anytime at: operator873 at the gmail place

  • The good ol' Wall of Honor

Certified NERD or above in the following:

redhat ansible bash git grafana linux nginx python rabbitMQ ruby ansible ansible

nagios-discord's People

Contributors

operator873 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

enigmainfosec

nagios-discord's Issues

Send-service.py script not sending notifications for services containing a blank space in the name

I'm not sure if you're still maintaining this project, but I've run into an issue with the send-service.py script.

I'm really happy I've found your code for Discord notifications, but the send-service.py doesn't seem to work for me when the service name contains a blank space, as already mentioned in the title. Looking at the Nagios logging, the send-service.py runs fine and doesn't return any errors - the logging simply tells me that a service notification has been send out. However, no message is seen in Discord.

When do I see a message in Discord?
I can see a message in Discord coming from Nagios when the service doesn't contain a blank space in it's name and the name is just a single word - for example "Sonarr"

When do I not see a message in Discord?
I cannot see a message in Discord coming from Nagios when the service does contain a blank space in it's name and the name exists of multiple words - for example "Ansible AWX"

The type of service check doesn't seem to have an impact as this behaviour is seen on services with the same check. Can you confirm that this is related (or not) to the send-service.py script?

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.