Skip to content
This repository has been archived by the owner. It is now read-only.

[dev.icinga.com #1300] display host/service dependencies in host/service details in extinfo.cgi #582

Closed
icinga-migration opened this issue Mar 17, 2011 · 10 comments
Milestone

Comments

@icinga-migration
Copy link
Member

@icinga-migration icinga-migration commented Mar 17, 2011

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

Created by mfriedrich on 2011-03-17 23:22:58 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2011-04-27 21:20:25 +00:00)
Target Version: 1.4
Last Update: 2014-12-08 09:40:01 +00:00 (in Redmine)


since this hasen't been implemented in the classic ui (and i don't want a map either), this is a feature request from us.

likewise here
http://ideas.nagios.org/a/dtd/Display-service-and-host-dependencies-in-the-web-interface/2289-3955

Attachments

Changesets

2011-04-27 20:50:23 +00:00 by mfriedrich 0bc0b9e

classic ui: display host/service dependencies in host/service details in extinfo.cgi #1300

fixes #1300
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Mar 18, 2011

Updated by ricardo on 2011-03-18 09:24:57 +00:00

I could imagine to see this in extinfo.cgi. in host/service extinfo you have a new link in top left corner where it leads you to a dependency view.

this is already kind of implemented in statusmap.cgi

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Mar 18, 2011

Updated by mfriedrich on 2011-03-18 09:30:26 +00:00

a new column showing the parent with url would be sufficient for our needs in the first attempt. we don't need a view, like it is done on the statusmap.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Mar 18, 2011

Updated by ricardo on 2011-03-18 09:39:45 +00:00

new column where? in status.cgi, or just a new icon next to action and co icons?

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Mar 18, 2011

Updated by mfriedrich on 2011-03-18 09:44:31 +00:00

extinfo.cgi - within state information maybe?

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Mar 23, 2011

Updated by ricardo on 2011-03-23 15:22:37 +00:00

sounds good.

A link to the service/host it depends on.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Mar 29, 2011

Updated by mfriedrich on 2011-03-29 15:26:57 +00:00

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

taking the implementation of cgi/config.c using the lists referenced by common/objects.c ... but the question is still, where to put on extinfo.c (i propose /* middle column of top row */ ) .. and/or make it optional by cfg option?

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Apr 1, 2011

Updated by ricardo on 2011-04-01 11:59:05 +00:00

I would put it under "Member of" in extinfo.cgi.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Apr 27, 2011

Updated by mfriedrich on 2011-04-27 20:49:24 +00:00

  • File added icinga_host_dependency_dbase1_on_www1.png
  • File added icinga_service_dependency_1.png
  • File added icinga_service_dependency_2.png
  • File added icinga_service_dependency_3_empty.png
  • Subject changed from display host/service dependency in host/service details to display host/service dependencies in host/service details in extinfo.cgi
  • Done % changed from 0 to 80

i have now implemented host and service dependency view in extinfo.cgi

test cfg

define host{
        use                     linux-server            ; Name of host template to use
        host_name               WWW1
        alias                   WWW1
        address                 127.0.0.1
}

define host{
        use                     linux-server            ; Name of host template to use
        host_name               DBASE1
        alias                   DBASE1
        address                 127.0.0.1
}

define service{
        use                             local-service         ; Name of service template to use
        host_name                       WWW1
        service_description             Main Web Site
        check_command                   check_ping!100.0,20%!500.0,60%
}

define service{
        use                             local-service         ; Name of service template to use
        host_name                       WWW1
        service_description             Apache Web Server
        check_command                   check_ping!100.0,20%!500.0,60%
}

define servicedependency{
        host_name                       WWW1
        service_description             Apache Web Server
        dependent_host_name             WWW1
        dependent_service_description   Main Web Site
        execution_failure_criteria      n
        notification_failure_criteria   w,u,c
}

define hostdependency{
        host_name                       WWW1
        dependent_host_name             DBASE1
        notification_failure_criteria   d,u
}

screens

hostdependency
icinga_host_dependency_dbase1_on_www1.png

servicedependency
icinga_service_dependency_1.png
icinga_service_dependency_2.png

this will be enabled by default, if nothing defined, it's still behaving like the servicegroup info.

icinga_service_dependency_3_empty.png

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Apr 27, 2011

Updated by mfriedrich on 2011-04-27 21:20:25 +00:00

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

Applied in changeset 0bc0b9e.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Dec 8, 2014

Updated by mfriedrich on 2014-12-08 09:40:01 +00:00

  • Project changed from 19 to Core, Classic UI, IDOUtils
  • Category set to Classic UI
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.