Giter VIP home page Giter VIP logo

Comments (10)

pipinstallyogi avatar pipinstallyogi commented on August 17, 2024 3

Hallo @stefanotorresi @MalloZup,

Solved the issue. I just used the --config flag within command.
Thanks for your help.
Very helpful repository owners and Repo.

Thanks a lot

from sap_host_exporter.

stefanotorresi avatar stefanotorresi commented on August 17, 2024 1

hello @pipinstallyogi, could you please paste the systemd unit log output, plus all the metrics it exports?

from sap_host_exporter.

MalloZup avatar MalloZup commented on August 17, 2024 1

@pipinstallyogi glad we could help. feel free to open issue any time 🌻

from sap_host_exporter.

pipinstallyogi avatar pipinstallyogi commented on August 17, 2024

Hi @stefanotorresi, thanks for the reply.

I believe you are asking for systemd unit log output in case I am starting the sap_host_exporter with systemctl command, right? I am, however, starting the sap_host_exporter using following command and not with systemctl command:

RAS:/opt/sap_host_exporter # ./sap_host_exporter --sap-control-url http://18.185.3.81:50013 &
[1] 13179
RAS:/opt/sap_host_exporter # INFO[0000] Using config file: /opt/sap_host_exporter/sap_host_exporter.yaml
INFO[0000] Monitoring SAP Instance SID: RAS, Name: D00, Number: 0, Hostname: RAS
INFO[0000] Start Service collector registered
INFO[0000] Dispatcher optional collector registered
INFO[0000] Serving metrics on 0.0.0.0:9680

The metrics it is exporting as seen in prometheus are:

sap_dispatcher_queue_high
sap_dispatcher_queue_max
sap_dispatcher_queue_now
sap_dispatcher_queue_reads
sap_dispatcher_queue_writes
sap_start_service_instances
sap_start_service_processes

I understand this is the information you asked. Please correct me if I am wrong. Thanks in advance

from sap_host_exporter.

stefanotorresi avatar stefanotorresi commented on August 17, 2024

@pipinstallyogi it looks like there is no enqueue server running in that node. What are sap_start_service_instances
and sap_start_service_processes reporting exactly?

from sap_host_exporter.

MalloZup avatar MalloZup commented on August 17, 2024

@pipinstallyogi the sap_host_exporter is registering the needed collectors dynamically.
This means that when it doesn't found the Enqueue Server where it runs, it will not expose its metrics.

looks like msg_server as @stefanotorresi says, is not running on the node. Can you verify such instance is running? TIA 💮

from sap_host_exporter.

pipinstallyogi avatar pipinstallyogi commented on August 17, 2024

Thanks @stefanotorresi and @MalloZup. This is what sap_start_service_processes and sap_start_service_instances are exposing:

# HELP sap_start_service_instances The SAP instances in the context of the whole SAP system
# TYPE sap_start_service_instances gauge
sap_start_service_instances{SID="RAS",features="ABAP|GATEWAY|ICMAN|IGS",instance_hostname="RAS",instance_name="D00",instance_number="0",start_priority="3"} 2
# HELP sap_start_service_processes The processes started by the SAP Start Service
# TYPE sap_start_service_processes gauge
sap_start_service_processes{SID="RAS",instance_hostname="RAS",instance_name="D00",instance_number="0",name="disp+work",pid="13052",status="Running"} 2
sap_start_service_processes{SID="RAS",instance_hostname="RAS",instance_name="D00",instance_number="0",name="gwrd",pid="13061",status="Running"} 2
sap_start_service_processes{SID="RAS",instance_hostname="RAS",instance_name="D00",instance_number="0",name="icman",pid="13062",status="Running"} 2
sap_start_service_processes{SID="RAS",instance_hostname="RAS",instance_name="D00",instance_number="0",name="igswd_mt",pid="13053",status="Running"} 2

I can also visualize these in Grafana within the dashboard you have provided into this repository.
Thanks

from sap_host_exporter.

stefanotorresi avatar stefanotorresi commented on August 17, 2024

yep, there is no enqueue server in that node, so there are no metrics to collect about it ;)

from sap_host_exporter.

pipinstallyogi avatar pipinstallyogi commented on August 17, 2024

Ahh I see, I just checked that Enqueue Server is running on instance number 01. Let me try to change the setting and update about the results. Thanks

from sap_host_exporter.

pipinstallyogi avatar pipinstallyogi commented on August 17, 2024

Hallo @stefanotorresi @MalloZup,
Thanks for the input. After changing instance number in the command : ./sap_host_exporter --sap-control-url http://18.185.3.81:50013 to ./sap_host_exporter --sap-control-url http://18.185.3.81:50113 I am able to see the required metrics.
Thanks for this information. However I would like to run both command at once (to get metrics from both) but in the sap_host_exporter.yaml file there is only one port (9680) defined. Can I define another port so as to run two commands simultaneously? Basically, I see the the exporter first look for the yaml file in present directory only. How do I achieve this? Thanks.

from sap_host_exporter.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.