For questions specifically about Grafana, please use the grafana 
community: https://community.grafana.com/

However I'll assume you're asking a question about PromQL.  What exactly do 
you mean by a "Newly configured IP"?

If you're asking how to write a PromQL query to show newly-added scrape 
endpoints, then you could use something like this:

    up unless up offset 24h

But really, that's not telling you something about the node: it's telling 
you about how you've configured prometheus. It tells you when something has 
been added to the list of targets that prometheus scrapes in the last 24 
hours (either because you've manually added it to the list of targets, or 
via some service discovery mechanism that you've configured)

If you want to tell whether a node has assigned a new IP address to one of 
its interfaces, you'd need to get those IP addresses into a metric.  I 
don't think node_exporter gives you that, so you'd have to add some custom 
metrics (e.g. via the node_exporter textfile collector).

If you want to discover newly active IP addresses on your network, for 
other hosts which are *not* running node_exporter, then you'll need to 
scrape the ARP table of the gateway on your network.  You may be able to 
use snmp_exporter for that, although not all devices expose their ARP table 
via SNMP: e.g. Cisco ASA firewalls don't, last time I tried.

On Thursday, 13 October 2022 at 12:04:17 UTC+1 srinuka...@gmail.com wrote:

> Just we configured node_exporter on a server, How can we check Newly 
> configured IP in grafana dashboard??

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/dd315d3a-f261-4888-a91c-e25e2e4976c9n%40googlegroups.com.

Reply via email to