Commit graph

510 commits

Author SHA1 Message Date
Thomas Gelf
63ad013c5a Node: rename hasProblems to isProblem 2015-11-19 14:49:45 +01:00
Thomas Gelf
0f3882e8b2 Node::hasProblems(): new method 2015-11-19 14:49:35 +01:00
Thomas Gelf
6c701a63fc SimulationForm: remove obsolete code 2015-11-17 13:01:16 +01:00
Thomas Gelf
05882d5d09 CheckCommand: delete legacy code 2015-11-17 12:51:05 +01:00
Thomas Gelf
349b996233 BpConfigForm: directly use url object 2015-11-17 12:49:11 +01:00
Thomas Gelf
f9b9d9645a cli/check: return unknown on process failures 2015-11-16 08:38:21 +01:00
Thomas Gelf
fe5181052f BusinessProcess: new method listBpNodes() 2015-11-10 21:11:20 +01:00
Thomas Gelf
a940c160ff LegacyStorage: sort process configs by name 2015-11-02 17:25:51 +01:00
Thomas Gelf
8ce6bf9401 Controller: use local form loader
fixes #10443
2015-10-22 19:19:52 +02:00
Thomas Gelf
3a704a0c52 ShipConfigFiles: director hook sample 2015-10-16 22:53:04 +02:00
Thomas Gelf
90a19fee4d css: fix up host color 2015-10-16 22:51:23 +02:00
Thomas Gelf
20d3eb1e1e ImportedNode: gracefully handle missing files 2015-10-16 22:48:57 +02:00
Thomas Gelf
b429d81d36 SimulationForm: make use of new form base lib
Makes things easier. Less hacks, more features
2015-10-07 17:10:49 +02:00
Thomas Gelf
ae4cf396dc node/simulate: link to overlay 2015-10-07 17:10:26 +02:00
Thomas Gelf
0ab28c3993 node/empty: "closeme"-hack for overlay 2015-10-07 17:10:05 +02:00
Thomas Gelf
f27387e723 node/simulate: remove controls for overlay 2015-10-07 17:09:36 +02:00
Thomas Gelf
e2a0259fd1 process/show: remove a couple of main targets 2015-10-07 16:51:37 +02:00
Thomas Gelf
ef949e3adb Implement overlay as a link target 2015-10-07 16:48:59 +02:00
Thomas Gelf
8391435c49 css: reset text-small (for time-since) 2015-10-07 16:46:01 +02:00
Thomas Gelf
960446a16e Controller: add loadForm helper method 2015-10-06 22:35:44 +02:00
Thomas Gelf
bf5b3424be BpNode: provide also host state types in summary 2015-10-06 22:35:00 +02:00
Thomas Gelf
4c9ed65a09 RenderStateBadges: strip state name logic 2015-10-06 22:33:59 +02:00
Thomas Gelf
0c633491d4 QuickForm: initial import, makes things easier 2015-10-06 22:33:05 +02:00
Thomas Gelf
4a05f19b00 css: show timeSince only when hovered 2015-10-06 22:31:43 +02:00
Thomas Gelf
dccee863ef ServiceNode: formatting 2015-10-06 22:29:06 +02:00
Thomas Gelf
1088f877c1 BpNode: fix parent signature 2015-10-06 09:17:16 +02:00
Thomas Gelf
50b4625290 process/show: trigger immediate refresh on page load 2015-10-06 09:16:39 +02:00
Thomas Gelf
95008cd251 node/simulate: add tabs 2015-10-06 09:14:04 +02:00
Thomas Gelf
944ec1c880 Node: remove duplicate method 2015-10-06 09:03:10 +02:00
Thomas Gelf
675b74ada9 Node: provide generic helpers 2015-10-06 08:59:22 +02:00
Thomas Gelf
1220fc4ae5 BusinessProcess: simulation overrides "missing" 2015-10-06 08:57:39 +02:00
Thomas Gelf
2b91ec2309 BusinessProcess: remove obsolete sprintf 2015-10-05 18:48:43 +02:00
Thomas Gelf
03ef17328c BusinessProcess: do not store modification date
File mtime should suffice, and this interferes with "idempotent" cm
tools
2015-10-05 17:51:05 +02:00
Thomas Gelf
4a790976af Introduce the NOT operator (!)
refs #10315
2015-10-05 16:50:33 +02:00
Thomas Gelf
3009a28d3d BusinessProcess, BpNode: improve legacy storage
Before this fix depending on tree structure processes used multiple
times as a sub-node could have been stored multiple times, resulting
in warnings at render time.
2015-10-05 16:40:08 +02:00
Thomas Gelf
f5facc02d1 HostNode: override state maps 2015-10-05 16:38:45 +02:00
Thomas Gelf
8a3a04b5f9 LegacyStorage: allow weird operator combinations
This allows for "a = b & c & d &" (Neteye writes such config) and for
future extensions like "a = ! b"
2015-10-05 16:37:10 +02:00
Thomas Gelf
ac33a83ee2 css: allow hosts to use host state classes 2015-10-05 16:00:51 +02:00
Thomas Gelf
e80f7765c8 Node: use new helpers, allow to override maps 2015-10-05 15:58:53 +02:00
Thomas Gelf
93cede7a32 Node: use available icinga state constants 2015-10-05 13:35:09 +02:00
Thomas Gelf
8de13f06b2 BpNode: clean up, remove legacy constructor comments 2015-10-05 12:39:37 +02:00
Thomas Gelf
472e31e55e Node: move logic to new getStateClassNames() method 2015-10-05 12:38:12 +02:00
Thomas Gelf
64bab3f8da Node: remove implementation-specific logic 2015-10-05 12:34:47 +02:00
Thomas Gelf
a97073334c BpNode: move state-related logic to base Node 2015-10-05 08:42:59 +02:00
Thomas Gelf
01929bbfae module.less: even more normalization :-/ 2015-10-05 08:16:56 +02:00
Thomas Gelf
e242742deb BpNode: dedicated methods for state transformation 2015-10-02 21:41:20 +02:00
Thomas Gelf
951d4d0ab0 BpNode: calculate latest state change 2015-10-02 08:32:54 +02:00
Thomas Gelf
bf69d5298a Node: show timeSince for all node types 2015-10-02 08:32:16 +02:00
Thomas Gelf
96d8949f52 ServiceNode: show timeSince 2015-10-01 23:10:30 +02:00
Thomas Gelf
944fb7741a BpConfigForm: fix redirect url, web2 api changed 2015-10-01 23:08:57 +02:00