Comments (10)
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.
hello @pipinstallyogi, could you please paste the systemd unit log output, plus all the metrics it exports?
from sap_host_exporter.
@pipinstallyogi glad we could help. feel free to open issue any time 🌻
from sap_host_exporter.
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.
@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.
@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.
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.
yep, there is no enqueue server in that node, so there are no metrics to collect about it ;)
from sap_host_exporter.
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.
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)
- Find out clarity about project name. HOT 1
- Better document Enqueue Server metrics
- fix make obs-workdir target
- Only register collectors if the endpoint supports it. HOT 2
- readme. bug
- sapstartsrv is going [defunc] after sap_host_exporter is active HOT 1
- Exporter fails with panic error HOT 1
- Connection refused HOT 2
- HTTP Error : Unauthorized HOT 3
- RFC: Zero config Exporter-> automatic discover the target. HOT 6
- Collected metric was collected before with the same name and label values HOT 2
- Request additional metrics in exporter HOT 3
- sap_host_exporter isn't discovering all the SAP instances HOT 1
- New exporter metrics for application server connections
- Update boilerplate across the board
- Where is internal alerts metrics
- GetAlerts Collector scrape failed: SAPControl web service error: XML syntax error on line 1: illegal character code U+FFFF"
- Add example URL to cli usage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sap_host_exporter.