Unsolved
This post is more than 5 years old
2 Posts
0
1850
March 2nd, 2010 08:00
How can I automatically record the "Time in State" of Centera Nodes?
How can I automatically record the "Time in State" of Centera Nodes? I want to track how often are Centera nodes go offline. We sometimes have trouble when multiple nodes go off-line for short periods. Often alerts are not sent when nodes are offline only for a short time. I thought I could track the "Time in State" to determine when nodes have went offline.
I can see the "Time in State" in the Centera Viewer Node List but cannot find a way to get this information automatically. If I could find a CLI command that would provide it I could use that. I looked at the FP_Monitor functions and could not find anything. We are using version 4.0.2-3346-1019-20664. I would appreciate any help you could provide.
Thanks,
Wayne
centera50774
2 Posts
0
March 2nd, 2010 12:00
holgerjakob_c0722c
2 Intern
•
337 Posts
0
March 2nd, 2010 12:00
Hi Wayne
The monitor functions return an up time value. I will be investigating if this is linux or CentraStar time in state soon. Based on the naming upTime I suspect it is linux uptime and not CentraStar time in state time.
holgerjakob_c0722c
2 Intern
•
337 Posts
0
March 2nd, 2010 23:00
Hi
I performed a monitor after restarting CentraStar on C001n03 and the node on C001n04. The difference of time in state was 6 Minutes and 17 Seconds roughly.
The uptime values were 512441 for C001n03 and 135446 for C001n04. The difference between these two values is roughly equal to the difference of time in state from the nodelist when converted to milliseconds.
I did a quick check of the uptime values for the first two nodes and they were about their time in state in milliseconds.
I would say the uptime value is equal to the time in state value in milliseconds. Will have to validate if it is also true for offline time in state but as my systems are far away I try to avoid this for the next couple of weeks. Will have to start up the one in the office.
Best regards, Holger