Building graphs - SOLVED
Posted: Fri Dec 10, 2010 9:42 am
Hi,
I'm having a problem with some graphs.
There are services on which the graphs are cuccessfully generated and others returning an error message on the browser.
I will show you one of those errors:
This one is related to a network printer service which is described below:
I'm hoping this is a simple error, based on the fact that I'm an unexperienced nagios administrator.
With my best regards, sebastiaopburnay
I'm having a problem with some graphs.
There are services on which the graphs are cuccessfully generated and others returning an error message on the browser.
I will show you one of those errors:
Code: Select all
RRD Database/var/lib/nagios/hplj5100tn_-_Centro_de_Controlo/Printer_Status.rrd not found.
Code: Select all
define host{
use generic-printer
host_name hplj5100tn - Centro de Controlo
alias HP LaserJet 5100tn
address 172.20.10.38
hostgroups network-printers
parents SW ComServ I
action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
}
define hostextinfo{
host_name hplj5100tn - Centro de Controlo
notes Bloco B - Piso 1 - Centro de Controlo
icon_image printer.gif
icon_image_alt Bloco B - Piso 1 - Centro de Controlo
statusmap_image printer.png
}
define service{
use generic-service
host_name hplj5100tn - Centro de Controlo
service_description Printer Status
check_command check_hpjd!-C public
normal_check_interval 10
retry_check_interval 1
action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
}
With my best regards, sebastiaopburnay