Tuesday, May 21st 2013, 1:55pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to Monitoring-Portal.
Although this is a german monitoring forum, please don't hesitate to post in English. Nearly everybody here understands you and will answer in English as well.
If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form to register here or read more information about the registration process. If you are already registered, please login here.

ralfi

Beginner

Posts: 6

Birthday: Dec 25th

Gender: male

Number of monitoring servers: 2

Nagios Version: 3.4

Icinga Version: keine

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: ca. 100

Number of services: ca. 800

OS: Debian Linux, WinXP, Win 200x

Plugin Version: 1.4

Other Addons: NRPE 2.12, pnp4nagios 0.6

1

Wednesday, June 27th 2012, 10:15am

PNP4Nagios zeigt keine Graphen an

Hallo allesamt,
ich bin gerade dabei, mein Nagios 3.4 auf check_mk und ein bisschen zusätzliches grafisches Zeuch umzustellen. Mein Problem ist, dass die gesammelten Performance-Daten in der Web-Schnittstelle von pnp4nagios nicht angezeigt werden

Ich arbeite mit Debian sid und folgende Pakete sind installiert:

nagios-plugins 1.4.16~pre1-1 Plugins for nagios compatible monitoring systems (metapackage)
nagios-plugins-basic 1.4.16~pre1-1 Plugins for nagios compatible monitoring systems
nagios-plugins-common 1.4.16~pre1-1 Common files for plugins for nagios compatible monitoring
nagios-plugins-contrib 3.20120614 Plugins for nagios compatible monitoring systems
nagios-plugins-standard 1.4.16~pre1-1 Plugins for nagios compatible monitoring systems
nagios3 3.4.1-1 A host/service/network monitoring and management system
nagios3-cgi 3.4.1-1 cgi files for nagios3
nagios3-common 3.4.1-1 support files for nagios3
nagios3-core 3.4.1-1 A host/service/network monitoring and management system core files
pnp4nagios 0.6.16-1 Nagios addon to create graphs from performance data
pnp4nagios-bin 0.6.16-1 Nagios addon to create graphs from performance data (binaries)
pnp4nagios-web 0.6.16-1


Alle gesammelten Performance-Daten liegen schön unter /var/lib/pnp4bnagios/perfdata/ und der rrdbase-Pfad in der /etc/pnp4nagios/config.php ist auch auf /var/lib/pnp4bnagios/perfdata/ gesetzt.
Wenn ich mit su mal die Identität von www-data annehme, kann ich mir die Daten anzeigen lassen, also sollte auch der apache2-Prozess darauf Zugriff haben.

Die enstprechenden Optionen ist den Host- und Service-Templates sind gesetzt, Nagios zeigt mir das schöne kleine Kästchen "Perform Extra Host Actions" an und ruft auch den http-Link im neuen Browser-Tab auf, zeigt aber nix an. Es erscheint eine leere Seite. Die Standard-Templates sind in dem vorgesehenen Verzeichnis /usr/share/pnp4nagios/html/templates.dist/ vorhanden und auch als www-data lesbar.

Im Apache-Error Log steht der höchst kryptische Fehler, dass die Datei /usr/share/nagios3/htdocs/js nicht gefunden wird, die auch tatsächlich nicht da ist. Fehlt mir da noch irgendwas in Richtung Javascript? Ich habe nur das Paket javascript-common installiert.

Ich würde mich sehr über jegliche Hilfe bei der Lösung des Problems freuen.

pitchfork

Administrator

Posts: 18,436

Location: Kassel

Occupation: Sysadmin SAP / Linux / AIX

Number of monitoring servers: 2

Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)

Nagios Version: 3.2.3 ( OMD )

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 360

Number of services: 6700

OS: Debian 6.0

Plugin Version: 1.4.x

Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk

2

Wednesday, June 27th 2012, 10:34am

PNP4Nagios 0.6.x verwendet das Kohana Framework.
Kohanan hat jedoch einen Bug in Verbindung mit PHP 5.4.x

Ich habe das bereits für PNP4Nagios 0.6.18 gefixt.

Wie das bei dir in Debian SID aussieht kann ich nicht beurteilen.
+++ PNP Developer +++ PNP 0.6.21 ist online ! +++
Hilfreiche Infos gefunden? Dann schnell ein paar Cent flattrn
OMD - Open Monitoring Distribution

dnsmichi

Super Moderator

Posts: 5,981

Birthday: May 30th 1983 (29)

Gender: male

Location: Nürnberg

Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways

Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev

Nagios Version: s/nagios/icinga/

Icinga Version: 1.9.0 / GIT

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 1000+

Number of services: 15000+

OS: RHEL, Debian, SUSE

Plugin Version: 1.4.16

IDO-Version: 1.9.0 / GIT MySQL/Postgresql/Oracle

Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf

3

Wednesday, June 27th 2012, 10:44am

debian sid produktiv zu verwenden ist hoechstgradig mutig. in debian gibts nix neueres als 0.6.16, da muesste jemand den maintainer "treten".
+++ Icinga / LConf Developer +++ Senior Consultant at []NETWAYS> +++
+++ Icinga 1.9 || Icinga 2 +++ Icinga Support || IRC +++

pitchfork

Administrator

Posts: 18,436

Location: Kassel

