Code Monkey home page Code Monkey logo

Comments (5)

HenriWahl avatar HenriWahl commented on May 25, 2024

Another note: try to switch connection method for actions to IP - thus the DNS-wise wrong space-containing hostname should play no role anymore.

from nagstamon.

gtsjoen avatar gtsjoen commented on May 25, 2024

That was my first thought as well, but unfortunatelly the connection method was already on IP. I even tried moving the connection method to something else and back to IP, but the same error remains in the log file

from nagstamon.

HenriWahl avatar HenriWahl commented on May 25, 2024

How do spaceless hostnames behave?

from nagstamon.

gtsjoen avatar gtsjoen commented on May 25, 2024

The ping action works on a spaceless host, since it is able to retrieve the address field from the host cgi page at that moment.
DEBUG: 2014-04-01 16:13:22.160000 Nagios IPK BE/ZAVENTEM/SERVER/IT/IT/IPBE10387/TEST Clicked context menu: PING
DEBUG: 2014-04-01 16:13:22.166000 Nagios IPK FetchURL: http://nagios/nagios/cgi-bin/extinfo.cgi?type=1&host=BE/ZAVENTEM/SERVER/IT/IT/IPBE10387/TEST CGI Data: None
DEBUG: 2014-04-01 16:13:22.626000 Nagios IPK BE/ZAVENTEM/SERVER/IT/IT/IPBE10387/TEST IP of BE/ZAVENTEM/SERVER/IT/IT/IPBE10387/TEST: ipbe10387
DEBUG: 2014-04-01 16:13:22.626000 Nagios IPK BE/ZAVENTEM/SERVER/IT/IT/IPBE10387/TEST ACTION: COMMAND start ping -t ipbe10387

from nagstamon.

HenriWahl avatar HenriWahl commented on May 25, 2024

Well, so in my opinion the moste senseful solution is to rename the host spaceless. The ping command or any other command will always fails because spaces ARE no allowed parts of hostnames.
A little chance to do anything with space containing hostnames might be putting them into "", like "$ADDRESS$" or maybe via "$HOST$".

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.