HotSaNIC zeigt keine Grafiken an

Backup, Restore und Transfer von Daten
Post Reply
luc
Posts: 53
Joined: 2003-11-11 07:51
 

HotSaNIC zeigt keine Grafiken an

Post by luc »

Hallo,

ich habe bei mir HotSaNIC installiert. Das hat auch alles wunderbar geklappt auch die Files wurden erstellt im htdocs verzeichniss nur irgendwie will mir einfach keine grafik zustande kommen.
Ich habe alles so wie es im installations script steht gemacht auch die letzten beiden punkten unter bekomme keine grafik angezeigt.

Wie lautet denn die Datenbank oder log in die reingeschreiben wird? Wie kann ich herausfinden woran es hapert?


mfg,
Luc
luc
Posts: 53
Joined: 2003-11-11 07:51
 

Re: HotSaNIC zeigt keine Grafiken an

Post by luc »

oh habs gefunden *schäm* war n falscher buchstebe.

Eine Frage hab ich aber trotzdem ist es möglich mit diesem Programm die selbe übersicht für ein selbstgefähltes Port zu erstellen? Oder am besten noch mit der Möglichkeit 2 ports zu einem zusammenzuzählen und dann als Grafik auszugeben?

danke,
mfg luc.
luc
Posts: 53
Joined: 2003-11-11 07:51
 

Re: HotSaNIC zeigt keine Grafiken an

Post by luc »

Hab grad nochwas gefunden was ich nicht alleine lösen kann (sorri das ich so nerve)

h1641:/programme/HotSaNIC # ./convert.pl
Application initialization failed: no display name and no $DISPLAY environment variable
Error in startup script: invalid command name "wm"
while executing
"wm title . "Convert v1.3""
(file "/usr/X11R6/bin/Convert" line 98)
./convert.pl: could not convert /srv/www/htdocs/traffic/system/load-week.gif to /srv/www/htdocs/traffic/system/thumb-load.gif: at ./convert.pl line 43.
Application initialization failed: no display name and no $DISPLAY environment variable

Wie setze ich denn eine $DISPLAY variable?
und was is wm?
luc
Posts: 53
Joined: 2003-11-11 07:51
 

Re: HotSaNIC zeigt keine Grafiken an

Post by luc »

Hej, ihr habt das programm doch auch sicher installiert oder nicht?
Ihr müsst das doch auch irgendwie hinbekommen haben...
dopefish
Posts: 142
Joined: 2003-02-06 12:57
Location: Karlsruhe
Contact:
 

Re: HotSaNIC zeigt keine Grafiken an

Post by dopefish »

keine ahnung was /usr/X11R6/bin/Convert ist, aber es sieht nicht nach das convert von imagemagik aus.
luc
Posts: 53
Joined: 2003-11-11 07:51
 

Re: HotSaNIC zeigt keine Grafiken an

Post by luc »

dann habe ich es wohl falsch installiert. Wo bekomme ich das richtige her?
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: HotSaNIC zeigt keine Grafiken an

Post by adjustman »

Du solltest in Deinen settings mal auf *.png (statt *.gif) umstellen. Desweiteren auf HTML, statt ImageMagic
luc
Posts: 53
Joined: 2003-11-11 07:51
 

Re: HotSaNIC zeigt keine Grafiken an

Post by luc »

ich habe das programm noch einmal neu installiert. nun tut es. Danke euch! :)
kiwikiwi
Posts: 65
Joined: 2003-08-17 09:06
 

Re: HotSaNIC zeigt keine Grafiken an

Post by kiwikiwi »

# In this file all global settings for HotSaNIC are defined.

#####################################################################
# #
# First we set some important system globals... #
# #
#####################################################################

# Which type of operating system do you use ...
# Currently supported are:
#
# OSTYPE="Linux"
# fully featured for any Linux system, based on Kernel 2.4.x
# 2.2.x based systems may encounter some incompatibilities
#
# OpenBSD
# FreeBSD
# NetBSD
# at the moment a lot of work has to be done to get the system
# completely running under BSD based systems. Currently supported
# are the following modules:
#
# FreeBSD OpenBSD NetBSD
# diskio not tested not tested not tested
# dnet --- should work (it's just log-parsing) ---
# networks --- currently only for Linux/IPTables ---
# part ok ok ok
# ping should work not tested ok
# sensors not tested not tested not tested
# system not tested not tested ok
# traffic ok not tested ok
# worms --- should work (it's just log-parsing) ---
#
OSTYPE="Linux"

#####################################################################
# #
# Then let's configure some pathes... #
# #
#####################################################################