Occupation: Sysadmin SAP / Linux / AIX

Number of monitoring servers: 2

Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)

Nagios Version: 3.2.3 ( OMD )

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 360

Number of services: 6700

OS: Debian 6.0

Plugin Version: 1.4.x

Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk

4

Wednesday, June 27th 2012, 10:45am

in debian gibts nix neueres als 0.6.16, da muesste jemand den maintainer "treten".


Ist bereits geschehen.

Tokee wartet auf pnp4nagios 0.6.18 .... ich bin dran ....
+++ PNP Developer +++ PNP 0.6.21 ist online ! +++
Hilfreiche Infos gefunden? Dann schnell ein paar Cent flattrn
OMD - Open Monitoring Distribution

ralfi

Beginner

Posts: 6

Birthday: Dec 25th

Gender: male

Number of monitoring servers: 2

Nagios Version: 3.4

Icinga Version: keine

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: ca. 100

Number of services: ca. 800

OS: Debian Linux, WinXP, Win 200x

Plugin Version: 1.4

Other Addons: NRPE 2.12, pnp4nagios 0.6

5

Wednesday, June 27th 2012, 10:50am

Vielen Dank für eure Mühe und alle Infos. Dann werde ich wohl mal warten.

Im Übrigen finde ich es nicht unbedingt mutig, Debian sid einzusetzen. Die Qualität des unstable Zweiges hat sich in den letzten Jahren IMHO gewaltig verbessert und die Bug-Häufigkeit entsprechend verringert. Ich benutze es ausschliesslich, auch gibt es für pnp4nagios gar kein Debian in der Version 4 mehr.

dnsmichi

Super Moderator

Posts: 5,981

Birthday: May 30th 1983 (29)

Gender: male

Location: Nürnberg

Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways

Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev

Nagios Version: s/nagios/icinga/

Icinga Version: 1.9.0 / GIT

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 1000+

Number of services: 15000+

OS: RHEL, Debian, SUSE

Plugin Version: 1.4.16

IDO-Version: 1.9.0 / GIT MySQL/Postgresql/Oracle

Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf

6

Wednesday, June 27th 2012, 10:53am

Im Übrigen finde ich es nicht unbedingt mutig, Debian sid einzusetzen. Die Qualität des unstable Zweiges hat sich in den letzten Jahren IMHO gewaltig verbessert und die Bug-Häufigkeit entsprechend verringert.


wer sich den bugfix overhead beim d-u auf einem produktiv system antun will, kann das gerne tun. ich tus nur privat auf meiner bastelkiste. all jene, die wert auf stabilitaet legen, installieren debian stable und holen sich das backports repository, wos auch pnp4nagios 0.6.16 gibt. und icinga. und check_mk. und was auch immer du fuers monitoring brauchst.
+++ Icinga / LConf Developer +++ Senior Consultant at []NETWAYS> +++
+++ Icinga 1.9 || Icinga 2 +++ Icinga Support || IRC +++

pitchfork

Administrator

Posts: 18,436

Location: Kassel

Occupation: Sysadmin SAP / Linux / AIX

Number of monitoring servers: 2

Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)

Nagios Version: 3.2.3 ( OMD )

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 360

Number of services: 6700

OS: Debian 6.0

Plugin Version: 1.4.x

Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk

7

Wednesday, June 27th 2012, 10:55am

auch gibt es für pnp4nagios gar kein Debian in der Version 4 mehr.


Bitte? Das habe ich nicht verstanden.
+++ PNP Developer +++ PNP 0.6.21 ist online ! +++
Hilfreiche Infos gefunden? Dann schnell ein paar Cent flattrn
OMD - Open Monitoring Distribution

ralfi

Beginner

Posts: 6

Birthday: Dec 25th

Gender: male

Number of monitoring servers: 2

Nagios Version: 3.4

Icinga Version: keine

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: ca. 100

Number of services: ca. 800

OS: Debian Linux, WinXP, Win 200x

Plugin Version: 1.4

Other Addons: NRPE 2.12, pnp4nagios 0.6

8

Wednesday, June 27th 2012, 11:27am

Ich habe mal so gesucht:
http://packages.debian.org/search?keywor…all&section=all
und da nur 0.6.x Versionen gefunden.

Quoted

installieren debian stable und holen sich das backports repository, wos auch pnp4nagios 0.6.16 gibt. und icinga. und check_mk. und was auch immer du fuers monitoring brauchst.
Das wäre natürlich auch mal einen Versuch wert. Werde ich mal darüber nachdenken, habe ich aber wie gesagt bisher kaum benötigt weil für mich sid stable genug war. Irgendwann ist halt immer das erste Mal ...

ralfi

Beginner

Posts: 6

Birthday: Dec 25th

Gender: male

Number of monitoring servers: 2

Nagios Version: 3.4

Icinga Version: keine

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: ca. 100

Number of services: ca. 800

OS: Debian Linux, WinXP, Win 200x

Plugin Version: 1.4

Other Addons: NRPE 2.12, pnp4nagios 0.6

9

Tuesday, July 3rd 2012, 4:30pm

Also ich wollte nur mitteilen, dass nach dem heutigen D-U die Graphen so was von schnucklich angezeigt werden ... ;-)
Vielen Dank an alle, welche bei der Lösung des Problems geholfen haben.