Code Monkey home page Code Monkey logo

dckr-mrtg's Introduction

I'm Frederico Boaventura

A Senior DevOps / SRE / SysAdmin

Frederico's github stats Top Langs

Top Repositories

dckr-mrtg upytimerobot

Trophies

trophy

dckr-mrtg's People

Contributors

fboaventura avatar fossabot avatar michaelkrieger avatar snyk-bot avatar tweakm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dckr-mrtg's Issues

403 Forbidden

I am getting 403 Forbidden when using the docker-compose as in the README.md

$ curl http://localhost:8880
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
  <title>403 Forbidden</title>
 </head>
 <body>
  <h1>403 Forbidden</h1>
 </body>
</html>

Is this a side effect of moving to lighthttpd?

No Response from localhost:161

I have ran the following commands on my Debian in an empty folder:

mkdir html conf.d
docker run -d -p 8880:80 -e "HOSTS='public:localhost,community:ipaddress'" -v `pwd`/html:/mrtg/html -v `pwd`/conf.d:/etc/mrtg/conf.d fboaventura/dckr-mrtg:latest

After the docker image starts, I am not able to open the localhost:8880.

If I run the docker logs name_of_the_container I get the following output:

usermod: no changes
Timeout: No Response from localhost:161

Any idea what is wrong and why am I not able to see the page on 8880? Do I need to set up any other configuration or data before running docker image?

Thank you in advance for any help!

group mrtg views per host

Hello, I have 25 hosts monitoring
I'd like your container to create a web-dir per host in "/mrtg/html"
/mrtg/html/10.10.10.1
/mrtg/html/10.10.10.2
/mrtg/html/10.10.10.3

Is that possible?
I'd appreciate any help

Support for SNMPv1

I would like to use dckr-mrtg with a HP LaserJet P2015 printer which requires SNMPv1. When I try to add the device, it reports Timeout: No Response from [host].

No writeable cache directories error

Hi,

I have the below error repeated in the logs (plus another error interwoven). Is this a known issue?

conf.d and html are writeable and the images have no problem creating the .cfg and a html.
Also have tmpfs:
- "/run"

Regenerating HTML
/usr/sbin/crond 4.5 dillon's cron daemon, started with loglevel debug
2023-08-05 19:52:49: (server.c.1568) server started (lighttpd/1.4.64)
[Sat Aug 5 18:53:01 2023] 14all.cgi: Use of uninitialized value in concatenation (.) or string at /usr/lib/mrtg2/MRTG_lib.pm line 802.
[Sat Aug 5 18:53:01 2023] 14all.cgi: Use of uninitialized value in concatenation (.) or string at /usr/lib/mrtg2/MRTG_lib.pm line 802.
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
[Sat Aug 5 18:53:01 2023] 14all.cgi: Use of uninitialized value in concatenation (.) or string at /usr/lib/mrtg2/MRTG_lib.pm line 802.
[Sat Aug 5 18:53:01 2023] 14all.cgi: Use of uninitialized value in concatenation (.) or string at /usr/lib/mrtg2/MRTG_lib.pm line 802.
[Sat Aug 5 18:53:01 2023] 14all.cgi: Use of uninitialized value in concatenation (.) or string at /usr/lib/mrtg2/MRTG_lib.pm line 802.
[Sat Aug 5 18:53:01 2023] 14all.cgi: Use of uninitialized value in concatenation (.) or string at /usr/lib/mrtg2/MRTG_lib.pm line 802.
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories

initgroups failed: root Permission denied

Hi!

I'm getting this error message....

mrtg_1  | FILE /etc/crontabs/root USER root PID  34 /usr/bin/mrtg /etc/mrtg/mrtg.cfg || true
mrtg_1  | initgroups failed: root Permission denied
mrtg_1  | unable to ChangeUser (user root /usr/bin/mrtg /etc/mrtg/mrtg.cfg || true)
mrtg_1  | exit status 1 from user root /usr/bin/mrtg /etc/mrtg/mrtg.cfg || true

It never gets data from the router...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.