Comments (1)
Theses metrics are based on backup_jobs ( cf: conf/metrics/vm_backup_jobs_sessions_metrics.yml ):
- name: collect data
url: "/backupSessions/{{ job.uid }}/taskSessions?format=entity"
var_name: vmres
an those jobs are obtained by the defintion set in backup_jobs_sessions_metrics.yml
and filtered to restricted to jobs that are less than 1 day.
- name: collect elements
url: /backupSessions?format=Entity
var_name: _root
vars:
timestart: "{{ 'now-1d' | to_timestamp() }}"
jobs: {}
- name: procceed elements
with_items: "{{ BackupJobSessions }}"
when:
- " item.CreationTimeUTC | to_timestamp() > timestart "
actions: [...]
What I can say is only several general remarks on how to debug :
- activate somes messages trace ( add debug output by adding your own or uncomment the already defined :
- name: debug item
debug:
msg: "item: {{ item| tojson(indent=2) }}"
- run the export in "dry_mode" --n or --dry_mode from command line to see the debug message .
- you may also request the veeam server, like the exporter does, to check the replies:
1.1. log to the server to obtain a token session: curl -u [user] https://[veeam_url]/api/sessionMngr/?v=latest
1.2. collect the session token
1.3 then use it in further request in header: -H "X-RestSvcSessionId: [token]"
from veeam_exporter.
Related Issues (9)
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 veeam_exporter.