newrelic / newrelic-unix-monitor

Monitoring service for Unix (AIX, Linux, HP-UX, MacOS, Solaris) systems
https://docs.newrelic.com/docs/infrastructure/host-integrations/host-integrations-list/unix-monitoring-integration/
Other
31 stars 24 forks source link

Unix Infra agent Version on Newrelic UI #76

Open Balajimohan24-sre opened 2 months ago

Balajimohan24-sre commented 2 months ago

Hi team,

I have few unix hosts(Solaris) successfully reporting to newrelic, but unable to find the agent's version under the "Metadata" of each hosts like how I use to know the version in Linux or Windows hosts.

Newrelic Grok (Ask AI) shows results for NRQL from SystemSample or Network Sample but these tables doesn't exist for Unix hosts.

Is there any ways I could see the version of agents running on hosts in Newrelic UI ?

Thanks

gsidhwani-nr commented 5 days ago

You may add a custom attribute in the static section of plugin.json to serve your immediate requirements:

{
  "global": {
    "OS": "auto",
    "account_id": "1XXXXX3",
    "insights_mode": {
      "insights_insert_key": "aXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXAL",
      "insights_data_center": "US"
    }
  },
  "agents": [
    {
      "name": "auto",
      "static": {
        "version": "v1.2.0",
        "infra": "production",
        "custom_attribute": "your_custom_value"
      }
    }
  ]
}
image