Problem with changing Service to uppercase

Frank Fiene ffiene at veka.com
Mon Jun 16 13:34:13 CEST 2008


Hi.

I have one strange problem and this is possibly a bug.

I've created a service calld "Db Request Time" months ago and changed 
after a few days the name to "DB Request Time".

So far so good. The service with the new name is displayed in Nagios and 
PNP, the old name is still visible in PNP too, which is a feature i 
think.

I am using also NagVis to make some CIO compatible views of Nagios(PNP) 
Data. Here i cannot find a service with the new name, only the old one 
is visible.

So i had a look into the source code of NagVis and sorted out the tables 
wich are used for the queries and my result is:


mysql> select service_object_id,display_name from nagios_services where 
blablabla;
+-------------------+-------------------------------+
| service_object_id | display_name                  |
+-------------------+-------------------------------+
|                99 | DB Request time               |
+-------------------+-------------------------------+
1 row in set (0.00 sec)

but

mysql> select * from nagios_objects where object_id="99";
+-----------+-------------+---------------+-------+-----------------+-----------+
| object_id | instance_id | objecttype_id | name1 | name2           | 
is_active |
+-----------+-------------+---------------+-------+-----------------+-----------+
|        99 |           1 |             2 | VAP   | Db Request time |         
1 |
+-----------+-------------+---------------+-------+-----------------+-----------+
1 row in set (0.00 sec)

My setup is Nagios-2.10, NDO-Utils 1.4b6.

Can i delete the NDO tables?

And if yes, how exactly?

Regards!
Frank
-- 
Frank Fiene / IT-Services
Fon: +49 2526 29-6200
Fax: +49 2526 29-16-6200
mailto: ffiene at veka.com
www.veka.com

VEKA AG
Dieselstr. 8
48324 Sendenhorst
Deutschland/Germany

Vorstand: Andreas Hartleif (Vorsitzender), Dr. Andreas W. Hillebrand
		Bonifatius Eichwald, Elke Hartleif, Dr. Werner Schuler
Vorsitzender des Aufsichtsrates: Heinrich Laumann
HRB 8282 AG Münster

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list