Comments (6)
Ok, the original storage module does not handle the multi-routing-engine-result Tag. I will fix this accordingly.
from junos_exporter.
@AngelFreak What is the output from your device when you call show system storage
?
from junos_exporter.
Here you go:
fpc0:
--------------------------------------------------------------------------
Filesystem Size Used Avail Capacity Mounted on
/dev/gpt/junos 1.3G 809M 448M 64% /.mount
tmpfs 542M 44K 542M 0% /.mount/tmp
tmpfs 324M 540K 324M 0% /.mount/mfs
from junos_exporter.
Aha, I suspect it's the following lines throwing off the parsing for your device.
fpc0:
--------------------------------------------------------------------------
On my test boxes I receive this output
> show system storage
Filesystem Size Used Avail Capacity Mounted on
/dev/da0s1a 610M 179M 382M 32% /
...
...
from junos_exporter.
Here you go:
fpc0: -------------------------------------------------------------------------- Filesystem Size Used Avail Capacity Mounted on /dev/gpt/junos 1.3G 809M 448M 64% /.mount tmpfs 542M 44K 542M 0% /.mount/tmp tmpfs 324M 540K 324M 0% /.mount/mfs
Can you please provide the XML output of:
show system storage | display xml
Thanks in advance.
from junos_exporter.
Sure here you go:
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/18.2R1/junos">
<multi-routing-engine-results>
<multi-routing-engine-item>
<re-name>fpc0</re-name>
<system-storage-information junos:style="brief">
<filesystem>
<filesystem-name>/dev/gpt/junos</filesystem-name>
<total-blocks junos:format="1.3G">2796512</total-blocks>
<used-blocks junos:format="814M">1667792</used-blocks>
<available-blocks junos:format="442M">905000</available-blocks>
<used-percent> 65</used-percent>
<mounted-on>/.mount</mounted-on>
</filesystem>
<filesystem>
<filesystem-name>tmpfs</filesystem-name>
<total-blocks junos:format="537M">1099008</total-blocks>
<used-blocks junos:format="44K">88</used-blocks>
<available-blocks junos:format="537M">1098920</available-blocks>
<used-percent> 0</used-percent>
<mounted-on>/.mount/tmp</mounted-on>
</filesystem>
<filesystem>
<filesystem-name>tmpfs</filesystem-name>
<total-blocks junos:format="324M">663776</total-blocks>
<used-blocks junos:format="540K">1080</used-blocks>
<available-blocks junos:format="324M">662696</available-blocks>
<used-percent> 0</used-percent>
<mounted-on>/.mount/mfs</mounted-on>
</filesystem>
</system-storage-information>
</multi-routing-engine-item>
</multi-routing-engine-results>
<cli>
<banner>{master:0}</banner>
</cli>
</rpc-reply>
from junos_exporter.
Related Issues (20)
- feature request: metric for fan rpms
- feature request: Ethernet FEC statistics HOT 1
- panic if devices in config file is empty (interface_description_regex) HOT 2
- ipsec security-associations metrics broken for single RE devices HOT 7
- Scraping is very long with vSRX HOT 1
- EX4550-F32 (15.1R7) fails to query interfaces
- File descriptior leakage HOT 2
- context deadline exceeded for junos_exporter container HOT 1
- list of cmds used by module for TACACS approval
- Metrics for Prometheus are no longer returned when polling devices HOT 2
- Wrong DOM values for xe-* interfaces
- Can't install junos_exporter HOT 3
- satellite scraping can be only configured globally HOT 3
- Missing config.ignore-targets in v0.10.0 and newer HOT 2
- add isis metric to the exporter
- High CPU usage on the switches when using the exporter HOT 2
- feature request: Power usage for EX
- feature request: return bgp session_status instead of session_up
- Lots of messages in the log HOT 1
- Build 0.11.0 failed
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 junos_exporter.