Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #9831] Implement support for resolving DNS hostnames in check_ping.exe #3220

Closed
icinga-migration opened this issue Aug 4, 2015 · 10 comments
Labels
bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/9831

Created by 00stromy00 on 2015-08-04 17:55:00 +00:00

Assignee: jflach
Status: Resolved (closed on 2016-09-12 16:00:04 +00:00)
Target Version: 2.6.0
Last Update: 2016-12-13 07:28:45 +00:00 (in Redmine)

Icinga Version: 2.3.5
Backport?: Not yet backported
Include in Changelog: 1

On Windows-Host the check_ping.exe is not able to handle Hostname or FQDN, only IP as Paramter Hostname (-H) is accepted

Icingaversion 2.3.5-23
Windows Server 2008R2

Command with result:
c:\Program Files (x86)\ICINGA2\sbin>"check_ping" "-H" host.net.local "-c" "5000,100 " "-w" "3000,80"
host.net.local is not a valid ip address

DebugLog:
Daylight Time] notice/Process: Running command '"C:\Program Files (x86)\ICINGA2/sbin/check_ping" "-H" "host.net.local" "-c" "5000,100 " "-w" "3000,80"': PID 29876
[2015-08-04 16:24:59 W. Europe Daylight Time] debug/CheckerComponent: Check finished for object 'host.net.local'
[2015-08-04 16:24:59 W. Europe Daylight Time] notice/Process: PID 29876 ('"C:\Program Files (x86)\ICINGA2/sbin/check_ping" "-H" "host.net.local" "-c" "5000,100 " "-w" "3000,80"') terminated with exit code 3
[2015-08-04 16:24:59 W. Europe Daylight Time] notice/Checkable: State Change: Checkable host.net.local soft state change from UP to DOWN detected.

http://monitoring-portal.org/wbb/index.php?page=Thread&threadID=33976

Changesets

2016-03-02 15:28:18 +00:00 by jflach 4dca08b

Add hostname support for check_ping.exe

refs #9831

2016-09-12 15:55:14 +00:00 by jflach abd99ef

Add hostname support for check_ping

ipv6 resolving has not been tested thoroughly

fixes #9831
@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-02-24 23:43:52 +00:00

  • Status changed from New to Assigned
  • Assigned to set to jflach

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-04-13 10:22:24 +00:00

  • Target Version set to 2.5.0

What's the status for this ticket?

@icinga-migration
Copy link
Author

Updated by jflach on 2016-04-18 07:10:47 +00:00

The commit I did a month ago doesn't quite work, I definitely want this to be in 2.5

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-06-16 08:27:45 +00:00

  • Assigned to changed from jflach to gbeutner

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-07-04 09:21:02 +00:00

  • Assigned to changed from gbeutner to jflach

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-07-07 13:46:56 +00:00

  • Target Version changed from 2.5.0 to 2.6.0

@icinga-migration
Copy link
Author

Updated by jflach on 2016-09-12 16:00:04 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset abd99ef.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-11-18 10:46:54 +00:00

  • Tracker changed from Feature to Bug
  • Icinga Version set to 2

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-12-12 12:24:01 +00:00

  • Subject changed from check_ping.exe not able to resolv hostname or fqdn to check_ping.exe doesn't support resolving DNS hostnames

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-12-13 07:28:45 +00:00

  • Subject changed from check_ping.exe doesn't support resolving DNS hostnames to Implement support for resolving DNS hostnames in check_ping.exe

@icinga-migration icinga-migration added bug Something isn't working Plugins labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.6.0 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant