10.09.2011, 18:01 UTC+2

Sie sind nicht angemeldet.

Not showing any data at all in Icinga web

k20

Anfänger

Beiträge: 4

Anzahl Nagios-Server: 1

Nagios-Version(en): 1.4.1

Verteiltes Monitoring: Ja

Redundantes Monitoring: Ja

Anzahl-Hosts: 300

Anzahl Services: 300

Betriebssystem(e): RHEL 6

Plugin-Version(en): 2

NDO-Version: 1

1

10.08.2011, 02:01

Not showing any data at all in Icinga web

Hello from USA.
I'm new to Icinga. Just got it installed on my RHEL6 VM box. I'm on v1.4.1 Both the classic and web UI are working fine. I was very excited to start deploying my first host. Unfortunately, only the classic web is showing it but the new web isn't, i.e. all cronks are showing no data.

I've spent hours and hours researching for solutions and/or workarounds but still no dice. Could someone with better skills and experience on this stuff help me out please? Any suggestions or recommendations would be greatly appreciated.

dnsmichi

Meister

Beiträge: 2 448

Geburtstag: 30.05.1983 (28)

Geschlecht: Männlich

Wohnort: Wien

Beruf: DNS & Monitoring Developer

Anzahl Nagios-Server: 4x Icinga prod, 2x test/dev

Nagios-Version(en): s/nagios/icinga/

Icinga-Version(en): 1.4.2 / GIT

Verteiltes Monitoring: Ja

Redundantes Monitoring: Ja

Anzahl-Hosts: 1000+

Anzahl Services: 15000+

Betriebssystem(e): RHEL 5.7 / 6 x64

Plugin-Version(en): 1.4.15

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

Sonstige Addon's: PNP 0.6.11, check_mk GIT

2

10.08.2011, 10:14

did you follow the error section on the docs and did you check the wiki for further testing/debugging icinga web?
https://wiki.icinga.org/display/Dev/Icinga+Web+Testing
Icinga 1.5 MySQL,PGSQL,Oracle and IPv6

Demos

http://docs.icinga.org
https://wiki.icinga.org
https://dev.icinga.org

* egrep -v "^#|^$" configfile

Join us online!
irc.freenode.net #icinga-devel

Using Icinga? Tell us!


Fork me on

k20

Anfänger

Beiträge: 4

Anzahl Nagios-Server: 1

Nagios-Version(en): 1.4.1

Verteiltes Monitoring: Ja

Redundantes Monitoring: Ja

Anzahl-Hosts: 300

Anzahl Services: 300

Betriebssystem(e): RHEL 6

Plugin-Version(en): 2

NDO-Version: 1

3

10.08.2011, 23:06

okay I'm not sure how to test them because the URL you did refer to doesn't seem to have detailed information on how to test idoutils and icinga-web. I'm not at your level to be able to understand it.

No Data

No logs in icinga-api/log/*

[root@its-nit-t1 log]# pwd
/usr/src/icinga-core/module/icinga-api/log
[root@its-nit-t1 log]# ls -l
total 0
-rw-rw-r--. 1 root root 0 Aug 1 15:13 PLACEHOLDER
[root@its-nit-t1 log]#
[root@its-nit-t1 log]# file PLACEHOLDER
PLACEHOLDER: empty

and I couldn't find this directory icinga-web/app/data/log/ on my server.

As far as increase debug levels, I put -1 for it

# DEBUG LEVEL
# This option determines how much (if any) debugging information will
# be written to the debug file. OR values together to log multiple
# types of information.
# Values: -1 = Everything
# 0 = Nothing
# 1 = Process info
# 2 = SQL queries

debug_level=-1

Please don't assume that I am at your level of expertise. I'm a newbie. Please tell me exactly what to do. That's what I really need. Thanks.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »k20« (11.08.2011, 20:59)


dnsmichi

Meister

Beiträge: 2 448

Geburtstag: 30.05.1983 (28)

Geschlecht: Männlich

Wohnort: Wien

Beruf: DNS & Monitoring Developer

Anzahl Nagios-Server: 4x Icinga prod, 2x test/dev

Nagios-Version(en): s/nagios/icinga/

Icinga-Version(en): 1.4.2 / GIT

Verteiltes Monitoring: Ja

Redundantes Monitoring: Ja

Anzahl-Hosts: 1000+

Anzahl Services: 15000+

Betriebssystem(e): RHEL 5.7 / 6 x64

Plugin-Version(en): 1.4.15

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

Sonstige Addon's: PNP 0.6.11, check_mk GIT

4

20.08.2011, 09:55

Zitat von »k20«

okay I'm not sure how to test them because the URL you did refer to doesn't seem to have detailed information on how to test idoutils and icinga-web. I'm not at your level to be able to understand it.


it provides rather detailed information, but needs to be reworked a bit, yes. anyhow, it was just an idea collection for all users getting their hands on real testing/error resolutions. the docs chapter 8 is more readable in this regard.


Zitat von »k20«


  • Check IDOUtils DB
    • status, config tables << How do I do this?


fire your preferred rdbms gui / shell, and check if the config and status tables provide correct information. further information on the table structure can be found in the idoutils docs (e.g. icinga_hoststatus).

Zitat von »k20«


[*]Check Icinga API Testing << No idea what to do here ?([*]check icinga-api/log/* and icinga-web/app/data/log/* for logs, increase debug levels[*]test the usage of the Icinga API - Icinga Web API Testing
No logs in icinga-api/log/*

[root@its-nit-t1 log]# pwd
/usr/src/icinga-core/module/icinga-api/log
[root@its-nit-t1 log]# ls -l
total 0
-rw-rw-r--. 1 root root 0 Aug 1 15:13 PLACEHOLDER
[root@its-nit-t1 log]#
[root@its-nit-t1 log]# file PLACEHOLDER
PLACEHOLDER: empty

and I couldn't find this directory icinga-web/app/data/log/ on my server.


in case of scrolling the guide a bit to the bottom, you would haverecognized the firefox firebug and chromium analyze tools with the screenshots - this might be of help checking on the cronks providing real data.

Zitat von »k20«


As far as increase debug levels, I put -1 for it

# DEBUG LEVEL
# This option determines how much (if any) debugging information will
# be written to the debug file. OR values together to log multiple
# types of information.
# Values: -1 = Everything
# 0 = Nothing
# 1 = Process info
# 2 = SQL queries

debug_level=-1


and did you restart ido2db and then icinga? what's the output, any possible errors over there? does the syslog tell sth? does the ido2db even run? is your rdbms running?


Zitat von »k20«

Please don't assume that I am at your level of expertise. I'm a newbie. Please tell me exactly what to do. That's what I really need. Thanks.


i'm only assuming that you could provide more information i could work with. right now it could be everything.
Icinga 1.5 MySQL,PGSQL,Oracle and IPv6

Demos

http://docs.icinga.org
https://wiki.icinga.org
https://dev.icinga.org

* egrep -v "^#|^$" configfile

Join us online!
irc.freenode.net #icinga-devel

Using Icinga? Tell us!


Fork me on

Ähnliche Themen