Hello Brian,

Really Appreciate your help.
The Variable settings makes the Trick - Now I am good with seeing the 
Metrics for their respective Servers.
But on Variable setting if I make the query
Query: label_values(windows_cpu_time_total, instance)
Does this good for all other Metrics like , Server Status,Memory,File 
System,Disk INODE, Server Network,System Process Monitoring

Also I have this query for Linux Dashboard
label_values(up, instance)
Is this good for all the metrics ?


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 log
    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/98293803-a88f-4abf-ae8f-dd85939ec3c3o%40googlegroups.com.

Reply via email to