Hello Brian, Really really Appreciate your help. The Variable settings makes the Trick - Now I am good with seeing the Metrics for their respective Servers.
Can I get the syntax for these Metrics for windows to go in alert.rules file and in Grafana: § System messages (ex. Errors in /var/log/messages) Any critical errors reported in logs § Disk INODE utilization Warning at 90%, Alarm at 95% § System process monitoring (ex. Set of services on a server if they are running or not) Alarm if services are not running. On Saturday, June 20, 2020 at 3:42:38 AM UTC-5, Brian Candler wrote: > > Sorry but I am fully booked at the moment. Here are some companies that > offer direct prometheus support: > https://prometheus.io/support-training/ > > Basically all you need to do is to go into the prometheus console, look at > your metrics like "windows_cpu_time_total" and the full set of labels, > check they have an "instance" label, and check the Grafana dashboard > variable is generating the correct value. > > If it's working for Linux but not for Windows it may be because your > dashboard variable is querying a metric which only exists for Linux > instances. Try making a dashboard variable like this: > > Name: instance > Data source: prometheus > Query: label_values(windows_cpu_time_total, instance) > > Another issue sometimes is if your instance variable includes the port > number (which will be different between Linux and Windows instances). It > shouldn't be a problem here, but long term, it's a good idea to get rid of > the port numbers from the instance labels entirely: > https://www.robustperception.io/controlling-the-instance-label > > <https://www.robustperception.io/controlling-the-instance-label> > > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/e7a2faf1-0779-472f-b7f1-590ae457c1b9o%40googlegroups.com.

