Description:
There are cases where the "OS" field on the UI->Monitor->Meta info section is empty.
Clicking on the refresh link on the manager servers section does not help filling in this field.
Looking at the agent log, after a "refresh inventory", the agent sends
<datum>
<target>
<namespace>os</namespace>
<classname>cpu</classname>
<instance>ssh:{38:38:e0:7e:90:c3:92:92:a2:64:eb:43:b6:7b:68:00}.0</instance>
<attribute>cpu_name</attribute>
</target>
<utc>2009-10-12T11:35:43.849Z</utc>
<value>MacBookPro4,1</value>
</datum>
but does not send
<datum>
<target>
<namespace>os</namespace>
<classname>os</classname>
<instance>ssh:{38:38:e0:7e:90:c3:92:92:a2:64:eb:43:b6:7b:68:00}.0</instance>
<attribute>os_description</attribute>
</target>
<utc>2009-10-12T11:35:42.791Z</utc>
<value>Mac OS X Leopard</value>
</datum>
which is used for the Meta info
How to repeat:
1- Install and start the service manager.
2- Install the agent
3- Set the agent log-level=debug
4- Start the agent
5- Once the agent and mysql instance is shown on the UI,
go to UI->Settings->Manage servers
6- Click on the "refresh" link next to the server name
7- Wait a few minutes and then click again on the refresh link.
8- After another minute or two, grep the agent log for os_description, you will see it only once.
9- now grep for cpu_name, you will see it at least 3 times (the initial time when the agent reports all the data to the dashboard, and two more times corresponding to the times you clicked on "refresh"
Suggested fix:
On refresh, send all the OS data again.