PDA

View Full Version : Something strange in Monitoring page


cih
12th July 2005, 18:02
Well, first of all, congratulations!

I have installed version 1.2.2 RC2, and i could import my nagios config files to Oreon! GREAT! I'm very pleased. I'm playing with Oreon for a while now (for 3 hours i think), and something strange is happening in Monitoring page. All hosts (25) are displayed ok. But my services are not displaying ok. I have 610 services, and in Monitoring page there are only 163 displayed. :?: :?:

In Configuration, all 610 services are there! But when i go to Monitoring, i could only view 163! What the HE$&%@! xD Any point on this?¿

Another thing i found is that in Home, all graphics are greatly displayed, but no labels at all in hostgroup graphs. Is a little confusing for me what are they graphing ... ;)

All the rest, simply great! Thnx for the effort!

P.S.: rom, huge thnx for the configuration import thing! Is great! ;)

cih
19th July 2005, 13:25
Hi, more info about not displaying all services for hosts in Monitoring tab.

For example, when i go to http://my.server.com/oreon/oreon.php?p=104&sv=45&o=w#2

to view all services for my first server, all of them are listed there. But, when i click over one of the services not displaying in Monitoring page and click in "Status and Options", it returns:

No stat for this Service.
Think has generate the configuration files.

:?: :?: :?:

What's the meaning of that?¿

The other thing i had found, about not displaying any labels in graphs, is also extensible to graphs of the services. No way to know what service is related to graph. Anyone experiencing the same?¿

What i'm using:

RedHat 7.2
Apache 1.3.33
PHP 5.0.4
Oreon 1.2.2 RC2

Hope this helps ...

rom
19th July 2005, 13:34
We don't made enought test with PHP5, maybe your problem come from it.

cih
19th July 2005, 13:54
Hi rom,

If anyone could try with php 5 if this happens because of php 5 version, please let me know. It's hard for me to downgrade to 4.x version, because is a production server, and it needs php 5 for other soft. If anyone else suffers this behaviour, would be great to know it's because of this.

Hope someone could try in his/her environment.

TIA

cih
20th July 2005, 16:13
Hi there! I found a way to test my Oreon environment with PHP 4.4.0, and nothing is solved. Same problems with number of services displaying in Monitoring page, and no labels at all in graphs.

Hope I could found what is causing these ... :cry:

L8r

cih
5th September 2005, 18:12
Well, I found the trick! Reinstall all again from zero. That do the job. Now all my services are displaying well.

Other thing is labels in graphs. No labels at all, i don't know what are they graphing ... it's not much helpful. But, maybe i'm wrong and all people are seeing labels in every graph ... let me know, please. ;)

wistof
5th September 2005, 18:14
which graphs ? rrdtool or jpgraph ?

cih
5th September 2005, 18:17
Sorry, i didn't express correctly. The graphs under Reporting tab. The ones that graph services disponibility for a host.

Thanks for the extremely fast answer!

wistof
5th September 2005, 18:39
ok.

when you say no labels... title label ? legend label ?

could post the url to generate the graph (right click on img , and propriety )

http://oreon.domain.com/include/reports/draw_graph_host.php?sn=adapter.demo.com%20-%20192.168.0.11&coord_x=340&coord_y=150&fontcolor=000000&theme=pastel&dataA=99.932492785967&dataB=0.067507214033486&dataC=0&colorA=00ff00&colorB=ff0000&colorC=FF9900&labelA=UP%20-%20100&labelB=DOWN%20-%200&labelC=UNREACHABLE%20-%200

cih
6th September 2005, 10:32
Hi there!

Here is the URL:

http://subdomain.domain.com/include/reports/draw_graph_service.php?sn=Carga Procesador - presms3&coord_x=340&coord_y=150&fontcolor=000000&theme=pastel&dataA=1&dataB=0&dataC=0&dataD=0&colorA=00ff00&colorB=FFFF00&colorC=F83838&colorD=ACACAC&labelA=OK - 1&labelB=WARNING - 0&labelC=CRITICAL - 0&labelD=UNKNOWN - 0

When i say label i refer to the label that describes what service is the graph related (title label?) Is that correct? If it is, maybe could be a good thing for next release to clarify what service is graph related to.

Thanks for your time wistof.

wistof
6th September 2005, 11:12
i'm little lost.. :(

have you the same image generation ?

http://wistof.free.fr/oreon/draw_graph_host.php.png

cih
6th September 2005, 11:41
Yuck! no! I don't have any label on the graph!! :shock: :shock: :shock:

Maybe a problem in font?¿ Is there any requirement about font types?

wistof
6th September 2005, 11:43
read this http://forum.oreon.org/viewtopic.php?t=151

sorry, it's only in french :(

cih
6th September 2005, 12:03
Easy to read that in french ;)

Anyway, I had verdana.ttf in that location, but i reinstalled from tar.gz in that topic. No changes at all. May i need to restart anything? I'm really lost at this point.

Huge thanks for your time, man.

wistof
6th September 2005, 12:07
check your apache log, may be we can found something...

cih
6th September 2005, 13:17
No luck. Nothing interesting in apache logs ... i'm trying to think what else i forget to do regarding this ...
Thanks for all.

wistof
6th September 2005, 14:08
strange....

perhaps, try by converting space with %20

http://subdomain.domain.com/include/reports/draw_graph_service.php?sn=Carga Procesador%20-%20presms3&coord_x=340&coord_y=150&fontcolor=000000&theme=pastel&dataA=1&dataB=0&dataC=0&dataD=0&colorA=00ff00&colorB=FFFF00&colorC=F83838&colorD=ACACAC&labelA=OK%20 -%201&labelB=WARNING%20-%200&labelC=CRITICAL%20-%200&labelD=UNKNOWN%20-%200

you have check acces.log and error.log ? (sorry for stupid question :roll: )

cih
6th September 2005, 15:54
Yep i have already looked at all apache logs, and nothing interesting there. I had converted spaces to %20, and nothing at all ... i going mad about it :o

Well, tomorrow could be a better day ;P

Thanks wistof!

wistof
6th September 2005, 16:54
Thanks wistof!
de nada :D

cih
6th September 2005, 16:59
wow! Really impressed ;P

my French is really poor, so better for all not trying to improve it here ;P

Merci beaucoup ;)

cih
14th September 2005, 17:28
Well,

after some hours trying to understand the code, I managed to see titles in graphs under Reporting tab. For an extrange reason, I could not see titles with any ohter font than internal fonts in jpgraph (FONT0, FONT1, FONT2). But now, with these fonts I can see it all!

I don't want to spend more time with these poltergeist, so FONT1 does it for me.

It's partially solved!

wistof
14th September 2005, 17:34
strange... a problem with jpgraph and font....

actually, we testing a other graph librairy for graphs

contact me by MP, if you want testing...