# path to the HotSaNIC main-directory
# this has to be a directory !
#
# DAEMONDIR="/home/daemon/HotSaNIC"
#
DAEMONDIR="/root/HotSaNIC"

# path to the "rrdtool" binary
# this has to be a directory !
#
# BINPATH="/usr/local/rrdtool-1.0.33/bin"
#
BINPATH="/usr/bin"

# set LOGDIR to the directory where logfiles shall be created
# LOGDIR="$DAEMONDIR/log/"
#
LOGDIR="$DAEMONDIR/log/"

# path to the pid-file for the daemon
# PIDFILE="$DAEMONDIR/log/rrdtimer.pid"
#
PIDFILE="$DAEMONDIR/log/rrdtimer.pid"



#####################################################################
# #
# Here are some global parameters #
# #
#####################################################################

# if DIAGRGAMLOG is set to "all" then all diagrams will be logged.
# anything else will log only the last diagram.
# when logfiles reach LOGSIZE they will get rotated.
# LOGBACKUPS old logfiles will be kept as backups
#
DIAGRAMLOG="last"
LOGSIZE="200000"
LOGBACKUPS="5"

# level of debugging (-1 .. 5)
# -1 means no debugging information at all
#
DEBUGLEVEL="-1"

# module-scan timebase (seconds)
# After this time the daemon re-scans for available modules.
#
STIME="120"

# modules listed here (space separated) will be executed
# to use all availabe mods you may enter
# RUN="*"
#
RUN="sensors dnet part ping traffic networks diskio system worms"



#####################################################################
# #
# These settings affect the diagram generation #
# #
#####################################################################

# web-directory for all graphs
# this directory must be writeable for the rrdgraph tool
# because each plugin will create its own subdir here.
#
WEBDIR="/home/www/web2/html/system"

# Sizes of all output-graphics in pixels
#
WIDTH="600"
HEIGHT="200"

# the output-format of the generated images may be either "gif" or "png"
#
IMAGEFORMAT="gif"

# modules listed here (space separated) will be shown on webpage
# to use all availabe mods you may enter
# SHOW="*"
#
SHOW="sensors dnet part ping traffic networks diskio system worms"

# in which order shall the modules appear on the webpage
# unlisted mods will be added in alphabetical order
#
ORDER="traffic system part ping dnet sensors"

# diagram-rebuild timebase (minutes).
# Usually 15 min. should do fine, but if you think your system
# is too busy, just increase the timebase as you like.
# Values up to about 45 make sense since the lowest-scale graph
# covers 60 minutes of data sampled.
#
DTIME="15"

# diagram-convert timebase (hours)
# After this time the weekly diagrams are being converted to
# the smaller pictures on the main page.
#
CTIME="24"

# This setting controlss how the images will be converted
# to thumbnails
#
# Value Behaviour
#
# "ImgMgck" Call ImageMagick's "convert" to create thumbnails
#
# "I::M" Use the Image::Magick module
#
# "HTML" Don't convert at all, but use the HTML image resize
# tag instead. More data has to be transfered using
# this method, but you won't need additional software.
#
CONVERTMETHOD="HTML"

# path to the "convert" binary from ImageMagick package
# this has to be the full path to the binary !
#
# CONVERTPATH="/usr/X11R6/bin/convert"
#
CONVERTPATH="not configured"

# How much shall the thumbnails be scaled compared to the originals.
# Default is 20%.
#
THUMBSIZE="20%"

# refresh time for graphs
# The browser automatically reloads the detailed statistics after
# this timespan.
#
# If you want to disable the auto-refresh, just set the variable to 0
#
REFRESH="300"



#####################################################################
# #
# Helper applications #
# #
#####################################################################

# configure the pathes of some additional applications which may be
# needed by HotSaNIC
#

# configure the full pathes to snmpwalk and snmpget binaries here.
# These may be needed to get data from remote machines.
#
SNMPWALK="/usr/bin/snmpwalk"
SNMPGET="/usr/bin/snmpget"


bei mir werden auch keine bilder erstellt


aber sonst alles
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: HotSaNIC zeigt keine Grafiken an

Post by adjustman »

KiwiKiwi wrote:IMAGEFORMAT="gif"
änder mal auf png
luc
Posts: 53
Joined: 2003-11-11 07:51
 

Re: HotSaNIC zeigt keine Grafiken an

Post by luc »

du solltest mal convert installieren ( yast -i convert ) und dann in deine konfiguration unter:

CONVERTPATH="not configured"

den pfad dahin angeben...

ausserdem noch überprüfen ob das programm rrdtool wirklich in /usr/bin liegt
Post Reply