diff --git a/.gitignore b/.gitignore index 7af60cb..222ba6a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ target/* *.iws *.idea flipkart-boot.log +/target/ diff --git a/pom.xml b/pom.xml index 6245968..574e742 100644 --- a/pom.xml +++ b/pom.xml @@ -1,57 +1,60 @@ - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.flipkart.zjsonpatch - zjsonpatch - 0.2.1 - jar + com.myitops.external.com.flipkart.zjsonpatch + com.myitops.external.zjsonpatch + 0.2.1.2 + bundle - zjsonpatch - Java Library to find / apply JSON Patches according to RFC 6902 - https://github.com/flipkart-incubator/zjsonpatch/ + zjsonpatch + Java Library to find / apply JSON Patches according to RFC 6902 + https://github.com/NetNow/zjsonpatch/ - - scm:git:https://github.com/flipkart-incubator/zjsonpatch.git - scm:git:https://github.com/flipkart-incubator/zjsonpatch.git - HEAD - https://github.com/flipkart-incubator/zjsonpatch - + + scm:git:https://github.com/NetNow/zjsonpatch.git + scm:git:https://github.com/NetNow/zjsonpatch.git + HEAD + https://github.com/NetNow/zjsonpatch + - - - vishwakarma - Gopi Vishwakarma - vishwakarma.iiita@gmail.com - - + + + vishwakarma + Gopi Vishwakarma + vishwakarma.iiita@gmail.com + + - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + - - UTF-8 - + + UTF-8 + 1.7.12 + 1.0.1 + 2.6.3 + - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.3.1 - - 1.6 - 1.6 - true - true - - - + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.3.1 + + 1.6 + 1.6 + true + true + + + + + org.apache.felix + maven-bundle-plugin + 3.4.0 + true + + + + + + + org.slf4j + slf4j-api + ${slf4j.version} + + + + ch.qos.logback + logback-classic + ${logback.version} + + + + ch.qos.logback + logback-core + ${logback.version} + + + com.fasterxml.jackson.core + jackson-databind + ${jackson.version} + + + com.fasterxml.jackson.core + jackson-core + ${jackson.version} + + + com.google.guava + guava + 18.0 + + + test + commons-io + commons-io + 2.4 + + + test + junit + junit + 4.8.2 + + + org.apache.commons + commons-collections4 + 4.0 + + + + + + thirdparty + Thirdparty Repository + http://reposerver.int-link.com/nexus/content/repositories/thirdparty + + + thirdparty-snapshots + Thirdparty Snapshot Repository + http://reposerver.int-link.com/nexus/content/repositories/thirdparty-snapshots + + diff --git a/src/main/java/com/flipkart/zjsonpatch/Constants.java b/src/main/java/com/flipkart/zjsonpatch/Constants.java index f9746ee..ec8ea8b 100644 --- a/src/main/java/com/flipkart/zjsonpatch/Constants.java +++ b/src/main/java/com/flipkart/zjsonpatch/Constants.java @@ -10,5 +10,7 @@ class Constants { public static String OP = "op"; public static String VALUE = "value"; public static String PATH = "path"; + public static String KEY = "key"; public static String FROM = "from"; + public static String PATH_OBJECT = "object"; } diff --git a/src/main/java/com/flipkart/zjsonpatch/Diff.java b/src/main/java/com/flipkart/zjsonpatch/Diff.java index 2a83cb2..dc0f9d2 100644 --- a/src/main/java/com/flipkart/zjsonpatch/Diff.java +++ b/src/main/java/com/flipkart/zjsonpatch/Diff.java @@ -13,12 +13,20 @@ class Diff { private List path; private JsonNode value; private List toPath; //only to be used in move operation - + private String keyPath; + Diff(Operation operation, List path, JsonNode value) { this.operation = operation; this.path = path; this.value = value; } + + Diff(Operation operation, List path, JsonNode value, String keyPath) { + this.operation = operation; + this.path = path; + this.value = value; + this.keyPath = keyPath; + } Diff(Operation operation, List fromPath, JsonNode value, List toPath) { this.operation = operation; @@ -35,13 +43,21 @@ public List getPath() { return path; } + public String getKeyPath() { + return keyPath; + } + public JsonNode getValue() { return value; } - + public static Diff generateDiff(Operation replace, List path, JsonNode target) { return new Diff(replace, path, target); } + +// public static Diff generateDiff(Operation replace, List path, JsonNode target) { +// return new Diff(replace, path, target, keyPath); +// } List getToPath() { return toPath; diff --git a/src/main/java/com/flipkart/zjsonpatch/JsonChanges.java b/src/main/java/com/flipkart/zjsonpatch/JsonChanges.java new file mode 100644 index 0000000..703d828 --- /dev/null +++ b/src/main/java/com/flipkart/zjsonpatch/JsonChanges.java @@ -0,0 +1,74 @@ +package com.flipkart.zjsonpatch; + +import com.fasterxml.jackson.databind.JsonNode; + +import java.util.List; +import java.util.Map; + +public class JsonChanges { + + private List added; + private List removed; + private List replaced; + private JsonNode source; + private JsonNode target; + private Map changeMap; + + public JsonChanges(List added, List removed, List replaced) { + this.added = added; + this.removed = removed; + this.replaced = replaced; + } + + public JsonChanges(Map changeMap) { + this.changeMap = changeMap; + } + + public Map getChangeMap() { + return changeMap; + } + + public void setChangeMap(Map changeMap) { + this.changeMap = changeMap; + } + + public void setAdded(List added) { + this.added = added; + } + + public void setRemoved(List removed) { + this.removed = removed; + } + + public void setReplaced(List replaced) { + this.replaced = replaced; + } + + public List getAdded() { + return added; + } + + public List getRemoved() { + return removed; + } + + public List getReplaced() { + return replaced; + } + + public void setSource(JsonNode source) { + this.source = source; + } + + public void setTarget(JsonNode target) { + this.target = target; + } + + public JsonNode getSource() { + return source; + } + + public JsonNode getTarget() { + return target; + } +} diff --git a/src/main/java/com/flipkart/zjsonpatch/JsonDiff.java b/src/main/java/com/flipkart/zjsonpatch/JsonDiff.java index 46ee127..eff80f8 100644 --- a/src/main/java/com/flipkart/zjsonpatch/JsonDiff.java +++ b/src/main/java/com/flipkart/zjsonpatch/JsonDiff.java @@ -48,7 +48,7 @@ public static JsonNode asJson(final JsonNode source, final JsonNode target) { * This method merge 2 diffs ( remove then add, or vice versa ) with same value into one Move operation, * all the core logic resides here only */ - private static void compactDiffs(List diffs) { + protected static void compactDiffs(List diffs) { for (int i = 0; i < diffs.size(); i++) { Diff diff1 = diffs.get(i); @@ -86,7 +86,7 @@ private static void compactDiffs(List diffs) { //Note : only to be used for arrays //Finds the longest common Ancestor ending at Array - private static void computeRelativePath(List path, int startIdx, int endIdx, List diffs) { + protected static void computeRelativePath(List path, int startIdx, int endIdx, List diffs) { List counters = new ArrayList(); resetCounters(counters, path.size()); @@ -101,13 +101,13 @@ private static void computeRelativePath(List path, int startIdx, int end updatePathWithCounters(counters, path); } - private static void resetCounters(List counters, int size) { + static void resetCounters(List counters, int size) { for (int i = 0; i < size; i++) { counters.add(0); } } - private static void updatePathWithCounters(List counters, List path) { + static void updatePathWithCounters(List counters, List path) { for (int i = 0; i < counters.size(); i++) { int value = counters.get(i); if (value != 0) { @@ -117,7 +117,7 @@ private static void updatePathWithCounters(List counters, List } } - private static void updatePath(List path, Diff pseudo, List counters) { + static void updatePath(List path, Diff pseudo, List counters) { //find longest common prefix of both the paths if (pseudo.getPath().size() <= path.size()) { @@ -298,7 +298,7 @@ private static void compareObjects(List diffs, List path, JsonNode } } - private static List getPath(List path, Object key) { + static List getPath(List path, Object key) { List toReturn = new ArrayList(); toReturn.addAll(path); toReturn.add(key); diff --git a/src/main/java/com/flipkart/zjsonpatch/JsonPathDiff.java b/src/main/java/com/flipkart/zjsonpatch/JsonPathDiff.java new file mode 100644 index 0000000..6070694 --- /dev/null +++ b/src/main/java/com/flipkart/zjsonpatch/JsonPathDiff.java @@ -0,0 +1,416 @@ +package com.flipkart.zjsonpatch; + +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ArrayNode; +import com.fasterxml.jackson.databind.node.JsonNodeFactory; +import com.fasterxml.jackson.databind.node.ObjectNode; +import com.google.common.base.Function; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.HashMap; +import java.util.Iterator; +import java.util.LinkedHashMap; +import java.util.LinkedList; +import java.util.List; +import java.util.Map; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; + +import org.apache.commons.collections4.CollectionUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Generate JSONPath compatible paths to figure out what's changed. + * Note this is not compatible with this libraries JsonPatch.apply + */ +public class JsonPathDiff { + private static Logger log = LoggerFactory.getLogger(JsonPathDiff.class); + + public static final String DEFAULT_KEY = "DEFAULT"; + public static final EncodePathFunction ENCODE_PATH_FUNCTION = new EncodePathFunction(); + //private static ExecutorService executor = Executors.newScheduledThreadPool(20); + + private final static class EncodePathFunction implements Function { + @Override + public String apply(Object object) { + String path = object.toString(); + return path; + } + } + + public static JsonNode asJson(final JsonNode source, final JsonNode target, Map config, boolean setChangedValue) throws Exception { + final List diffs = new ArrayList(); + LinkedList path = new LinkedList(); + LinkedList pathStack = new LinkedList(); + /** + * generating diffs in the order of their occurrence + */ + + generateDiffs(diffs, path, pathStack, source, target, config, null); + + return getJsonNodes(diffs, setChangedValue); + } + + public static JsonChanges asSummary(final JsonNode source, final JsonNode target, + Map config, boolean setChangedValue, List listenPaths) throws Exception { + final List diffs = new ArrayList(); + LinkedList path = new LinkedList(); + LinkedList pathStack = new LinkedList(); + /** + * generating diffs in the order of their occurrence + */ + + generateDiffs(diffs, path, pathStack, source, target, config, listenPaths); + JsonChanges changes = getJsonChangesByPath(diffs); + changes.setSource(source); + changes.setTarget(target); + + return changes; + } + + /** + * Generate an object containing 3 separate lists of diffs + * @param diffs + * @return + */ + public static JsonChanges getJsonChanges(List diffs) { + + List added = new ArrayList(); + List removed = new ArrayList(); + List replaced = new ArrayList(); + + for (Diff diff : diffs) { + Operation op = diff.getOperation(); + String path = getArrayNodeRepresentation(diff.getPath()); + if (op == Operation.ADD) { + added.add(path); + } else if (op == Operation.REMOVE) { + removed.add(path); + } else if (op == Operation.REPLACE) { + replaced.add(path); + } + } + JsonChanges changes = new JsonChanges(added, removed, replaced); + return changes; + } + + /** + * Get the changes by path + * @param diffs + * @return + * @throws Exception + */ + public static JsonChanges getJsonChangesByPath(List diffs) throws Exception { + + Map changeMap = new LinkedHashMap(); + Operation op = null; + for (Diff diff : diffs) { + String path = getArrayNodeRepresentation(diff.getPath()); + if ((op=changeMap.get(path)) != null) { + throw new Exception("Path is not unique in map! " + path); + } + op = diff.getOperation(); + changeMap.put(path, op); + } + JsonChanges changes = new JsonChanges(changeMap); + return changes; + } + + private static ArrayNode getJsonNodes(List diffs, boolean setChangedValue) { + JsonNodeFactory FACTORY = JsonNodeFactory.instance; + final ArrayNode patch = FACTORY.arrayNode(); + for (Diff diff : diffs) { + ObjectNode jsonNode = getJsonNode(FACTORY, diff, setChangedValue); + patch.add(jsonNode); + } + return patch; + } + + private static ObjectNode getJsonNode(JsonNodeFactory FACTORY, Diff diff, boolean setChangedValue) { + ObjectNode jsonNode = FACTORY.objectNode(); + jsonNode.put(Constants.OP, diff.getOperation().rfcName()); + jsonNode.put(Constants.PATH, getArrayNodeRepresentation(diff.getPath())); + +// if (diff.getKeyPath() != null) { +// jsonNode.put(Constants.KEY, diff.getKeyPath()); +// } +// if (Operation.MOVE.equals(diff.getOperation())) { +// jsonNode.put(Constants.FROM, getArrayNodeRepresentation(diff.getPath())); //required {from} only in case of Move Operation +// jsonNode.put(Constants.PATH, getArrayNodeRepresentation(diff.getToPath())); // destination Path +// } + if (setChangedValue && !Operation.REMOVE.equals(diff.getOperation()) + && !Operation.MOVE.equals(diff.getOperation())) { // setting only for Non-Remove operation + jsonNode.put(Constants.VALUE, diff.getValue()); + } + return jsonNode; + } + + private static String getArrayNodeRepresentation(List path) { + StringBuilder str = new StringBuilder(); + for (int i=0; i< path.size(); i++) { + if (i == 0) { + str.append("$."); + } else if (i < path.size()) { + str.append("."); + } + str.append(path.get(i)); + } + return str.toString(); + } + + private static void generateDiffs(List diffs, List path, LinkedList pathStack, + JsonNode source, JsonNode target, Map config, List listenPaths) throws Exception { + if (source == null) { + diffs.add(Diff.generateDiff(Operation.ADD, getPath(path,""), target)); + return; + } + if (!source.equals(target) && validPath(pathStack, listenPaths)) { + final NodeType sourceType = NodeType.getNodeType(source); + final NodeType targetType = NodeType.getNodeType(target); + + if (sourceType == NodeType.ARRAY && targetType == NodeType.ARRAY) { + //both are arrays + compareArray(diffs, path, pathStack, source, target, config, listenPaths); + } else if (sourceType == NodeType.OBJECT && targetType == NodeType.OBJECT) { + //both are json + compareObjects(diffs, path, pathStack, source, target, config, listenPaths); + } else { + //can be replaced + diffs.add(Diff.generateDiff(Operation.REPLACE, path, target)); + } + } + } + + private static boolean validPath(LinkedList pathStack, List listenPaths) { + if (listenPaths == null) { + return true; + } + + String currentPath = getPathRepresentation(pathStack); + for (String path: listenPaths) { + log.debug("listenPath/current: " + path + " " + currentPath); + if (path.startsWith(currentPath)) { + return true; + } + } + return false; + } + + private static void compareArray(List diffs, List path, + LinkedList pathStack, + JsonNode source, JsonNode target, + Map config, List listenPaths) throws Exception { + //log.debug("PathCurrent = " + path.get(path.size()-1)); + String arrKey = getArrayKey(config, pathStack); + Map mapSource = jsonArrayToMap(config, arrKey, source); + Map mapTarget = jsonArrayToMap(config, arrKey, target); + + if (mapSource.size() == 0) { + List currPath = getPath(path, null); + diffs.add(Diff.generateDiff(Operation.ADD, currPath, target)); + return; + } + + Collection removed = CollectionUtils.subtract(mapSource.keySet(), mapTarget.keySet()); + + for (String key : removed) { + List currPath = getPath(path, getArrayPath(arrKey,key)); + JsonNode srcNode = mapSource.get(key); + diffs.add(Diff.generateDiff(Operation.REMOVE, currPath, srcNode)); + } + + final Collection added = CollectionUtils.subtract(mapTarget.keySet(), mapSource.keySet()); + + for (String key : added) { + List currPath = getPath(path, getArrayPath(arrKey,key)); + JsonNode targetNode = mapTarget.get(key); + diffs.add(Diff.generateDiff(Operation.ADD, currPath, targetNode)); + } + + Collection remaining = CollectionUtils.subtract(mapTarget.keySet(),added); + for (String key : remaining) { + JsonNode src = mapSource.get(key); + JsonNode targ = mapTarget.get(key); + List currPath = getPath(path, getArrayPath(arrKey,key)); + generateDiffs(diffs, currPath, pathStack, src, targ, config, listenPaths); + } + } + + // TODO Threaded version of compareArray (must ensure sync list is used), but SLOWER than single thread version above. + // May be useful with huge datasets later on +// private static void compareArray(final List diffs, final List path, +// final LinkedList pathStack, +// final JsonNode source, final JsonNode target, +// final Map config) throws Exception { +// +// +// //log.debug("PathCurrent = " + path.get(path.size()-1)); +// final String arrKey = getArrayKey(config, pathStack); +// Future> mapSourceFuture = executor.submit(new Callable>() +// { +// @Override +// public Map call() throws Exception +// { +// return jsonArrayToMap(config, arrKey, source); +// } +// }); +// Future> mapTargetFuture = executor.submit(new Callable>() +// { +// @Override +// public Map call() throws Exception +// { +// return jsonArrayToMap(config, arrKey, target); +// } +// }); +// +// final Map mapSource = mapSourceFuture.get(); +// final Map mapTarget = mapTargetFuture.get(); +// +// Future> futureRemoved = executor.submit(new Callable>() +// { +// @Override +// public List call() throws Exception +// { +// Collection removed = CollectionUtils.subtract(mapSource.keySet(), mapTarget.keySet()); +// // List diffsOut = new ArrayList(); +// for (String key : removed) { +// List currPath = getPath(path, getArrayPath(arrKey,key)); +// JsonNode srcNode = mapSource.get(key); +// diffs.add(Diff.generateDiff(Operation.REMOVE, currPath, srcNode)); +// } +// return null; +// } +// }); +// +// +// Future> futureAdded = executor.submit(new Callable>() +// { +// @Override +// public List call() throws Exception +// { +// final Collection added = CollectionUtils.subtract(mapTarget.keySet(), mapSource.keySet()); +// +// Future> futureAdding = executor.submit(new Callable>() +// { +// @Override +// public List call() throws Exception { +// // List diffsAdded = new ArrayList(); +// for (String key : added) { +// List currPath = getPath(path, getArrayPath(arrKey,key)); +// JsonNode targetNode = mapTarget.get(key); +// diffs.add(Diff.generateDiff(Operation.ADD, currPath, targetNode)); +// } +// return null; +// } +// +// }); +// +// Collection remaining = CollectionUtils.subtract(mapTarget.keySet(),added); +// +// for (String key : remaining) { +// JsonNode src = mapSource.get(key); +// JsonNode targ = mapTarget.get(key); +// List currPath = getPath(path, getArrayPath(arrKey,key)); +// generateDiffs(diffs, currPath, pathStack, src, targ, config); +// } +// futureAdding.get(); +// return null; +// } +// }); +// +// futureRemoved.get(); +// futureAdded.get(); +// } + + static List getPath(List path, Object key) { + List newList = new ArrayList(path); + if (key != null) { + newList.add(key); + } + return newList; + } + + private static Object getArrayPath(String arrKey, String key) { + StringBuilder str = new StringBuilder(arrKey.length() + key.length() + 16); + str.append("[?(@."); + str.append(arrKey); + str.append("=='"); + str.append(key); + str.append("')]"); + return str.toString(); + } + + private static Map jsonArrayToMap(Map config, String arrKey, JsonNode source) throws Exception { + Map map = new HashMap(); + Iterator it = source.iterator(); + while (it.hasNext()) { + JsonNode jn = it.next(); + JsonNode keyNode = jn.get(arrKey); + String key = null; + if (keyNode == null) { + throw new Exception("No key '" + arrKey + "' defined for JSONArray: " + source); + } + key = keyNode.asText(); + map.put(key, jn); + } + return map; + } + + private static String getArrayKey(Map config, LinkedList path) throws Exception { + String currentPath = getPathRepresentation(path); + String key = null; + if (!config.containsKey(currentPath)) { + if ((key = (String)config.get(DEFAULT_KEY)) == null) { + throw new Exception("No key defined for path and no " + DEFAULT_KEY + " defined: " + currentPath); + } else { + return key; + } + } + return (String)config.get(currentPath); + } + + private static String getPathRepresentation(LinkedList path) { + Iterator it = path.descendingIterator(); + StringBuilder str = new StringBuilder(); + str.append("$."); + + while (it.hasNext()) { + str.append(it.next()); + if (it.hasNext()) { + str.append("."); + } + } + //log.debug("Path = " + str.toString()); + return str.toString(); + } + + private static void compareObjects(List diffs, List path, LinkedList pathStack, + JsonNode source, JsonNode target, Map config, List listenPaths) throws Exception { + + Iterator keysFromSrc = source.fieldNames(); + while (keysFromSrc.hasNext()) { + String key = keysFromSrc.next(); + if (!target.has(key)) { + //remove case + List currPath = getPath(path, key); + diffs.add(Diff.generateDiff(Operation.REMOVE, currPath, source.get(key))); + continue; + } + List currPath = getPath(path, key); + pathStack.push(key); + generateDiffs(diffs, currPath, pathStack, source.get(key), target.get(key), config, listenPaths); + pathStack.pop(); + } + Iterator keysFromTarget = target.fieldNames(); + while (keysFromTarget.hasNext()) { + String key = keysFromTarget.next(); + if (!source.has(key)) { + //add case + List currPath = getPath(path, key); + diffs.add(Diff.generateDiff(Operation.ADD, currPath, target.get(key))); + } + } + } +} diff --git a/src/main/java/com/flipkart/zjsonpatch/Operation.java b/src/main/java/com/flipkart/zjsonpatch/Operation.java index 04c2e57..57e82e3 100644 --- a/src/main/java/com/flipkart/zjsonpatch/Operation.java +++ b/src/main/java/com/flipkart/zjsonpatch/Operation.java @@ -10,11 +10,11 @@ * User: gopi.vishwakarma * Date: 30/07/14 */ -enum Operation { - ADD("add"), - REMOVE("remove"), - REPLACE("replace"), - MOVE("move"); +public enum Operation { + ADD("add", 1), + REMOVE("remove", 2), + REPLACE("replace", 4), + MOVE("move", 8); private final static Map OPS = ImmutableMap.of( ADD.rfcName, ADD, @@ -24,9 +24,11 @@ enum Operation { ); private String rfcName; + private int value; - Operation(String rfcName) { + Operation(String rfcName, int value) { this.rfcName = rfcName; + this.value = value; } public static Operation fromRfcName(String rfcName) { @@ -37,6 +39,9 @@ public static Operation fromRfcName(String rfcName) { public String rfcName() { return this.rfcName; } - + + public int value() { + return this.value; + } } diff --git a/src/test/java/com/flipkart/zjsonpatch/JsonPathDiffTest.java b/src/test/java/com/flipkart/zjsonpatch/JsonPathDiffTest.java new file mode 100644 index 0000000..6b24263 --- /dev/null +++ b/src/test/java/com/flipkart/zjsonpatch/JsonPathDiffTest.java @@ -0,0 +1,131 @@ +package com.flipkart.zjsonpatch; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.SerializationFeature; +import com.fasterxml.jackson.databind.node.ObjectNode; + +import java.io.IOException; +import java.io.InputStream; +import java.util.ArrayList; +import java.util.Date; +import java.util.HashMap; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.apache.commons.io.IOUtils; +import org.junit.Test; + +public class JsonPathDiffTest { + + static ObjectMapper objectMapper = new ObjectMapper(); + + private ObjectNode getJsonNode(String path) throws JsonProcessingException, IOException { + InputStream resourceAsStream = JsonDiffTest.class.getResourceAsStream(path); + String testData = IOUtils.toString(resourceAsStream, "UTF-8"); + ObjectNode jsonNode = (ObjectNode) objectMapper.readTree(testData); + return jsonNode; + } + + public static String getPrettyJson(String jsonStr) throws Exception { + ObjectMapper mapper = new ObjectMapper(); + mapper.enable(SerializationFeature.INDENT_OUTPUT); + Object json = mapper.readValue(jsonStr, Object.class); + return mapper.writerWithDefaultPrettyPrinter().writeValueAsString(json); + } + + /** + * Test the standard JsonPathDiff mechanism + * @throws Exception + */ + @Test + public void sampleJsonPathDiff_Test() throws Exception { + ObjectNode before = getJsonNode("/testdata/hostSvcs_before.json"); + ObjectNode after = getJsonNode("/testdata/hostSvcs_after.json"); + ObjectMapper mapper = new ObjectMapper(); + Map conf = new HashMap(); + // conf.put(JsonPathDiff.DEFAULT_KEY, "name"); // Set a default fall-back key if none defined + conf.put("$.list", "name"); + conf.put("$.list.services", "service_object_id"); + + JsonNode actualPatch = JsonPathDiff.asJson(before, after, conf, true); + String jsonStr = actualPatch.toString(); + String jsonPretty = getPrettyJson(jsonStr); + System.out.println(jsonPretty); + assertEquals(jsonStr,"[{\"op\":\"remove\",\"path\":\"$.list.[?(@.name=='bestraining5')]\"},{\"op\":\"remove\",\"path\":\"$.list.[?(@.name=='xenserver01')]\"},{\"op\":\"add\",\"path\":\"$.list.[?(@.name=='newserverNoServices')]\",\"value\":{\"icon\":\"server\",\"state\":\"up\",\"summary\":{\"ok\":\"1\",\"handled\":\"1\",\"computed_state\":\"ok\",\"unhandled\":\"0\",\"total\":\"1\"},\"unhandled\":\"0\",\"max_check_attempts\":\"2\",\"num_interfaces\":\"0\",\"state_duration\":\"1114952\",\"name\":\"newserverNoServices\",\"state_type\":\"hard\",\"current_check_attempt\":\"1\",\"output\":\"Host assumed UP - no results received\",\"num_services\":\"1\",\"downtime\":\"0\",\"last_check\":\"0\",\"alias\":\"\"}},{\"op\":\"remove\",\"path\":\"$.list.[?(@.name=='opsview')].services.[?(@.service_object_id=='140')]\"},{\"op\":\"add\",\"path\":\"$.list.[?(@.name=='opsview')].services.[?(@.service_object_id=='1401')]\",\"value\":{\"max_check_attempts\":\"3\",\"markdown\":\"0\",\"state_duration\":\"1468072\",\"state_type\":\"hard\",\"name\":\"Disk: /usr/local/nagios/var\",\"current_check_attempt\":\"1\",\"output\":\"DISK OK - free space: / 22698 MB (88% inode=95%): New Service\",\"state\":\"ok\",\"service_object_id\":\"1401\",\"unhandled\":\"0\",\"downtime\":\"0\",\"last_check\":\"1442401733\",\"perfdata_available\":\"1\"}},{\"op\":\"replace\",\"path\":\"$.list.[?(@.name=='opsview')].services.[?(@.service_object_id=='142')].output\",\"value\":\"DISK ERROR\"},{\"op\":\"replace\",\"path\":\"$.list.[?(@.name=='10.0.0.137')].state\",\"value\":\"down\"}]"); + } + + /** + * Test the comparison of 2 objects, with record keys. The output is keyed using a JsonPath + * reference to the source or target (see JsonChanges object). + * @throws Exception + */ + @Test + public void sampleJsonPathDiffSummary_Test() throws Exception { + ObjectNode before = getJsonNode("/testdata/hostSvcs_before.json"); + ObjectNode after = getJsonNode("/testdata/hostSvcs_after.json"); + ObjectMapper mapper = new ObjectMapper(); + Map conf = new HashMap(); + // conf.put(JsonPathDiff.DEFAULT_KEY, "name"); + conf.put("$.list", "name"); + conf.put("$.list.services", "service_object_id"); + + List listenPaths = new ArrayList(); + listenPaths.add("$.list.state"); + listenPaths.add("$.list.services.state"); + + JsonChanges changes = JsonPathDiff.asSummary(before, after, conf, true, listenPaths); + Map changeMap = changes.getChangeMap(); + + Set keys = changeMap.keySet(); + Iterator it = keys.iterator(); + while (it.hasNext()) { + String key = it.next(); + Operation op = changeMap.get(key); + System.out.println("key = " + key + "\nop = " + op); + } + + assertTrue(changeMap.get("$.list.[?(@.name=='bestraining5')]") == Operation.REMOVE); + assertTrue(changeMap.get("$.list.[?(@.name=='xenserver01')]") == Operation.REMOVE); + assertTrue(changeMap.get("$.list.[?(@.name=='newserverNoServices')]") == Operation.ADD); + assertTrue(changeMap.get("$.list.[?(@.name=='opsview')].services.[?(@.service_object_id=='140')]") == Operation.REMOVE); + assertTrue(changeMap.get("$.list.[?(@.name=='opsview')].services.[?(@.service_object_id=='1401')]") == Operation.ADD); + assertTrue(changeMap.get("$.list.[?(@.name=='10.0.0.137')].state") == Operation.REPLACE); + } + + // @Test +// public void sampleJsonPathDiff_SpeedTest() throws Exception { +// System.out.println("Load before"); +// ObjectNode before = getJsonNode("/testdata/hostSvcs_bf.json"); +// ObjectNode after = getJsonNode("/testdata/hostSvcs_bf-2409.json"); +// System.out.println("Load after"); +// +// Map conf = new HashMap(); +// conf.put("$.list", "name"); +// conf.put("$.list.services", "service_object_id"); +// +// long count = 0; +// long timeBefore = System.currentTimeMillis(); +// +// int repeat = 20; +// while (count < repeat) { +// //System.out.println("Compare"); +// JsonNode actualPatch = JsonPathDiff.asJson(before, after, conf, true); +// String patchStr = actualPatch.toString(); +// Thread.sleep(100); +// count++; +// if (count % 5 == 0) { +// System.out.println("Count: " + count); +// } +// } +// long timeAfter = System.currentTimeMillis(); +// long timeTaken = (timeAfter-timeBefore); +// long ttPerIteration = (timeTaken / repeat); +// System.out.println("TimeTaken = " + timeTaken + "ms" + " per iteration: " + ttPerIteration + "ms"); +// } +} diff --git a/src/test/resources/testdata/hostSvcs_after.json b/src/test/resources/testdata/hostSvcs_after.json new file mode 100644 index 0000000..f20b5c3 --- /dev/null +++ b/src/test/resources/testdata/hostSvcs_after.json @@ -0,0 +1,4325 @@ +{ + "summary": { + "handled": "231", + "unhandled": "8", + "total": "239", + "service": { + "critical": "3", + "ok": "135", + "handled": "135", + "unknown": "3", + "unhandled": "8", + "warning": "2", + "total": "143" + }, + "host": { + "handled": "96", + "unhandled": "0", + "up": "96", + "total": "96" + } + }, + "list": [{ + "icon": "server", + "state": "down", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.137: rta 0.244ms, lost 0%", + "state": "ok", + "service_object_id": "269", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401550", + "perfdata_available": "1" + }], + "name": "10.0.0.137", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.200: rta 0.247ms, lost 0%", + "state": "ok", + "service_object_id": "270", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401634", + "perfdata_available": "1" + }], + "name": "10.0.0.200", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.201: rta 0.255ms, lost 0%", + "state": "ok", + "service_object_id": "271", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401551", + "perfdata_available": "1" + }], + "name": "10.0.0.201", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.231: rta 0.459ms, lost 0%", + "state": "ok", + "service_object_id": "272", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401715", + "perfdata_available": "1" + }], + "name": "10.0.0.231", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.232: rta 0.359ms, lost 0%", + "state": "ok", + "service_object_id": "273", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401553", + "perfdata_available": "1" + }], + "name": "10.0.0.232", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "2", + "handled": "2", + "computed_state": "unknown", + "unknown": "3", + "unhandled": "3", + "total": "5" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.31: rta 0.918ms, lost 0%", + "state": "ok", + "service_object_id": "274", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401753", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114795", + "state_type": "hard", + "name": "Interface Status", + "current_check_attempt": "3", + "output": "Dependency failure: SNMP Agent is UNKNOWN", + "state": "unknown", + "service_object_id": "275", + "unhandled": "1", + "downtime": "0", + "last_check": "1442401733", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114735", + "state_type": "hard", + "name": "SNMP Agent", + "current_check_attempt": "3", + "output": "check_snmp_sysinfo UNKNOWN - SNMP parameter validation failed. Missing rocommunity!", + "state": "unknown", + "service_object_id": "276", + "unhandled": "1", + "downtime": "0", + "last_check": "1442401734", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114793", + "state_type": "hard", + "name": "Uptime", + "current_check_attempt": "3", + "output": "Dependency failure: SNMP Agent is UNKNOWN", + "state": "unknown", + "service_object_id": "277", + "unhandled": "1", + "downtime": "0", + "last_check": "1442401736", + "perfdata_available": "0" + }, + { + "max_check_attempts": "1", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Uptime Restart", + "current_check_attempt": "1", + "output": "Service assumed OK - no results received", + "state": "ok", + "service_object_id": "278", + "unhandled": "0", + "downtime": "0", + "last_check": "1441286896", + "perfdata_available": "0" + }], + "name": "10.0.0.31", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.31: rta 0.888ms, lost 0%", + "num_services": "5", + "downtime": "0", + "last_check": "1442401733", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.46: rta 0.511ms, lost 0%", + "state": "ok", + "service_object_id": "279", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401805", + "perfdata_available": "1" + }], + "name": "10.0.0.46", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "debian", + "state": "up", + "summary": { + "critical": "1", + "handled": "0", + "computed_state": "critical", + "unhandled": "1", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "863800", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1036939", + "state_type": "hard", + "name": "SSH processes", + "current_check_attempt": "3", + "output": "Connection refused by host", + "state": "critical", + "service_object_id": "372", + "unhandled": "1", + "downtime": "0", + "last_check": "1442401832", + "perfdata_available": "0" + }], + "name": "10.0.0.67", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.67: rta 0.264ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442401832", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.70: rta 0.437ms, lost 0%", + "state": "ok", + "service_object_id": "280", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401567", + "perfdata_available": "1" + }], + "name": "10.0.0.70", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "433675", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "433675", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.86: rta 0.417ms, lost 0%", + "state": "ok", + "service_object_id": "281", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401675", + "perfdata_available": "1" + }], + "name": "10.0.0.86", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.86: rta 0.112ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1441968173", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.93: rta 0.515ms, lost 0%", + "state": "ok", + "service_object_id": "282", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401721", + "perfdata_available": "1" + }], + "name": "10.0.0.93", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.1: rta 2.335ms, lost 0%", + "state": "ok", + "service_object_id": "283", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401630", + "perfdata_available": "1" + }], + "name": "10.0.6.1", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.176: rta 0.483ms, lost 0%", + "state": "ok", + "service_object_id": "286", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401721", + "perfdata_available": "1" + }], + "name": "aixdev2", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "name": "newserverNoServices", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "0", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "79419", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "79419", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.75: rta 0.336ms, lost 0%", + "state": "ok", + "service_object_id": "288", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401630", + "perfdata_available": "1" + }], + "name": "bigip1", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.75: rta 0.192ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442322429", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.77: rta 0.790ms, lost 0%", + "state": "ok", + "service_object_id": "289", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401760", + "perfdata_available": "1" + }], + "name": "build-linux64", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.76: rta 0.288ms, lost 0%", + "state": "ok", + "service_object_id": "290", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401570", + "perfdata_available": "1" + }], + "name": "buildserver01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.97: rta 0.235ms, lost 0%", + "state": "ok", + "service_object_id": "291", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401623", + "perfdata_available": "1" + }], + "name": "demoserver01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.25: rta 0.108ms, lost 0%", + "state": "ok", + "service_object_id": "292", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401574", + "perfdata_available": "1" + }], + "name": "demoserver02", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.51: rta 0.239ms, lost 0%", + "state": "ok", + "service_object_id": "293", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401636", + "perfdata_available": "1" + }], + "name": "devbes", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.89: rta 0.406ms, lost 0%", + "state": "ok", + "service_object_id": "294", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401574", + "perfdata_available": "1" + }], + "name": "devmodeller", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.162: rta 0.329ms, lost 0%", + "state": "ok", + "service_object_id": "295", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401701", + "perfdata_available": "1" + }], + "name": "devtest2", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "161552", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.3: rta 1.141ms, lost 0%", + "state": "ok", + "service_object_id": "296", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401696", + "perfdata_available": "1" + }], + "name": "dvr", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.3: rta 368.532ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442239997", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.185: rta 0.191ms, lost 0%", + "state": "ok", + "service_object_id": "297", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401739", + "perfdata_available": "1" + }], + "name": "england", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.194: rta 0.239ms, lost 0%", + "state": "ok", + "service_object_id": "298", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401581", + "perfdata_available": "1" + }], + "name": "esxi5v1", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "87773", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "87773", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.49: rta 0.532ms, lost 0%", + "state": "ok", + "service_object_id": "284", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401675", + "perfdata_available": "1" + }], + "name": "HPCOMPAQ-JM-VIS", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.49: rta 0.274ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442314075", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.68: rta 0.129ms, lost 0%", + "state": "ok", + "service_object_id": "299", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401672", + "perfdata_available": "1" + }], + "name": "interlinkdc01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.118: rta 0.284ms, lost 0%", + "state": "ok", + "service_object_id": "300", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401583", + "perfdata_available": "1" + }], + "name": "interlinkdc02", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.151: rta 0.353ms, lost 0%", + "state": "ok", + "service_object_id": "301", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401815", + "perfdata_available": "1" + }], + "name": "interlinkserv", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.188: rta 0.220ms, lost 0%", + "state": "ok", + "service_object_id": "302", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401581", + "perfdata_available": "1" + }], + "name": "ireland", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.63: rta 0.263ms, lost 0%", + "state": "ok", + "service_object_id": "285", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401670", + "perfdata_available": "1" + }], + "name": "ISS-HPOVOW", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.61: rta 0.482ms, lost 0%", + "state": "ok", + "service_object_id": "303", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401688", + "perfdata_available": "1" + }], + "name": "iss-hpovow2", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.24: rta 0.388ms, lost 0%", + "state": "ok", + "service_object_id": "304", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401585", + "perfdata_available": "1" + }], + "name": "moasi01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.126: rta 0.469ms, lost 0%", + "state": "ok", + "service_object_id": "305", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401745", + "perfdata_available": "1" + }], + "name": "mobes01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.114: rta 0.455ms, lost 0%", + "state": "ok", + "service_object_id": "306", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401588", + "perfdata_available": "1" + }], + "name": "mobes02", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.10: rta 0.092ms, lost 0%", + "state": "ok", + "service_object_id": "307", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401597", + "perfdata_available": "1" + }], + "name": "nasdev", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.7: rta 1.046ms, lost 0%", + "state": "ok", + "service_object_id": "308", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401593", + "perfdata_available": "1" + }], + "name": "netmonitor", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.40: rta 1.008ms, lost 0%", + "state": "ok", + "service_object_id": "309", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401813", + "perfdata_available": "1" + }], + "name": "nexus", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.208: rta 0.434ms, lost 0%", + "state": "ok", + "service_object_id": "310", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401592", + "perfdata_available": "1" + }], + "name": "nndev1", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.196: rta 0.265ms, lost 0%", + "state": "ok", + "service_object_id": "311", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401725", + "perfdata_available": "1" + }], + "name": "nndev2", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.52: rta 0.251ms, lost 0%", + "state": "ok", + "service_object_id": "312", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401595", + "perfdata_available": "1" + }], + "name": "nndev3", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.62: rta 0.260ms, lost 0%", + "state": "ok", + "service_object_id": "313", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401737", + "perfdata_available": "1" + }], + "name": "nndev4b", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.222: rta 0.441ms, lost 0%", + "state": "ok", + "service_object_id": "314", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401597", + "perfdata_available": "1" + }], + "name": "opbridgeasi01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.122: rta 0.432ms, lost 0%", + "state": "ok", + "service_object_id": "315", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401554", + "perfdata_available": "1" + }], + "name": "opbridgebes01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.132: rta 0.437ms, lost 0%", + "state": "ok", + "service_object_id": "316", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401603", + "perfdata_available": "1" + }], + "name": "opbridgebes02", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.127: rta 0.424ms, lost 0%", + "state": "ok", + "service_object_id": "317", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401752", + "perfdata_available": "1" + }], + "name": "opbridgedb01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.120: rta 0.534ms, lost 0%", + "state": "ok", + "service_object_id": "318", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401602", + "perfdata_available": "1" + }], + "name": "opbridgescm01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.153: rta 0.465ms, lost 0%", + "state": "ok", + "service_object_id": "319", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401592", + "perfdata_available": "1" + }], + "name": "openaudit", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "opsview", + "state": "up", + "summary": { + "critical": "2", + "ok": "36", + "handled": "36", + "computed_state": "critical", + "unhandled": "4", + "warning": "2", + "total": "40" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1468072", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - localhost: rta 0.022ms, lost 0%", + "state": "ok", + "service_object_id": "135", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401706", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "CPU statistics", + "current_check_attempt": "1", + "output": "OK: utilization:1.4%,guest:0.0%,iowait:0.1%,irq:0.0%,nice:0.0%,softirq:0.0%,steal:0.0%,system:0.4%,user:0.8%", + "state": "ok", + "service_object_id": "134", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401688", + "perfdata_available": "1" + }, + { + "max_check_attempts": "2", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Defunct ndo2db Processes", + "current_check_attempt": "1", + "output": "PROCS OK: 0 processes with UID = 498 (nagios), STATE = Z, command name 'ndo2d'", + "state": "ok", + "service_object_id": "136", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401703", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Disk: /", + "current_check_attempt": "1", + "output": "DISK OK - free space: / 22698 MB (88% inode=95%):", + "state": "ok", + "service_object_id": "137", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401707", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Disk: /opt/opsview/work/", + "current_check_attempt": "1", + "output": "DISK OK - free space: / 22698 MB (88% inode=95%):", + "state": "ok", + "service_object_id": "138", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401716", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Disk: /tmp", + "current_check_attempt": "1", + "output": "DISK OK - free space: / 22698 MB (88% inode=95%):", + "state": "ok", + "service_object_id": "139", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401724", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Disk: /usr/local/nagios/var", + "current_check_attempt": "1", + "output": "DISK OK - free space: / 22698 MB (88% inode=95%): New Service", + "state": "ok", + "service_object_id": "1401", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401733", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Disk: /usr/local/nagios/var/backups", + "current_check_attempt": "1", + "output": "DISK OK - free space: / 22698 MB (88% inode=95%):", + "state": "ok", + "service_object_id": "141", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401741", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Disk: /var/log/opsview/", + "current_check_attempt": "1", + "output": "DISK ERROR", + "state": "ok", + "service_object_id": "142", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401767", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Disk: /var/opt/opsview", + "current_check_attempt": "1", + "output": "DISK OK - free space: / 22698 MB (88% inode=95%):", + "state": "ok", + "service_object_id": "143", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401775", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Nagios Core Processes", + "current_check_attempt": "1", + "output": "PROCS OK: 6 processes with command name 'nagios'", + "state": "ok", + "service_object_id": "144", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401762", + "perfdata_available": "1" + }, + { + "max_check_attempts": "1", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Nagios Core Startup", + "current_check_attempt": "1", + "output": "Nagios started up in 0 seconds", + "state": "ok", + "service_object_id": "145", + "unhandled": "0", + "downtime": "0", + "last_check": "1442399066", + "perfdata_available": "1" + }, + { + "max_check_attempts": "1", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Nagios Core Stats", + "current_check_attempt": "1", + "output": "NAGIOSTATS OK", + "state": "ok", + "service_object_id": "146", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401775", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview Agent", + "current_check_attempt": "1", + "output": "NRPE v2.14 (OpsviewAgent 4.6.3.0: osname=Linux: osvers=2.6.32-573.3.1.el6.x86_64: desc=CentOS release 6.7 (Final))", + "state": "ok", + "service_object_id": "147", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401781", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview Application Processes", + "current_check_attempt": "1", + "output": "PROCS OK: 1 process with args 'opsview_web_server'", + "state": "ok", + "service_object_id": "148", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401794", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview Application Server", + "current_check_attempt": "1", + "output": "TCP OK - 0.005 second response time on localhost port 3000", + "state": "ok", + "service_object_id": "149", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401802", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "519943", + "state_type": "hard", + "name": "Opsview Application Status", + "current_check_attempt": "3", + "output": "opsview CRITICAL (critical=1)\nopsview (errors=1):\n CRITICAL opsview::Opsview Login", + "state": "critical", + "service_object_id": "150", + "unhandled": "1", + "downtime": "0", + "last_check": "1442401626", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview Daemon", + "current_check_attempt": "1", + "output": "TCP OK - 0.000 second response time on socket /usr/local/nagios/var/rw/opsviewd.cmd", + "state": "ok", + "service_object_id": "154", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401842", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview Data Warehouse Status", + "current_check_attempt": "1", + "output": "ODW_STATUS OK - Last updated: 2015-09-16T11:00:00", + "state": "ok", + "service_object_id": "155", + "unhandled": "0", + "downtime": "0", + "last_check": "1442400942", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1467877", + "state_type": "hard", + "name": "Opsview DB Connections", + "current_check_attempt": "1", + "output": "MYSQL_PERFORMANCE OK - All parameters OK", + "state": "ok", + "service_object_id": "151", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401573", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1467870", + "state_type": "hard", + "name": "Opsview DB Performance", + "current_check_attempt": "1", + "output": "MYSQL_PERFORMANCE OK - All parameters OK", + "state": "ok", + "service_object_id": "152", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401583", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview DB Status", + "current_check_attempt": "1", + "output": "Uptime: 1642868 Threads: 9 Questions: 6698766 Slow queries: 0 Opens: 28885 Flush tables: 1 Open tables: 64 Queries per second avg: 4.77", + "state": "ok", + "service_object_id": "153", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401831", + "perfdata_available": "1" + }, + { + "max_check_attempts": "2", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview Graphing Import", + "current_check_attempt": "1", + "output": "LOGS OK - Oldest log file is 0 seconds old, 0 files backlogged", + "state": "ok", + "service_object_id": "156", + "unhandled": "0", + "downtime": "0", + "last_check": "1442400950", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "344445", + "state_type": "hard", + "name": "Opsview Housekeeping Cronjob Monitor", + "current_check_attempt": "1", + "output": "CRONJOBS OK - Housekeeping cronjob last successfully ran 21 hours ago", + "state": "ok", + "service_object_id": "158", + "unhandled": "0", + "downtime": "0", + "last_check": "1442359803", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "344437", + "state_type": "hard", + "name": "Opsview Housekeeping Monitor", + "current_check_attempt": "1", + "output": "HOUSEKEEP OK - Housekeeping script last successfully ran 21 hours ago", + "state": "ok", + "service_object_id": "159", + "unhandled": "0", + "downtime": "0", + "last_check": "1442359811", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "520100", + "state_type": "hard", + "name": "Opsview HTTP", + "current_check_attempt": "3", + "output": "HTTP WARNING: HTTP/1.1 403 Forbidden - 5159 bytes in 0.001 second response time", + "state": "warning", + "service_object_id": "157", + "unhandled": "1", + "downtime": "0", + "last_check": "1442401768", + "perfdata_available": "1" + }, + { + "max_check_attempts": "2", + "markdown": "0", + "state_duration": "690270", + "state_type": "hard", + "name": "Opsview License Checks", + "current_check_attempt": "2", + "output": "LICENSE_EXPIRY WARNING - Opsview 30 Day Trial is valid until 2015-09-26 23:59:59", + "state": "warning", + "service_object_id": "160", + "unhandled": "1", + "downtime": "0", + "last_check": "1442316438", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "520159", + "state_type": "hard", + "name": "Opsview Login", + "current_check_attempt": "3", + "output": "HTTP CRITICAL: HTTP/1.1 404 Not Found - string 'login_username' not found on 'http://localhost:80/login' - 458 bytes in 0.009 second response time", + "state": "critical", + "service_object_id": "161", + "unhandled": "1", + "downtime": "0", + "last_check": "1442401709", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview NDO", + "current_check_attempt": "1", + "output": "NDO OK - 0 ndo files backlogged", + "state": "ok", + "service_object_id": "162", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401593", + "perfdata_available": "1" + }, + { + "max_check_attempts": "2", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview Updates", + "current_check_attempt": "1", + "output": "UPDATES OK - Survey information sent", + "state": "ok", + "service_object_id": "163", + "unhandled": "0", + "downtime": "0", + "last_check": "1442359601", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Read-only Partitions: /", + "current_check_attempt": "1", + "output": "RO_MOUNTS OK: No ro mounts found", + "state": "ok", + "service_object_id": "164", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401616", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Read-only Partitions: /opt/opsview/work/", + "current_check_attempt": "1", + "output": "RO_MOUNTS OK: No ro mounts found", + "state": "ok", + "service_object_id": "165", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401617", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Read-only Partitions: /tmp", + "current_check_attempt": "1", + "output": "RO_MOUNTS OK: No ro mounts found", + "state": "ok", + "service_object_id": "166", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401627", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Read-only Partitions: /usr/local/nagios/var", + "current_check_attempt": "1", + "output": "RO_MOUNTS OK: No ro mounts found", + "state": "ok", + "service_object_id": "167", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401635", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Read-only Partitions: /usr/local/nagios/var/backups", + "current_check_attempt": "1", + "output": "RO_MOUNTS OK: No ro mounts found", + "state": "ok", + "service_object_id": "168", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401643", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Read-only Partitions: /var/log/opsview/", + "current_check_attempt": "1", + "output": "RO_MOUNTS OK: No ro mounts found", + "state": "ok", + "service_object_id": "169", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401647", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Read-only Partitions: /var/opt/opsview", + "current_check_attempt": "1", + "output": "RO_MOUNTS OK: No ro mounts found", + "state": "ok", + "service_object_id": "170", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401657", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Unix Load Average", + "current_check_attempt": "1", + "output": "OK - load average: 0.00, 0.00, 0.00", + "state": "ok", + "service_object_id": "171", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401668", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Unix Memory", + "current_check_attempt": "1", + "output": "Usage: real 48% (903/1869 MB), buffer: 149 MB, cache: 596 MB, swap: 1% (31/3072 MB)", + "state": "ok", + "service_object_id": "172", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401671", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Unix Swap", + "current_check_attempt": "1", + "output": "SWAP OK - 99% free (3041 MB out of 3071 MB)", + "state": "ok", + "service_object_id": "173", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401682", + "perfdata_available": "1" + }], + "name": "opsview", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - localhost: rta 0.025ms, lost 0%", + "num_services": "40", + "downtime": "0", + "last_check": "1442401768", + "alias": "Opsview Master Server" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.135: rta 0.268ms, lost 0%", + "state": "ok", + "service_object_id": "320", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401603", + "perfdata_available": "1" + }], + "name": "penne", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.165: rta 0.408ms, lost 0%", + "state": "ok", + "service_object_id": "321", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401784", + "perfdata_available": "1" + }], + "name": "publicrepo", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.143: rta 0.435ms, lost 0%", + "state": "ok", + "service_object_id": "322", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401604", + "perfdata_available": "1" + }], + "name": "reposerver01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.125: rta 0.410ms, lost 0%", + "state": "ok", + "service_object_id": "323", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401570", + "perfdata_available": "1" + }], + "name": "rhel6-rsbes1", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "575883", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "575883", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.254: rta 0.591ms, lost 0%", + "state": "ok", + "service_object_id": "324", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401665", + "perfdata_available": "1" + }], + "name": "router", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.254: rta 0.519ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1441825965", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.9: rta 0.306ms, lost 0%", + "state": "ok", + "service_object_id": "325", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401722", + "perfdata_available": "1" + }], + "name": "routerguest", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.141: rta 0.412ms, lost 0%", + "state": "ok", + "service_object_id": "326", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401607", + "perfdata_available": "1" + }], + "name": "scm-14-dev-lj", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.182: rta 0.442ms, lost 0%", + "state": "ok", + "service_object_id": "327", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401743", + "perfdata_available": "1" + }], + "name": "sfui", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.35: rta 0.224ms, lost 0%", + "state": "ok", + "service_object_id": "328", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401612", + "perfdata_available": "1" + }], + "name": "sharepoint01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.1: rta 2.179ms, lost 0%", + "state": "ok", + "service_object_id": "329", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401692", + "perfdata_available": "1" + }], + "name": "switch48gig", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "108176", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.170: rta 0.294ms, lost 0%", + "state": "ok", + "service_object_id": "330", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401672", + "perfdata_available": "1" + }], + "name": "testingserver02", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.170: rta 0.255ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442293618", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.149: rta 0.449ms, lost 0%", + "state": "ok", + "service_object_id": "331", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401733", + "perfdata_available": "1" + }], + "name": "testlink", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.57: rta 0.463ms, lost 0%", + "state": "ok", + "service_object_id": "332", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401614", + "perfdata_available": "1" + }], + "name": "ubu-nagios", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "593150", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "593150", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.19: rta 0.444ms, lost 0%", + "state": "ok", + "service_object_id": "333", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401799", + "perfdata_available": "1" + }], + "name": "ubustwdata", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.19: rta 0.304ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1441808698", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "410453", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "225892", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.190: rta 4.382ms, lost 0%", + "state": "ok", + "service_object_id": "334", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401556", + "perfdata_available": "1" + }], + "name": "vm-2k3-mq701", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.190: rta 0.236ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442175902", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "79355", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "79355", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.81: rta 0.382ms, lost 0%", + "state": "ok", + "service_object_id": "335", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401693", + "perfdata_available": "1" + }], + "name": "vm-2k8nnmi910", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.81: rta 0.220ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442322493", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.17: rta 0.271ms, lost 0%", + "state": "ok", + "service_object_id": "336", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401619", + "perfdata_available": "1" + }], + "name": "vm-backup", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "192543", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "118983", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.14: rta 0.369ms, lost 0%", + "state": "ok", + "service_object_id": "337", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401665", + "perfdata_available": "1" + }], + "name": "vm-dhhsbctest2", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.14: rta 0.320ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442282812", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.18: rta 0.144ms, lost 0%", + "state": "ok", + "service_object_id": "338", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401620", + "perfdata_available": "1" + }], + "name": "vm-intbes36", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.28: rta 0.248ms, lost 0%", + "state": "ok", + "service_object_id": "339", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401607", + "perfdata_available": "1" + }], + "name": "vm-intbes37", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "166004", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "166004", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.71: rta 0.181ms, lost 0%", + "state": "ok", + "service_object_id": "340", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401744", + "perfdata_available": "1" + }], + "name": "vm-linbppm96", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.71: rta 0.168ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442235844", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "819432", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "630672", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.27: rta 0.258ms, lost 0%", + "state": "ok", + "service_object_id": "341", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401776", + "perfdata_available": "1" + }], + "name": "vm-linfc3", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.27: rta 0.241ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1441771119", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.23: rta 0.570ms, lost 0%", + "state": "ok", + "service_object_id": "342", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401627", + "perfdata_available": "1" + }], + "name": "vm-linux-bes36", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.96: rta 0.124ms, lost 0%", + "state": "ok", + "service_object_id": "343", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401703", + "perfdata_available": "1" + }], + "name": "vm-mingw", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.54: rta 0.148ms, lost 0%", + "state": "ok", + "service_object_id": "344", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401627", + "perfdata_available": "1" + }], + "name": "vm-mvnint01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "5", + "handled": "5", + "computed_state": "ok", + "unhandled": "0", + "total": "5" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.100: rta 0.026ms, lost 0%", + "state": "ok", + "service_object_id": "346", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401631", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "CPU statistics", + "current_check_attempt": "1", + "output": "OK: utilization:1.5%,guest:0.0%,iowait:0.2%,irq:0.0%,nice:0.0%,softirq:0.0%,steal:0.0%,system:0.5%,user:0.8%", + "state": "ok", + "service_object_id": "345", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401837", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Unix Load Average", + "current_check_attempt": "1", + "output": "OK - load average: 0.00, 0.00, 0.00", + "state": "ok", + "service_object_id": "347", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401627", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Unix Memory", + "current_check_attempt": "1", + "output": "Usage: real 48% (903/1869 MB), buffer: 149 MB, cache: 596 MB, swap: 1% (31/3072 MB)", + "state": "ok", + "service_object_id": "348", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401632", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Unix Swap", + "current_check_attempt": "1", + "output": "SWAP OK - 99% free (3041 MB out of 3071 MB)", + "state": "ok", + "service_object_id": "349", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401715", + "perfdata_available": "1" + }], + "name": "vm-opsview4", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "5", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.228: rta 0.729ms, lost 0%", + "state": "ok", + "service_object_id": "350", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401637", + "perfdata_available": "1" + }], + "name": "vm-oracle-asi", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "410473", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "410473", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.37: rta 3.660ms, lost 0%", + "state": "ok", + "service_object_id": "351", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401776", + "perfdata_available": "1" + }], + "name": "vm-rhel54int", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.37: rta 0.160ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1441991375", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.69: rta 0.290ms, lost 0%", + "state": "ok", + "service_object_id": "352", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401636", + "perfdata_available": "1" + }], + "name": "vm-rhel6", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "562977", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.224: rta 0.309ms, lost 0%", + "state": "ok", + "service_object_id": "353", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401673", + "perfdata_available": "1" + }], + "name": "vm-xpprox86-scm32", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.224: rta 0.258ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1441838814", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "192330", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "192330", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.102: rta 0.670ms, lost 0%", + "state": "ok", + "service_object_id": "354", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401819", + "perfdata_available": "1" + }], + "name": "vmasitest02", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.102: rta 0.241ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442209518", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "192495", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "192495", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.88: rta 0.368ms, lost 0%", + "state": "ok", + "service_object_id": "355", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401653", + "perfdata_available": "1" + }], + "name": "vmscmtest01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.88: rta 0.213ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442209353", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.103: rta 0.281ms, lost 0%", + "state": "ok", + "service_object_id": "356", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401642", + "perfdata_available": "1" + }], + "name": "vmwareserv01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.91: rta 0.298ms, lost 0%", + "state": "ok", + "service_object_id": "357", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401597", + "perfdata_available": "1" + }], + "name": "vostro400-vm", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.8: rta 0.431ms, lost 0%", + "state": "ok", + "service_object_id": "358", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401641", + "perfdata_available": "1" + }], + "name": "vpnserv", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.10: rta 0.214ms, lost 0%", + "state": "ok", + "service_object_id": "359", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401593", + "perfdata_available": "1" + }], + "name": "wales", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.229: rta 0.444ms, lost 0%", + "state": "ok", + "service_object_id": "360", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401643", + "perfdata_available": "1" + }], + "name": "win-4gf3ii79ngf", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.20: rta 0.304ms, lost 0%", + "state": "ok", + "service_object_id": "361", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401624", + "perfdata_available": "1" + }], + "name": "win-ibm-tep", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.167: rta 0.371ms, lost 0%", + "state": "ok", + "service_object_id": "362", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401647", + "perfdata_available": "1" + }], + "name": "wshpdev", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.16: rta 0.275ms, lost 0%", + "state": "ok", + "service_object_id": "363", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401713", + "perfdata_available": "1" + }], + "name": "xenbackup01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.83: rta 0.298ms, lost 0%", + "state": "ok", + "service_object_id": "364", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401652", + "perfdata_available": "1" + }], + "name": "xenbuild01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.107: rta 0.245ms, lost 0%", + "state": "ok", + "service_object_id": "365", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401581", + "perfdata_available": "1" + }], + "name": "xendev02", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.106: rta 0.246ms, lost 0%", + "state": "ok", + "service_object_id": "366", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401652", + "perfdata_available": "1" + }], + "name": "xendev03", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.15: rta 0.101ms, lost 0%", + "state": "ok", + "service_object_id": "367", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401671", + "perfdata_available": "1" + }], + "name": "xenint01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.110: rta 0.228ms, lost 0%", + "state": "ok", + "service_object_id": "368", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401652", + "perfdata_available": "1" + }], + "name": "xenopdesk01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.113: rta 0.275ms, lost 0%", + "state": "ok", + "service_object_id": "369", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401611", + "perfdata_available": "1" + }], + "name": "xenserver00", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }] +} \ No newline at end of file diff --git a/src/test/resources/testdata/hostSvcs_before.json b/src/test/resources/testdata/hostSvcs_before.json new file mode 100644 index 0000000..b0fc55b --- /dev/null +++ b/src/test/resources/testdata/hostSvcs_before.json @@ -0,0 +1,4378 @@ +{ + "summary": { + "handled": "231", + "unhandled": "8", + "total": "239", + "service": { + "critical": "3", + "ok": "135", + "handled": "135", + "unknown": "3", + "unhandled": "8", + "warning": "2", + "total": "143" + }, + "host": { + "handled": "96", + "unhandled": "0", + "up": "96", + "total": "96" + } + }, + "list": [{ + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.137: rta 0.244ms, lost 0%", + "state": "ok", + "service_object_id": "269", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401550", + "perfdata_available": "1" + }], + "name": "10.0.0.137", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.200: rta 0.247ms, lost 0%", + "state": "ok", + "service_object_id": "270", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401634", + "perfdata_available": "1" + }], + "name": "10.0.0.200", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.201: rta 0.255ms, lost 0%", + "state": "ok", + "service_object_id": "271", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401551", + "perfdata_available": "1" + }], + "name": "10.0.0.201", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.231: rta 0.459ms, lost 0%", + "state": "ok", + "service_object_id": "272", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401715", + "perfdata_available": "1" + }], + "name": "10.0.0.231", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.232: rta 0.359ms, lost 0%", + "state": "ok", + "service_object_id": "273", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401553", + "perfdata_available": "1" + }], + "name": "10.0.0.232", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "2", + "handled": "2", + "computed_state": "unknown", + "unknown": "3", + "unhandled": "3", + "total": "5" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.31: rta 0.918ms, lost 0%", + "state": "ok", + "service_object_id": "274", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401753", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114795", + "state_type": "hard", + "name": "Interface Status", + "current_check_attempt": "3", + "output": "Dependency failure: SNMP Agent is UNKNOWN", + "state": "unknown", + "service_object_id": "275", + "unhandled": "1", + "downtime": "0", + "last_check": "1442401733", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114735", + "state_type": "hard", + "name": "SNMP Agent", + "current_check_attempt": "3", + "output": "check_snmp_sysinfo UNKNOWN - SNMP parameter validation failed. Missing rocommunity!", + "state": "unknown", + "service_object_id": "276", + "unhandled": "1", + "downtime": "0", + "last_check": "1442401734", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114793", + "state_type": "hard", + "name": "Uptime", + "current_check_attempt": "3", + "output": "Dependency failure: SNMP Agent is UNKNOWN", + "state": "unknown", + "service_object_id": "277", + "unhandled": "1", + "downtime": "0", + "last_check": "1442401736", + "perfdata_available": "0" + }, + { + "max_check_attempts": "1", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Uptime Restart", + "current_check_attempt": "1", + "output": "Service assumed OK - no results received", + "state": "ok", + "service_object_id": "278", + "unhandled": "0", + "downtime": "0", + "last_check": "1441286896", + "perfdata_available": "0" + }], + "name": "10.0.0.31", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.31: rta 0.888ms, lost 0%", + "num_services": "5", + "downtime": "0", + "last_check": "1442401733", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.46: rta 0.511ms, lost 0%", + "state": "ok", + "service_object_id": "279", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401805", + "perfdata_available": "1" + }], + "name": "10.0.0.46", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "debian", + "state": "up", + "summary": { + "critical": "1", + "handled": "0", + "computed_state": "critical", + "unhandled": "1", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "863800", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1036939", + "state_type": "hard", + "name": "SSH processes", + "current_check_attempt": "3", + "output": "Connection refused by host", + "state": "critical", + "service_object_id": "372", + "unhandled": "1", + "downtime": "0", + "last_check": "1442401832", + "perfdata_available": "0" + }], + "name": "10.0.0.67", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.67: rta 0.264ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442401832", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.70: rta 0.437ms, lost 0%", + "state": "ok", + "service_object_id": "280", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401567", + "perfdata_available": "1" + }], + "name": "10.0.0.70", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "433675", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "433675", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.86: rta 0.417ms, lost 0%", + "state": "ok", + "service_object_id": "281", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401675", + "perfdata_available": "1" + }], + "name": "10.0.0.86", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.86: rta 0.112ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1441968173", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.93: rta 0.515ms, lost 0%", + "state": "ok", + "service_object_id": "282", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401721", + "perfdata_available": "1" + }], + "name": "10.0.0.93", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.1: rta 2.335ms, lost 0%", + "state": "ok", + "service_object_id": "283", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401630", + "perfdata_available": "1" + }], + "name": "10.0.6.1", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.176: rta 0.483ms, lost 0%", + "state": "ok", + "service_object_id": "286", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401721", + "perfdata_available": "1" + }], + "name": "aixdev2", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.150: rta 0.434ms, lost 0%", + "state": "ok", + "service_object_id": "287", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401709", + "perfdata_available": "1" + }], + "name": "bestraining5", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "79419", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "79419", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.75: rta 0.336ms, lost 0%", + "state": "ok", + "service_object_id": "288", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401630", + "perfdata_available": "1" + }], + "name": "bigip1", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.75: rta 0.192ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442322429", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.77: rta 0.790ms, lost 0%", + "state": "ok", + "service_object_id": "289", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401760", + "perfdata_available": "1" + }], + "name": "build-linux64", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.76: rta 0.288ms, lost 0%", + "state": "ok", + "service_object_id": "290", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401570", + "perfdata_available": "1" + }], + "name": "buildserver01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.97: rta 0.235ms, lost 0%", + "state": "ok", + "service_object_id": "291", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401623", + "perfdata_available": "1" + }], + "name": "demoserver01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.25: rta 0.108ms, lost 0%", + "state": "ok", + "service_object_id": "292", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401574", + "perfdata_available": "1" + }], + "name": "demoserver02", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.51: rta 0.239ms, lost 0%", + "state": "ok", + "service_object_id": "293", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401636", + "perfdata_available": "1" + }], + "name": "devbes", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.89: rta 0.406ms, lost 0%", + "state": "ok", + "service_object_id": "294", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401574", + "perfdata_available": "1" + }], + "name": "devmodeller", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.162: rta 0.329ms, lost 0%", + "state": "ok", + "service_object_id": "295", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401701", + "perfdata_available": "1" + }], + "name": "devtest2", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "161552", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.3: rta 1.141ms, lost 0%", + "state": "ok", + "service_object_id": "296", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401696", + "perfdata_available": "1" + }], + "name": "dvr", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.3: rta 368.532ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442239997", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.185: rta 0.191ms, lost 0%", + "state": "ok", + "service_object_id": "297", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401739", + "perfdata_available": "1" + }], + "name": "england", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.194: rta 0.239ms, lost 0%", + "state": "ok", + "service_object_id": "298", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401581", + "perfdata_available": "1" + }], + "name": "esxi5v1", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "87773", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "87773", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.49: rta 0.532ms, lost 0%", + "state": "ok", + "service_object_id": "284", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401675", + "perfdata_available": "1" + }], + "name": "HPCOMPAQ-JM-VIS", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.49: rta 0.274ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442314075", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.68: rta 0.129ms, lost 0%", + "state": "ok", + "service_object_id": "299", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401672", + "perfdata_available": "1" + }], + "name": "interlinkdc01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.118: rta 0.284ms, lost 0%", + "state": "ok", + "service_object_id": "300", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401583", + "perfdata_available": "1" + }], + "name": "interlinkdc02", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.151: rta 0.353ms, lost 0%", + "state": "ok", + "service_object_id": "301", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401815", + "perfdata_available": "1" + }], + "name": "interlinkserv", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.188: rta 0.220ms, lost 0%", + "state": "ok", + "service_object_id": "302", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401581", + "perfdata_available": "1" + }], + "name": "ireland", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.63: rta 0.263ms, lost 0%", + "state": "ok", + "service_object_id": "285", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401670", + "perfdata_available": "1" + }], + "name": "ISS-HPOVOW", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.61: rta 0.482ms, lost 0%", + "state": "ok", + "service_object_id": "303", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401688", + "perfdata_available": "1" + }], + "name": "iss-hpovow2", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.24: rta 0.388ms, lost 0%", + "state": "ok", + "service_object_id": "304", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401585", + "perfdata_available": "1" + }], + "name": "moasi01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.126: rta 0.469ms, lost 0%", + "state": "ok", + "service_object_id": "305", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401745", + "perfdata_available": "1" + }], + "name": "mobes01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.114: rta 0.455ms, lost 0%", + "state": "ok", + "service_object_id": "306", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401588", + "perfdata_available": "1" + }], + "name": "mobes02", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.10: rta 0.092ms, lost 0%", + "state": "ok", + "service_object_id": "307", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401597", + "perfdata_available": "1" + }], + "name": "nasdev", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.7: rta 1.046ms, lost 0%", + "state": "ok", + "service_object_id": "308", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401593", + "perfdata_available": "1" + }], + "name": "netmonitor", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.40: rta 1.008ms, lost 0%", + "state": "ok", + "service_object_id": "309", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401813", + "perfdata_available": "1" + }], + "name": "nexus", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.208: rta 0.434ms, lost 0%", + "state": "ok", + "service_object_id": "310", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401592", + "perfdata_available": "1" + }], + "name": "nndev1", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.196: rta 0.265ms, lost 0%", + "state": "ok", + "service_object_id": "311", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401725", + "perfdata_available": "1" + }], + "name": "nndev2", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.52: rta 0.251ms, lost 0%", + "state": "ok", + "service_object_id": "312", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401595", + "perfdata_available": "1" + }], + "name": "nndev3", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.62: rta 0.260ms, lost 0%", + "state": "ok", + "service_object_id": "313", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401737", + "perfdata_available": "1" + }], + "name": "nndev4b", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.222: rta 0.441ms, lost 0%", + "state": "ok", + "service_object_id": "314", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401597", + "perfdata_available": "1" + }], + "name": "opbridgeasi01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.122: rta 0.432ms, lost 0%", + "state": "ok", + "service_object_id": "315", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401554", + "perfdata_available": "1" + }], + "name": "opbridgebes01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.132: rta 0.437ms, lost 0%", + "state": "ok", + "service_object_id": "316", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401603", + "perfdata_available": "1" + }], + "name": "opbridgebes02", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.127: rta 0.424ms, lost 0%", + "state": "ok", + "service_object_id": "317", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401752", + "perfdata_available": "1" + }], + "name": "opbridgedb01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.120: rta 0.534ms, lost 0%", + "state": "ok", + "service_object_id": "318", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401602", + "perfdata_available": "1" + }], + "name": "opbridgescm01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.153: rta 0.465ms, lost 0%", + "state": "ok", + "service_object_id": "319", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401592", + "perfdata_available": "1" + }], + "name": "openaudit", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "opsview", + "state": "up", + "summary": { + "critical": "2", + "ok": "36", + "handled": "36", + "computed_state": "critical", + "unhandled": "4", + "warning": "2", + "total": "40" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1468072", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - localhost: rta 0.022ms, lost 0%", + "state": "ok", + "service_object_id": "135", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401706", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "CPU statistics", + "current_check_attempt": "1", + "output": "OK: utilization:1.4%,guest:0.0%,iowait:0.1%,irq:0.0%,nice:0.0%,softirq:0.0%,steal:0.0%,system:0.4%,user:0.8%", + "state": "ok", + "service_object_id": "134", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401688", + "perfdata_available": "1" + }, + { + "max_check_attempts": "2", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Defunct ndo2db Processes", + "current_check_attempt": "1", + "output": "PROCS OK: 0 processes with UID = 498 (nagios), STATE = Z, command name 'ndo2d'", + "state": "ok", + "service_object_id": "136", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401703", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Disk: /", + "current_check_attempt": "1", + "output": "DISK OK - free space: / 22698 MB (88% inode=95%):", + "state": "ok", + "service_object_id": "137", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401707", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Disk: /opt/opsview/work/", + "current_check_attempt": "1", + "output": "DISK OK - free space: / 22698 MB (88% inode=95%):", + "state": "ok", + "service_object_id": "138", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401716", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Disk: /tmp", + "current_check_attempt": "1", + "output": "DISK OK - free space: / 22698 MB (88% inode=95%):", + "state": "ok", + "service_object_id": "139", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401724", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Disk: /usr/local/nagios/var", + "current_check_attempt": "1", + "output": "DISK OK - free space: / 22698 MB (88% inode=95%):", + "state": "ok", + "service_object_id": "140", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401733", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Disk: /usr/local/nagios/var/backups", + "current_check_attempt": "1", + "output": "DISK OK - free space: / 22698 MB (88% inode=95%):", + "state": "ok", + "service_object_id": "141", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401741", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Disk: /var/log/opsview/", + "current_check_attempt": "1", + "output": "DISK OK - free space: / 22698 MB (88% inode=95%):", + "state": "ok", + "service_object_id": "142", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401767", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Disk: /var/opt/opsview", + "current_check_attempt": "1", + "output": "DISK OK - free space: / 22698 MB (88% inode=95%):", + "state": "ok", + "service_object_id": "143", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401775", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Nagios Core Processes", + "current_check_attempt": "1", + "output": "PROCS OK: 6 processes with command name 'nagios'", + "state": "ok", + "service_object_id": "144", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401762", + "perfdata_available": "1" + }, + { + "max_check_attempts": "1", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Nagios Core Startup", + "current_check_attempt": "1", + "output": "Nagios started up in 0 seconds", + "state": "ok", + "service_object_id": "145", + "unhandled": "0", + "downtime": "0", + "last_check": "1442399066", + "perfdata_available": "1" + }, + { + "max_check_attempts": "1", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Nagios Core Stats", + "current_check_attempt": "1", + "output": "NAGIOSTATS OK", + "state": "ok", + "service_object_id": "146", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401775", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview Agent", + "current_check_attempt": "1", + "output": "NRPE v2.14 (OpsviewAgent 4.6.3.0: osname=Linux: osvers=2.6.32-573.3.1.el6.x86_64: desc=CentOS release 6.7 (Final))", + "state": "ok", + "service_object_id": "147", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401781", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview Application Processes", + "current_check_attempt": "1", + "output": "PROCS OK: 1 process with args 'opsview_web_server'", + "state": "ok", + "service_object_id": "148", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401794", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview Application Server", + "current_check_attempt": "1", + "output": "TCP OK - 0.005 second response time on localhost port 3000", + "state": "ok", + "service_object_id": "149", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401802", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "519943", + "state_type": "hard", + "name": "Opsview Application Status", + "current_check_attempt": "3", + "output": "opsview CRITICAL (critical=1)\nopsview (errors=1):\n CRITICAL opsview::Opsview Login", + "state": "critical", + "service_object_id": "150", + "unhandled": "1", + "downtime": "0", + "last_check": "1442401626", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview Daemon", + "current_check_attempt": "1", + "output": "TCP OK - 0.000 second response time on socket /usr/local/nagios/var/rw/opsviewd.cmd", + "state": "ok", + "service_object_id": "154", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401842", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview Data Warehouse Status", + "current_check_attempt": "1", + "output": "ODW_STATUS OK - Last updated: 2015-09-16T11:00:00", + "state": "ok", + "service_object_id": "155", + "unhandled": "0", + "downtime": "0", + "last_check": "1442400942", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1467877", + "state_type": "hard", + "name": "Opsview DB Connections", + "current_check_attempt": "1", + "output": "MYSQL_PERFORMANCE OK - All parameters OK", + "state": "ok", + "service_object_id": "151", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401573", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1467870", + "state_type": "hard", + "name": "Opsview DB Performance", + "current_check_attempt": "1", + "output": "MYSQL_PERFORMANCE OK - All parameters OK", + "state": "ok", + "service_object_id": "152", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401583", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview DB Status", + "current_check_attempt": "1", + "output": "Uptime: 1642868 Threads: 9 Questions: 6698766 Slow queries: 0 Opens: 28885 Flush tables: 1 Open tables: 64 Queries per second avg: 4.77", + "state": "ok", + "service_object_id": "153", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401831", + "perfdata_available": "1" + }, + { + "max_check_attempts": "2", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview Graphing Import", + "current_check_attempt": "1", + "output": "LOGS OK - Oldest log file is 0 seconds old, 0 files backlogged", + "state": "ok", + "service_object_id": "156", + "unhandled": "0", + "downtime": "0", + "last_check": "1442400950", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "344445", + "state_type": "hard", + "name": "Opsview Housekeeping Cronjob Monitor", + "current_check_attempt": "1", + "output": "CRONJOBS OK - Housekeeping cronjob last successfully ran 21 hours ago", + "state": "ok", + "service_object_id": "158", + "unhandled": "0", + "downtime": "0", + "last_check": "1442359803", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "344437", + "state_type": "hard", + "name": "Opsview Housekeeping Monitor", + "current_check_attempt": "1", + "output": "HOUSEKEEP OK - Housekeeping script last successfully ran 21 hours ago", + "state": "ok", + "service_object_id": "159", + "unhandled": "0", + "downtime": "0", + "last_check": "1442359811", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "520100", + "state_type": "hard", + "name": "Opsview HTTP", + "current_check_attempt": "3", + "output": "HTTP WARNING: HTTP/1.1 403 Forbidden - 5159 bytes in 0.001 second response time", + "state": "warning", + "service_object_id": "157", + "unhandled": "1", + "downtime": "0", + "last_check": "1442401768", + "perfdata_available": "1" + }, + { + "max_check_attempts": "2", + "markdown": "0", + "state_duration": "690270", + "state_type": "hard", + "name": "Opsview License Checks", + "current_check_attempt": "2", + "output": "LICENSE_EXPIRY WARNING - Opsview 30 Day Trial is valid until 2015-09-26 23:59:59", + "state": "warning", + "service_object_id": "160", + "unhandled": "1", + "downtime": "0", + "last_check": "1442316438", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "520159", + "state_type": "hard", + "name": "Opsview Login", + "current_check_attempt": "3", + "output": "HTTP CRITICAL: HTTP/1.1 404 Not Found - string 'login_username' not found on 'http://localhost:80/login' - 458 bytes in 0.009 second response time", + "state": "critical", + "service_object_id": "161", + "unhandled": "1", + "downtime": "0", + "last_check": "1442401709", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview NDO", + "current_check_attempt": "1", + "output": "NDO OK - 0 ndo files backlogged", + "state": "ok", + "service_object_id": "162", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401593", + "perfdata_available": "1" + }, + { + "max_check_attempts": "2", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Opsview Updates", + "current_check_attempt": "1", + "output": "UPDATES OK - Survey information sent", + "state": "ok", + "service_object_id": "163", + "unhandled": "0", + "downtime": "0", + "last_check": "1442359601", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Read-only Partitions: /", + "current_check_attempt": "1", + "output": "RO_MOUNTS OK: No ro mounts found", + "state": "ok", + "service_object_id": "164", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401616", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Read-only Partitions: /opt/opsview/work/", + "current_check_attempt": "1", + "output": "RO_MOUNTS OK: No ro mounts found", + "state": "ok", + "service_object_id": "165", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401617", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Read-only Partitions: /tmp", + "current_check_attempt": "1", + "output": "RO_MOUNTS OK: No ro mounts found", + "state": "ok", + "service_object_id": "166", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401627", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Read-only Partitions: /usr/local/nagios/var", + "current_check_attempt": "1", + "output": "RO_MOUNTS OK: No ro mounts found", + "state": "ok", + "service_object_id": "167", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401635", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Read-only Partitions: /usr/local/nagios/var/backups", + "current_check_attempt": "1", + "output": "RO_MOUNTS OK: No ro mounts found", + "state": "ok", + "service_object_id": "168", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401643", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Read-only Partitions: /var/log/opsview/", + "current_check_attempt": "1", + "output": "RO_MOUNTS OK: No ro mounts found", + "state": "ok", + "service_object_id": "169", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401647", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Read-only Partitions: /var/opt/opsview", + "current_check_attempt": "1", + "output": "RO_MOUNTS OK: No ro mounts found", + "state": "ok", + "service_object_id": "170", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401657", + "perfdata_available": "0" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Unix Load Average", + "current_check_attempt": "1", + "output": "OK - load average: 0.00, 0.00, 0.00", + "state": "ok", + "service_object_id": "171", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401668", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Unix Memory", + "current_check_attempt": "1", + "output": "Usage: real 48% (903/1869 MB), buffer: 149 MB, cache: 596 MB, swap: 1% (31/3072 MB)", + "state": "ok", + "service_object_id": "172", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401671", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1468072", + "state_type": "hard", + "name": "Unix Swap", + "current_check_attempt": "1", + "output": "SWAP OK - 99% free (3041 MB out of 3071 MB)", + "state": "ok", + "service_object_id": "173", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401682", + "perfdata_available": "1" + }], + "name": "opsview", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - localhost: rta 0.025ms, lost 0%", + "num_services": "40", + "downtime": "0", + "last_check": "1442401768", + "alias": "Opsview Master Server" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.135: rta 0.268ms, lost 0%", + "state": "ok", + "service_object_id": "320", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401603", + "perfdata_available": "1" + }], + "name": "penne", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.165: rta 0.408ms, lost 0%", + "state": "ok", + "service_object_id": "321", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401784", + "perfdata_available": "1" + }], + "name": "publicrepo", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.143: rta 0.435ms, lost 0%", + "state": "ok", + "service_object_id": "322", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401604", + "perfdata_available": "1" + }], + "name": "reposerver01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.125: rta 0.410ms, lost 0%", + "state": "ok", + "service_object_id": "323", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401570", + "perfdata_available": "1" + }], + "name": "rhel6-rsbes1", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "575883", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "575883", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.254: rta 0.591ms, lost 0%", + "state": "ok", + "service_object_id": "324", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401665", + "perfdata_available": "1" + }], + "name": "router", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.254: rta 0.519ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1441825965", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.9: rta 0.306ms, lost 0%", + "state": "ok", + "service_object_id": "325", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401722", + "perfdata_available": "1" + }], + "name": "routerguest", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.141: rta 0.412ms, lost 0%", + "state": "ok", + "service_object_id": "326", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401607", + "perfdata_available": "1" + }], + "name": "scm-14-dev-lj", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.182: rta 0.442ms, lost 0%", + "state": "ok", + "service_object_id": "327", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401743", + "perfdata_available": "1" + }], + "name": "sfui", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.35: rta 0.224ms, lost 0%", + "state": "ok", + "service_object_id": "328", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401612", + "perfdata_available": "1" + }], + "name": "sharepoint01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.1: rta 2.179ms, lost 0%", + "state": "ok", + "service_object_id": "329", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401692", + "perfdata_available": "1" + }], + "name": "switch48gig", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "108176", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.170: rta 0.294ms, lost 0%", + "state": "ok", + "service_object_id": "330", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401672", + "perfdata_available": "1" + }], + "name": "testingserver02", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.170: rta 0.255ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442293618", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.149: rta 0.449ms, lost 0%", + "state": "ok", + "service_object_id": "331", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401733", + "perfdata_available": "1" + }], + "name": "testlink", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.57: rta 0.463ms, lost 0%", + "state": "ok", + "service_object_id": "332", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401614", + "perfdata_available": "1" + }], + "name": "ubu-nagios", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "593150", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "593150", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.19: rta 0.444ms, lost 0%", + "state": "ok", + "service_object_id": "333", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401799", + "perfdata_available": "1" + }], + "name": "ubustwdata", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.19: rta 0.304ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1441808698", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "410453", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "225892", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.190: rta 4.382ms, lost 0%", + "state": "ok", + "service_object_id": "334", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401556", + "perfdata_available": "1" + }], + "name": "vm-2k3-mq701", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.190: rta 0.236ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442175902", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "79355", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "79355", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.81: rta 0.382ms, lost 0%", + "state": "ok", + "service_object_id": "335", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401693", + "perfdata_available": "1" + }], + "name": "vm-2k8nnmi910", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.81: rta 0.220ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442322493", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.17: rta 0.271ms, lost 0%", + "state": "ok", + "service_object_id": "336", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401619", + "perfdata_available": "1" + }], + "name": "vm-backup", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "192543", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "118983", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.14: rta 0.369ms, lost 0%", + "state": "ok", + "service_object_id": "337", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401665", + "perfdata_available": "1" + }], + "name": "vm-dhhsbctest2", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.14: rta 0.320ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442282812", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.18: rta 0.144ms, lost 0%", + "state": "ok", + "service_object_id": "338", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401620", + "perfdata_available": "1" + }], + "name": "vm-intbes36", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.28: rta 0.248ms, lost 0%", + "state": "ok", + "service_object_id": "339", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401607", + "perfdata_available": "1" + }], + "name": "vm-intbes37", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "166004", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "166004", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.71: rta 0.181ms, lost 0%", + "state": "ok", + "service_object_id": "340", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401744", + "perfdata_available": "1" + }], + "name": "vm-linbppm96", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.71: rta 0.168ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442235844", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "819432", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "630672", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.27: rta 0.258ms, lost 0%", + "state": "ok", + "service_object_id": "341", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401776", + "perfdata_available": "1" + }], + "name": "vm-linfc3", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.27: rta 0.241ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1441771119", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.23: rta 0.570ms, lost 0%", + "state": "ok", + "service_object_id": "342", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401627", + "perfdata_available": "1" + }], + "name": "vm-linux-bes36", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.96: rta 0.124ms, lost 0%", + "state": "ok", + "service_object_id": "343", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401703", + "perfdata_available": "1" + }], + "name": "vm-mingw", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.54: rta 0.148ms, lost 0%", + "state": "ok", + "service_object_id": "344", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401627", + "perfdata_available": "1" + }], + "name": "vm-mvnint01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "5", + "handled": "5", + "computed_state": "ok", + "unhandled": "0", + "total": "5" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.100: rta 0.026ms, lost 0%", + "state": "ok", + "service_object_id": "346", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401631", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "CPU statistics", + "current_check_attempt": "1", + "output": "OK: utilization:1.5%,guest:0.0%,iowait:0.2%,irq:0.0%,nice:0.0%,softirq:0.0%,steal:0.0%,system:0.5%,user:0.8%", + "state": "ok", + "service_object_id": "345", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401837", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Unix Load Average", + "current_check_attempt": "1", + "output": "OK - load average: 0.00, 0.00, 0.00", + "state": "ok", + "service_object_id": "347", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401627", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Unix Memory", + "current_check_attempt": "1", + "output": "Usage: real 48% (903/1869 MB), buffer: 149 MB, cache: 596 MB, swap: 1% (31/3072 MB)", + "state": "ok", + "service_object_id": "348", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401632", + "perfdata_available": "1" + }, + { + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Unix Swap", + "current_check_attempt": "1", + "output": "SWAP OK - 99% free (3041 MB out of 3071 MB)", + "state": "ok", + "service_object_id": "349", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401715", + "perfdata_available": "1" + }], + "name": "vm-opsview4", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "5", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.228: rta 0.729ms, lost 0%", + "state": "ok", + "service_object_id": "350", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401637", + "perfdata_available": "1" + }], + "name": "vm-oracle-asi", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "410473", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "410473", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.37: rta 3.660ms, lost 0%", + "state": "ok", + "service_object_id": "351", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401776", + "perfdata_available": "1" + }], + "name": "vm-rhel54int", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.37: rta 0.160ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1441991375", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.69: rta 0.290ms, lost 0%", + "state": "ok", + "service_object_id": "352", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401636", + "perfdata_available": "1" + }], + "name": "vm-rhel6", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "562977", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.224: rta 0.309ms, lost 0%", + "state": "ok", + "service_object_id": "353", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401673", + "perfdata_available": "1" + }], + "name": "vm-xpprox86-scm32", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.224: rta 0.258ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1441838814", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "192330", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "192330", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.102: rta 0.670ms, lost 0%", + "state": "ok", + "service_object_id": "354", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401819", + "perfdata_available": "1" + }], + "name": "vmasitest02", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.102: rta 0.241ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442209518", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "192495", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "192495", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.88: rta 0.368ms, lost 0%", + "state": "ok", + "service_object_id": "355", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401653", + "perfdata_available": "1" + }], + "name": "vmscmtest01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "OK - 10.0.0.88: rta 0.213ms, lost 0%", + "num_services": "1", + "downtime": "0", + "last_check": "1442209353", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.103: rta 0.281ms, lost 0%", + "state": "ok", + "service_object_id": "356", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401642", + "perfdata_available": "1" + }], + "name": "vmwareserv01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.91: rta 0.298ms, lost 0%", + "state": "ok", + "service_object_id": "357", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401597", + "perfdata_available": "1" + }], + "name": "vostro400-vm", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.8: rta 0.431ms, lost 0%", + "state": "ok", + "service_object_id": "358", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401641", + "perfdata_available": "1" + }], + "name": "vpnserv", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.10: rta 0.214ms, lost 0%", + "state": "ok", + "service_object_id": "359", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401593", + "perfdata_available": "1" + }], + "name": "wales", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.229: rta 0.444ms, lost 0%", + "state": "ok", + "service_object_id": "360", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401643", + "perfdata_available": "1" + }], + "name": "win-4gf3ii79ngf", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.20: rta 0.304ms, lost 0%", + "state": "ok", + "service_object_id": "361", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401624", + "perfdata_available": "1" + }], + "name": "win-ibm-tep", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.6.167: rta 0.371ms, lost 0%", + "state": "ok", + "service_object_id": "362", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401647", + "perfdata_available": "1" + }], + "name": "wshpdev", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.16: rta 0.275ms, lost 0%", + "state": "ok", + "service_object_id": "363", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401713", + "perfdata_available": "1" + }], + "name": "xenbackup01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.83: rta 0.298ms, lost 0%", + "state": "ok", + "service_object_id": "364", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401652", + "perfdata_available": "1" + }], + "name": "xenbuild01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.107: rta 0.245ms, lost 0%", + "state": "ok", + "service_object_id": "365", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401581", + "perfdata_available": "1" + }], + "name": "xendev02", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.106: rta 0.246ms, lost 0%", + "state": "ok", + "service_object_id": "366", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401652", + "perfdata_available": "1" + }], + "name": "xendev03", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.15: rta 0.101ms, lost 0%", + "state": "ok", + "service_object_id": "367", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401671", + "perfdata_available": "1" + }], + "name": "xenint01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.110: rta 0.228ms, lost 0%", + "state": "ok", + "service_object_id": "368", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401652", + "perfdata_available": "1" + }], + "name": "xenopdesk01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.113: rta 0.275ms, lost 0%", + "state": "ok", + "service_object_id": "369", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401611", + "perfdata_available": "1" + }], + "name": "xenserver00", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }, + { + "icon": "server", + "state": "up", + "summary": { + "ok": "1", + "handled": "1", + "computed_state": "ok", + "unhandled": "0", + "total": "1" + }, + "unhandled": "0", + "max_check_attempts": "2", + "num_interfaces": "0", + "state_duration": "1114952", + "services": [{ + "max_check_attempts": "3", + "markdown": "0", + "state_duration": "1114952", + "state_type": "hard", + "name": "Connectivity - LAN", + "current_check_attempt": "1", + "output": "OK - 10.0.0.34: rta 0.199ms, lost 0%", + "state": "ok", + "service_object_id": "370", + "unhandled": "0", + "downtime": "0", + "last_check": "1442401655", + "perfdata_available": "1" + }], + "name": "xenserver01", + "state_type": "hard", + "current_check_attempt": "1", + "output": "Host assumed UP - no results received", + "num_services": "1", + "downtime": "0", + "last_check": "1441286896", + "alias": "" + }] +} \ No newline at end of file