I seem to have a problem where my previouse configs does not show up in librenms. It is suppose to be on the right top side, but there is nothing there. Not only that but my poller does not pull(no graphs showing). Below is my config for both oxidized and librenms(config.php), any suggestions?
resolve_dns: false
interval: 3600
use_syslog: false
debug: false
threads: 30
timeout: 20
retries: 2
prompt: !ruby/regexp /^(?.+)?\s?[#>]/
rest: 192.168.195.57:8888
next_adds_job: false
groups: {}
models: {}
pid: â/home/oxidized/.config/oxidized/pidâ
crash:
directory: â/home/oxidized/.config/oxidized/crashesâ
hostnames: false
stats:
history_size: 10
input:
default: ssh
debug: â/home/oxidized/.config/oxidized/log_inputâ
ssh:
secure: false
ftp:
passive: true
utf8_encoded: true
output:
default: git
git:
user: oxidized
email: âoxidized@exampleâ
repo: /home/oxidized/.config/oxidized/oxidized-git
output:
file:
directory: â/home/oxidized/.config/oxidized/configsâ
management ssh:
auth_methods: none, publickey, password, keyboard-interactive
source:
default: http
debug: false
http:
url: http://192.168.195.57/api/v0/oxidized
source:
default: csv
csv:
file: /home/oxidized/.config/oxidized/router.db
delimiter: !ruby/regexp /
map:
name: 0
ip: 1
model: 2
group: 3
vars_map:
enable: 4
model_map:
Juniper: junos
A10: acos
VSP7K: VSP7K
Palo: panos
groups:
palo:
username: admin
password: admin
Juniper:
username: rancid
password: dicnar.13
VSP7K:
username: rancid
password: dicnar.13
A10:
username: rancid
password: dicnar.13
hooks:
post-commit:
type: exec
events: [node_success, post_store]
cmd: âcd /home/oxidized/.config/oxidized/devices.git && git push -f -q /home/oxidized/.config/oxidized/devices.git masterâ
â end of oxidizedâ
---- config.php â
<?php
## Have a look in defaults.inc.php for examples of settings you can set here. DO NOT EDIT defaults.inc.php!`
### Database config
$config[âdb_hostâ] = â192.168.195.57â;
//$config[âdb_portâ] = â3306â;
$config[âdb_userâ] = âlibrenmsâ;
$config[âdb_passâ] = âKH_passwordâ;
$config[âdb_nameâ] = âlibrenmsâ;
$config[âdb_socketâ] = ââ;
// This is the user LibreNMS will run as
//Please ensure this user is created and has the correct permissions to your install
$config[âuserâ] = âlibrenmsâ;
### Locations - it is recommended to keep the default
#$config[âinstall_dirâ] = â/opt/librenmsâ;
### This should *only* be set if you want to *force* a particular hostname/port
### It will prevent the web interface being usable form any other hostname
$config[âbase_urlâ] = âhttp://librenms.company.comâ;
### Enable this to use rrdcached. Be sure rrd_dir is within the rrdcached dir
### and that your web server has permission to talk to rrdcached.
$config[ârrdcachedâ] = âunix:/var/run/rrdcached.sockâ;
### Default community
$config[âsnmpâ][âcommunityâ] = array(âpublicâ);
### Authentication Model
$config[âauth_mechanismâ] = âmysqlâ; # default, other options: ldap, http-auth
#$config[âhttp_auth_guestâ] = âguestâ; # remember to configure this user if you use http-auth
### List of RFC1918 networks to allow scanning-based discovery
$config[ânetsâ][] = â10.0.0.0/8â;
$config[ânetsâ][] = â172.16.0.0/12â;
$config[ânetsâ][] = â192.168.0.0/16â;
# Update configuration
$config[âupdate_channelâ] = âreleaseâ; # uncomment to follow the monthly release channel
$config[âupdateâ] = 0; # uncomment to completely disable updates
# following is necessary for poller-wrapper
# poller-wrapper is released public domain
$config[âpoller-wrapperâ][âalerterâ] = FALSE;
# Uncomment the next line to disable daily updates
$config[âupdateâ] = 0;
# Uncomment to submit callback stats via proxy
$config[âcallback_proxyâ] = âhostname:portâ;
# Set default port association mode for new devices (default: ifIndex)
#$config['default_port_association_mode'] = 'ifIndex';
$config[âenable_billingâ] = 1;
$config[âshow_servicesâ] = 1;
$config[ânagios_pluginsâ] = â/usr/lib/nagios/pluginsâ;
$config[âenable_syslogâ] = 1;
# Oxidized configuration
$config[âoxidizedâ][âenabledâ] = TRUE;
$config[âoxidizedâ][âurlâ] = â192.168.195.57:8888â;
$config[âoxidizedâ][âfeaturesâ][âversioningâ] = true;
$config[âoxidizedâ][âgroup_supportâ] = true;
$config[âoxidizedâ][âdefault_groupâ] = âdefaultâ;
$config[âoxidizedâ][âreload_nodesâ] = true;`