how to read xmlstats.do page at individual node level

mohangtrichy
Tera Contributor

Hi All,

 

Is there any way to read system statistics(xmlstats.do) in individual node level?
As of now the xmlstats.do provide the stats only on the connected node right? If we want to access the same for each nodes, would it be possible?

 

Thanks in advance!!

2 REPLIES 2

SwarnadeepNandy
Mega Sage

Hello @mohangtrichy,

ServiceNow System Statistics is a feature that allows you to view the performance and health metrics of your ServiceNow instance, such as CPU usage, memory usage, session count, or transaction count. You can access the System Statistics by appending /xmlstats.do to your instance URL.

By default, the System Statistics page shows the metrics for the node that you are currently connected to. However, if you want to view the metrics for other nodes in your instance, you can use the following methods:

  • You can use the Node drop-down list at the top of the System Statistics page to select a different node from the available list. This will refresh the page and show the metrics for the selected node .
  • You can use the node parameter in the URL to specify a node name or ID. For example, if you want to view the metrics for node 2, you can use something like this:

 

https://<your_instance>.service-now.com/xmlstats.do?node=2​

 

 

  • You can use the all parameter in the URL to view the metrics for all nodes in your instance. This will show a table with each row representing a node and each column representing a metric. For example, you can use something like this:

 

https://<your_instance>.service-now.com/xmlstats.do?all​

 

Hope this helps.

Kind Regards,

Swarnadeep Nandy

Hi @SwarnadeepNandy , Thanks a lot for you reply.

I tried to access xmlstats as you mentioned. But seems I'm unable to get the details at the node level.

 

In URL, we are mentioning the "node=?" as params right? So, what is the value we need to give for this param. In example you mentioned it as "2". But in real time, do we need to give node Id or system id? Actually I tried both the ways. But I'm not sure that the details returned is specific to the node. Is there a way to confirm the returns details are specific to that particular node? Can we confirm this via any attribute in the returned xml?

 

I tried to check the attribute "<servlet.hostname>" in the returned xml. But all the times it has the same value. So, just want to make sure is there any way confirm the returned data is specific to particular node?