linspector.github.io/_site/documentation/installation-guide/index.html

110 lines
4.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Linspector System Monitoring - Installation Guide</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="System, Network, Service and Device Monitoring solution">
<meta name="author" content="Johannes Findeisen, Rafael Timmerberg">
<meta name="keywords" content="linspector,network,monitoring,watchguard,notification,system,alert,alarm,sla,vital,information">
<link rel="alternate" type="application/atom+xml" title="Linspector Atom Feed" href="/news/atom.xml">
<link rel="shortcut icon" href="/img/linspector.favicon.png" type="image/png">
<link href="/css/normalize.css" rel="stylesheet">
<link href="/css/bootstrap.min.css" rel="stylesheet">
<link href="/css/prettify.css" rel="stylesheet">
<link href="/css/table.css" rel="stylesheet">
<link href="/css/linspector.css" rel="stylesheet">
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/github.commits.widget.js"></script>
<script src="/js/prettify/prettify.js"></script>
</head>
<body onload="prettyPrint()">
<div id="wrap">
<div class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Linspector</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<!--<li><a href="/">Home</a></li>
<li><a href="/about/">About</a></li>
<li><a href="/features/">Features</a></li>
<li><a href="/news/">News</a></li>
<li class="active"><a href="/documentation/">Documentation</a></li>
<li><a href="/community/">Community</a></li>
<li><a href="/download/">Download</a></li>
<li><a href="/projects/">Projects</a></li>
<li><a href="/development/">Development</a></li>-->
</ul>
<ul class="nav navbar-nav navbar-right">
<li style="padding-left:6px;"><img src="/img/linspector.new.png" /></li>
</ul>
</div>
</div>
</div>
<div class="container">
<h2>Installation Guide</h2>
<ul>
<li><i>Added: 2013.09.30 by Johannes Findeisen (hanez)</i></li>
<li><i>Last update: 2013.11.03 by Johannes Findeisen (hanez)</i></li>
<li><i>License: <a href="http://creativecommons.org/licenses/by-sa/3.0/" class="ext">CC Attribution-Share Alike 3.0 Unported</a></i></li>
</ul>
<h3>Introduction</h3>
<p>Here we show you how easy it is to install Linspector.</p>
<h3>Get Linspector</h3>
<p>Go to the Linspector <a href="/download/">download page</a> and download the latest package as zip or tar.gz file and extract it.</p>
<p>Then switch to the new linspector directory:</p>
<pre>cd linspector-VERSION</pre>
<h3>Requirements</h3>
<p>You need at least Python 2.7.* and the APScheduler library to run Linspector. We recommend to install Python using your package manager. Libraries are very easy to install using the Python package manager pip. Just install pip from your systems package manager and run the following command:</p>
<pre>pip install apscheduler</pre>
<p>All dependencies are being resolved and everything needed will be installed.</p>
<p>To install all libraries Linspector is using - even the optionally libraries - you can do this by running the following command from the root of the Linspector source tree:</p>
<pre>pip install -r requirements.txt</pre>
<p>"requirements" is a text file provided by Linspector. When doing it this way you can be sure installing working versions of the libraries.</p>
<h3>Run Linspector</h3>
<p>Running Linspector is very easy. </p>
<p><b>Since Linspector currently is a little bit broken you need to set the $PYTHONPATH to make sure imports of libs are working:</b></p>
<pre>export PYTHONPATH=`pwd`</pre>
<p>Then you only need to run the following command:</p>
<pre>./bin/linspector path/to/config.json</pre>
<p>Since we have not created a config file yet you need to configure Linspector to really get it up running. Read the <a href="/documentation/minimal-configuration-guide/">Minimal Configuration Guide</a> for that.</p>
</div>
</div>
<div id="footer">
<div class="container">
<p class="text-muted credit">&copy; 2011 - 2015 by the Linspector development team, this site is hosted on <a href="http://pages.github.com" class="ext">GitHub Pages</a></p>
</div>
</div>
</body>
</html>