Giter VIP home page Giter VIP logo

Comments (13)

HenriWahl avatar HenriWahl commented on June 11, 2024

Looks like a BeatifulSoup bug but anyways - why is the hostname invalid? Maybe check you DNS? Or look at check_icmp?

from nagstamon.

bunnu avatar bunnu commented on June 11, 2024

We had a bigger crash including our DNS. So the check returned that error. Unfortunally we couldn't see any status in Nagstatmon because of this bug.

from nagstamon.

HenriWahl avatar HenriWahl commented on June 11, 2024

Ouch... well I will look into this after vacation time.

from nagstamon.

bunnu avatar bunnu commented on June 11, 2024

Thanks Henri!
If you need any help or testing I can do, please let me know. Enjoy your holidays :-)

from nagstamon.

HenriWahl avatar HenriWahl commented on June 11, 2024

Do you still have that problem or did you fix your DNS?

from nagstamon.

HenriWahl avatar HenriWahl commented on June 11, 2024

Can you try latest version 680d6a6?

from nagstamon.

bunnu avatar bunnu commented on June 11, 2024

Nagstatmon doesn't shows the error anymore. The Service is shown as down correctly. There is just one flaw: The Status information is beeing cut off after the umlaut. E.g. it should be "check_ping: Ungültiger hostname". Nagstatmon shows "check_ping: Ungo" (see screenshot)

nagstatmon

from nagstamon.

HenriWahl avatar HenriWahl commented on June 11, 2024

Funny... I added a "ignore" to UTF8 decoding, please check f5ec619

from nagstamon.

bunnu avatar bunnu commented on June 11, 2024

Unfortunately Nagstatmon now shows again the previous error (ValueError: unichr() arg not in range(0x10000))

from nagstamon.

HenriWahl avatar HenriWahl commented on June 11, 2024

This is bad... this "ignore" option was thought to ignore such errors... looks like the best thing achievable is the "check_ping: Ungo" - variant. Two soulutions:

  • set the locale of your monitoring server to C
  • fix your DNS
    I really see no other place where else to handle that UTF trouble. :-(

from nagstamon.

bunnu avatar bunnu commented on June 11, 2024

I would prefer the solution as in commit 680d6a6

from nagstamon.

HenriWahl avatar HenriWahl commented on June 11, 2024

Yes, would be the best option I think too.

from nagstamon.

HenriWahl avatar HenriWahl commented on June 11, 2024

Please check the latest binaries at http://nagstamon.ifw-dresden.de/files-nagstamon/unstable/ or source from Github.

from nagstamon.

Related Issues (20)

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.