Commit graph

12 commits

Author SHA1 Message Date
Ravi Kumar Kempapura Srinivasa
d494cf3cee Each PHP statement must be on a line by itself
Previously there was an error during php codesniffer test at line 53 of IcingaDbState. Changes are made to correct this error.
2022-02-03 16:54:01 +01:00
Ravi Kumar Kempapura Srinivasa
c0f422d750 Resolve PHP CodeSniffer issue
Remove the extra semi-colon in line 53 in IcingaDbState
2022-02-03 16:54:01 +01:00
Ravi Kumar Kempapura Srinivasa
843a556f6e Remove the unwanted comments in IcingaDbState
Clean IcingaDbState class by removing the unwanted comments.
2022-02-03 16:54:01 +01:00
Ravi Kumar Kempapura Srinivasa
efcea15ab6 Clean the scripts and resolve the comments
Clean the scripts to pass the phpcodesniffer tests and resolve the comments provided by Eric.
2022-02-03 16:54:01 +01:00
Ravi Kumar Kempapura Srinivasa
1a0ddfb08b Add IcingaDB MySQL backend in businessprocess
IcingaDB MySQL backend is added to the businessprocess module to obtain information regarding monitored nodes.

ref #276
2022-02-03 16:54:01 +01:00
Eric Lippmann
a2854e8cf4 Use display_name as alias for host and service nodes 2020-02-05 15:01:22 +01:00
Johannes Meyer
6f3ffe48e2 BpConfig: Only list each involved configuration once 2019-02-25 08:19:39 +01:00
Johannes Meyer
a681d7e393 Fix that imported nodes have no state, once and for all 2019-02-22 12:26:24 +01:00
Thomas Gelf
079352d3b8 MonitoringState: filter host_name, not name
fixes #189
2018-12-12 15:40:14 +01:00
Markus Frosch
bf52fd0dd6 MonitoringState: Improve host and service filter
`host IN ...` is a lot faster than `host = 'xx' OR host = 'yy'` in
larger processes.

And document performance of querying for specific services.
2017-06-01 15:40:09 +02:00
Thomas Gelf
22583aa083 BpConfig: renamed from BusinessProcess 2017-01-11 14:09:30 +01:00
Thomas Gelf
8f1ce049de MonitoringState: introduce new helper class
Removes logic from BusinessProcess class
2017-01-11 09:51:39 +01:00