Skip to content
This repository has been archived by the owner on Feb 22, 2019. It is now read-only.

Commit

Permalink
Aula de 28/05/2015
Browse files Browse the repository at this point in the history
SNMP para gerência de monitoramento e contabilização de recursos
básicos de equipamentos de rede.
  • Loading branch information
Ederson Torresini committed Jul 15, 2015
1 parent 3b95e52 commit 9e4f4a0
Show file tree
Hide file tree
Showing 5 changed files with 467 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etc/apache2/conf.d/zabbix.conf
@@ -0,0 +1,3 @@
<IfModule mod_alias.c>
Alias /zabbix /usr/share/zabbix
</IfModule>
Empty file added etc/snmp/snmp.conf
Empty file.
4 changes: 4 additions & 0 deletions etc/snmp/snmpd.conf
@@ -0,0 +1,4 @@
rocommunity public
sysLocation Lab. de Redes I
sysContact sysadmin@gerencia.local
sysServices 72
25 changes: 25 additions & 0 deletions etc/zabbix/dbconfig.php
@@ -0,0 +1,25 @@
<?php

global $DB;

$DB["TYPE"] = "mysql";
$DB["SERVER"] = "localhost";
$DB["PORT"] = "0";
$DB["DATABASE"] = "zabbix";
$DB["USER"] = "zabbix";
$DB["PASSWORD"] = "zabbix";
$ZBX_SERVER = "127.0.0.1";
$ZBX_SERVER_PORT = "10051";

$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;


if($DB["TYPE"] == "mysql")
$DB["TYPE"] = "MYSQL";

if($DB["TYPE"] == "pgsql")
$DB["TYPE"] = "POSTGRESQL";

if($DB["TYPE"] == "sqlite3")
$DB["TYPE"] = "SQLITE3";
?>

0 comments on commit 9e4f4a0

Please sign in to comment.