[Nagios-devel] Problem with changing Service to uppercase

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Problem with changing Service to uppercase

Post by Guest »

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: [email protected]
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





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked