Menu

#1741 [HHQ-2176] Metrics templates update

Bug
open
None
1
2012-10-09
2008-06-11
No

http://jira.hyperic.com/browse/HHQ-2176
When the properties of a resource (server) are changed, the templates which are using those properties are not updated.



agent log:


Before change the property "service_name".



2008-06-10 10:56:00,012 INFO [ScheduleThread] [TestMeasurement] (getValue) metric => service:SERVER_NAME=TestServer,SERVICE_NAME=B:USAGE


2008-06-10 10:56:00,012 INFO [ScheduleThread] [TestMeasurement] (getValue) metric.getCategory() => UTILIZATION


2008-06-10 10:56:00,013 INFO [ScheduleThread] [TestMeasurement] (getValue) metric => service:SERVER_NAME=TestServer,SERVICE_NAME=A:USAGE


2008-06-10 10:56:00,013 INFO [ScheduleThread] [TestMeasurement] (getValue) metric.getCategory() => UTILIZATION


2008-06-10 10:56:00,029 INFO [ScheduleThread] [TestMeasurement] (getValue) metric => server:SERVER_NAME=TestServer:STATE


2008-06-10 10:56:00,029 INFO [ScheduleThread] [TestMeasurement] (getValue) metric.getCategory() => AVAILABILITY


2008-06-10 10:56:00,040 INFO [ScheduleThread] [TestMeasurement] (getValue) metric => service:SERVER_NAME=TestServer,SERVICE_NAME=A:STATE


2008-06-10 10:56:00,040 INFO [ScheduleThread] [TestMeasurement] (getValue) metric.getCategory() => AVAILABILITY


2008-06-10 10:56:00,040 INFO [ScheduleThread] [TestMeasurement] (getValue) metric => service:SERVER_NAME=TestServer,SERVICE_NAME=B:STATE


2008-06-10 10:56:00,040 INFO [ScheduleThread] [TestMeasurement] (getValue) metric.getCategory() => AVAILABILITY




agent log:


After change the property "service_name". TestServer ==> TestServer__



2008-06-10 10:56:21,498 INFO [main] [TestMeasurement] (getValue) metric => server:SERVER_NAME=TestServer__:STATE


2008-06-10 10:56:21,498 INFO [main] [TestMeasurement] (getValue) metric.getCategory() => null


2008-06-10 10:56:22,460 INFO [Thread-0] [RuntimeAutodiscoverer] Running runtime autodiscovery for TestServer


2008-06-10 10:56:23,269 INFO [Thread-0] [TestServerDetector] getServerResources({platform.id=10005, platform.log_track.level=Warn, platform.name=c-98-210-185-71.hsd1.ca.comcast.net, platform.ip=172.16.129.1, platform.config_track.enable=true, platform.log_track.enable=true, platform.fqdn=c-98-210-185-71.hsd1.ca.comcast.net, platform.type=MacOSX, installpath=/Users/laullon/, server_name=TestServer__})


2008-06-10 10:56:23,269 INFO [Thread-0] [RuntimeAutodiscoverer] TestServer discovery took 0


2008-06-10 10:57:00,012 INFO [ScheduleThread] [TestMeasurement] (getValue) metric => service:SERVER_NAME=TestServer,SERVICE_NAME=B:USAGE


2008-06-10 10:57:00,012 INFO [ScheduleThread] [TestMeasurement] (getValue) metric.getCategory() => UTILIZATION


2008-06-10 10:57:00,012 INFO [ScheduleThread] [TestMeasurement] (getValue) metric => service:SERVER_NAME=TestServer,SERVICE_NAME=A:USAGE


2008-06-10 10:57:00,012 INFO [ScheduleThread] [TestMeasurement] (getValue) metric.getCategory() => UTILIZATION


2008-06-10 10:57:00,027 INFO [ScheduleThread] [TestMeasurement] (getValue) metric => server:SERVER_NAME=TestServer__:STATE


2008-06-10 10:57:00,027 INFO [ScheduleThread] [TestMeasurement] (getValue) metric.getCategory() => AVAILABILITY


2008-06-10 10:57:00,034 INFO [ScheduleThread] [TestMeasurement] (getValue) metric => service:SERVER_NAME=TestServer,SERVICE_NAME=A:STATE


2008-06-10 10:57:00,034 INFO [ScheduleThread] [TestMeasurement] (getValue) metric.getCategory() => AVAILABILITY


2008-06-10 10:57:00,034 INFO [ScheduleThread] [TestMeasurement] (getValue) metric => service:SERVER_NAME=TestServer,SERVICE_NAME=B:STATE


2008-06-10 10:57:00,034 INFO [ScheduleThread] [TestMeasurement] (getValue) metric.getCategory() => AVAILABILITY

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.