Skip to content

Instantly share code, notes, and snippets.

import urllib
import urllib2
import random
import sys
import json
import time
import pprint
datafrom = '-12hours'
delay = 0.3
@toni-moreno
toni-moreno / main-gosnmpwalkv3.go
Last active April 3, 2017 03:31
concurrent-gonsmp
package main
import (
l "github.com/Sirupsen/logrus"
g "github.com/soniah/gosnmp"
"log"
"sync"
"time"
)
@toni-moreno
toni-moreno / GRAFANA_INFLUX_HA_DASHBOARD.json
Created May 18, 2019 07:40
Grafana HA TEST Dashboard with influxdb-srelay
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@toni-moreno
toni-moreno / drone.log
Created November 1, 2019 08:53
drone_log
{
"level": "info",
"msg": "main: internal scheduler enabled",
"time": "2019-11-01T07:31:16Z"
}
{
"build.limit": 0,
"expires": "0001-01-01T00:00:00Z",
"kind": "trial",
"level": "debug",
// Copyright 2019 The Mangos Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use file except in compliance with the License.
// You may obtain a copy of the license at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,