wiki:monitoring
Dies ist eine alte Version des Dokuments!
Graphite
http://emmanuel.iffly.free.fr/doku.php?id=linux:graphite_opensuse
Mit pip Pakete suchen über einen Proxy
sudo -s pip3 search gmp --proxy https://ronni:geheim@webproxy.example.de:8002
Python Pakete mit Pip nachinstallieren
Zunächst muss der Proxy für pip überwunden werden:
With Ubuntu I could not get the proxy option to work as advertised – so following command did not work:
sudo pip --proxy http://web-proxy.mydomain.com install somepackage
But exporting the https_proxy environment variable (note its https_proxy not http_proxy) did the trick:
export https_proxy=http://web-proxy.mydomain.com
oder wenn ein spezieller Port verwendet wird:
export https_proxy=http://webproxy.intra.rodgau.de:8080
anschließend pip nutzen:
sudo -E pip install somepackage
oder falls eine Authentifizierung benötigt wird:
pip --proxy user:geheim@webproxy.intra.rodgau.de:8080 search graphite-web
same here, –proxy
did not work, I had to specify BOTH http_proxy
AND https_proxy
(Debian behind a corp firewall)
pip install carbon --proxy http://user:geheim@192.168.1.2:8080
Update pip
-U, --upgrade Upgrade all packages to the newest available version. This process is recursive regardless of whether a dependency is already satisfied.
pip --upgrade --proxy http://user:geheim@192.168.1.2:8080
Package Check
check Verify installed packages have compatible dependencies.
für OpenVAS check
ronni@doom2018:~/git_src/Icinga_Plugin_Sammlung> ./check_gmp.py Traceback (most recent call last): File "./check_gmp.py", line 37, in <module> from gmp.gvm_connection import (SSHConnection, ImportError: No module named 'gmp'
#!/usr/bin/python3 # -*- coding: utf-8 -*- # GMP Nagios Command Plugin # # Description: A nagios command plugin for the Greenbone Management Protocol import argparse import logging import os import sys import sqlite3 import tempfile import signal from argparse import RawTextHelpFormatter from datetime import datetime from lxml import etree from gmp.gvm_connection import (SSHConnection, TLSConnection, UnixSocketConnection)
wiki/monitoring.1550755525.txt.gz · Zuletzt geändert: 2019/02/21 14:25 von techguru