Friday, May 24th 2013, 4:32am 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.

crsp

Trainee

Posts: 98

Gender: male

Location: BaWü

Occupation: Admin

Number of monitoring servers: 9

Nagios Version: none

Icinga Version: Icinga 1.8.1

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: ~1200

Number of services: ~6500

OS: Debian

Plugin Version: 1.4.x

NagVis Version: 1.4.5

NDO Version: none

IDO-Version: Icinga Icinga 1.8.1 included

Other Addons: PNP4NAGIOS 0.6.x

1

Wednesday, April 27th 2011, 12:42pm

Icinga Reports - Availability Report mehrfach vorhanden

Hallo,

ich habe den Jasperserver 4.0 auf einem Tomcat6 mit Sun-Java-6 laufen.
Die Datenquelle ist eine MySQL.
Die Icinga Reports sind die heute vom GIT installiert.
Mache ich nun eine Auswertung für z.b. einen service.availability.lastmonth, bekomme ich den ausgewählten Service z.b. Ping auf 5 Seiten hintereinander angezeigt. Immer wieder das Selbe.
Das scheint sich bei Hostgroups dann zu potenzieren, da haben Reports mit 5 Hosts mit jeweils 4 Services dann mal eben 343 Seiten. Ups!
Bin da gerade etwas ratlos. Hab ich eine madige Version vom GIT geladen?

Gruss, crsp

bernd_erk

Intermediate

Posts: 239

Gender: male

Location: Nürnberg

Number of monitoring servers: -

Nagios Version: -

Icinga Version: -

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: -

Number of services: -

OS: Debian

Plugin Version: -

2

Wednesday, April 27th 2011, 2:12pm

Hi Crsp,

auf der Hauptseite des Reports gibt es einen Iterator mit folgendem Statement:

<![CDATA[select name1, name2
from icinga_objects,
icinga_services
where icinga_objects.object_id = icinga_services.service_object_id
and object_id = $P{p_service_object_id}]]>

Kann es sein das dieses Statement mit der gewählten Service-ID mehrere Sätze findet?

Gruss

Bernd
NETWAYS GmbH http://www.netways.de
NETWAYS Blog http://blog.netways.de

crsp

Trainee

Posts: 98

Gender: male

Location: BaWü

Occupation: Admin

Number of monitoring servers: 9

Nagios Version: none

Icinga Version: Icinga 1.8.1

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: ~1200

Number of services: ~6500

OS: Debian

Plugin Version: 1.4.x

NagVis Version: 1.4.5

NDO Version: none

IDO-Version: Icinga Icinga 1.8.1 included

Other Addons: PNP4NAGIOS 0.6.x

3

Wednesday, April 27th 2011, 3:10pm

HI Bernd,

eigentlich nicht. Es ist jeweils nur eine service_id zu einer service_object_id vorhanden.
Habe es mal wahllos mit mehreren Hosts und dem Service PING probiert. Es wird jeweils 5x ausgewertet.
Das hieße doch, ich müsste theoretisch 5 service_ids zu einer service_object_id finden...wenn ich das jetzt mal so richtig verstanden hab... :huh:

gruss, crsp

crsp

Trainee

Posts: 98

Gender: male

Location: BaWü

Occupation: Admin

Number of monitoring servers: 9

Nagios Version: none

Icinga Version: Icinga 1.8.1

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: ~1200

Number of services: ~6500

OS: Debian

Plugin Version: 1.4.x

NagVis Version: 1.4.5

NDO Version: none

IDO-Version: Icinga Icinga 1.8.1 included

Other Addons: PNP4NAGIOS 0.6.x

4

Thursday, May 19th 2011, 9:52am

Habe gerade auf die aktuelle Version 1.4.0 vom Reporting Paket geuppt.
Problem mit dem 5-Fachen Reports besteht nach wie vor.

MiCkEy2002

Administrator

Posts: 4,242

Birthday: Feb 29th 1976 (37)

Gender: male

Location: Roffhausen

Occupation: Systemadministrator

Number of monitoring servers: 9

Hobbies: Bungee Springen, lesen....

Nagios Version: 2.5 / 3.03

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: ~1700

Number of services: ~18000

OS: SuSE SLES 9

Plugin Version: 1.4.3

NagVis Version: 1.2.2

NDO Version: 1.3.1/1.4b7

Perfparse Version: 0.106.1

Other Addons: NagTrap 1.3/PNP

5

Thursday, May 19th 2011, 11:09pm

Hi crsp,

in der 1.4.0 wurde nicht in der Richtung geändert. Nicht das ich wüsste. Es schreiben auch nicht mehrere Instanzen in Deine IDO, oder?

Setzte doch bitte mal das SQL-Statemant auf Deine DB ab:

MySQL queries

1
2
3
4
5
select name1, name2
from icinga_objects,
icinga_services
where icinga_objects.object_id = icinga_services.service_object_id
and object_id = $P{p_service_object_id}


Für $P{p_service_object_id} setzt Du die Object ID von Deinem ausgewählten Service ein.

Gruß
Michael

bernd_erk

Intermediate

Posts: 239

Gender: male

Location: Nürnberg

Number of monitoring servers: -

Nagios Version: -

Icinga Version: -

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: -

Number of services: -

OS: Debian

Plugin Version: -

6

Friday, May 20th 2011, 9:22am

Hi Michael,

kannst Du das Problem nachvollziehen? Ich bekomme das leider nicht reproduziet.

Gruss

Bernd
NETWAYS GmbH http://www.netways.de
NETWAYS Blog http://blog.netways.de

MiCkEy2002

Administrator

Posts: 4,242

Birthday: Feb 29th 1976 (37)

Gender: male

Location: Roffhausen

Occupation: Systemadministrator

Number of monitoring servers: 9

Hobbies: Bungee Springen, lesen....

Nagios Version: 2.5 / 3.03

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: ~1700

Number of services: ~18000

OS: SuSE SLES 9

Plugin Version: 1.4.3

NagVis Version: 1.2.2

NDO Version: 1.3.1/1.4b7

Perfparse Version: 0.106.1

Other Addons: NagTrap 1.3/PNP

7

Friday, May 20th 2011, 11:41am

Hi Bernd,

ich kann es auch nicht nachvollziehen. Bei mir wird auch nur eine Seite erzeugt.

Gruß
Michael

MiCkEy2002

Administrator

Posts: 4,242

Birthday: Feb 29th 1976 (37)

Gender: male

Location: Roffhausen

Occupation: Systemadministrator

Number of monitoring servers: 9

Hobbies: Bungee Springen, lesen....

Nagios Version: 2.5 / 3.03

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: ~1700

Number of services: ~18000

OS: SuSE SLES 9

Plugin Version: 1.4.3

NagVis Version: 1.2.2

NDO Version: 1.3.1/1.4b7

Perfparse Version: 0.106.1

Other Addons: NagTrap 1.3/PNP

8

Tuesday, June 14th 2011, 7:52pm

Hi Crsp,

ich konnte das Problem fixen. Wenn Du die Gelegenheit hast, dann teste es doch bitte mal. Mehr dazu in diesem Thread.

Gruß
Michael