Comments (5)
# ipython
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
Type "copyright", "credits" or "license" for more information.
IPython 0.10 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: iets = 'proc3 22 0 11116973 172815 779538 3775010 3271 1395612 408022 96132 2332 18288 0 44932 2000 149604 1634 1779 48591 1120 1854 927 306968'
In [2]: import re
In [7]: re.search(".*proc3 (?:\S*\s){2}(\S*)", iets).groups()
Out[7]: ('11116973',)
from gmond_python_modules.
The problem is this
# cat /proc/net/rpc/nfsd
rc 0 0 0
fh 0 0 0 0 0
io 0 0
th 0 0 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
ra 0 0 0 0 0 0 0 0 0 0 0 0
net 0 0 0 0
rpc 0 0 0 0 0
proc4ops 59 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
from gmond_python_modules.
perhaps the module should check for the presence of "proc3" in the output, before trying to re.search and skip nfs(d)_3 prefix metric collection if no proc3 is found in the output
from gmond_python_modules.
Even when I remove nfsd_ metrics from .pyconf the module still fails.
from gmond_python_modules.
Fixes this issue
from gmond_python_modules.
Related Issues (20)
- [PYTHON] Can't find the metric_init function in the python module [varnish].
- The GPU Nvidia module's documentation should make clear what do with the patch file HOT 3
- Outstanding ipmi pull requests
- mysqld python module have error "Can't call the metric_init function in the python module"
- GPU custom graphs dont work with default installation in CentOS 6 HOT 2
- How to add metrics to Ganglia
- i can't monitor my infiniband network HOT 2
- User of sudo within python plugins in Ganglia
- Unsupported NVML Commands
- cpu_temp: wrong directory
- Can't call the metric handler function for... HOT 6
- [Ganglia restart extended metrics data lost]
- ipmi.py sends ipmi metrics with forward-slash in their names HOT 1
- Support for aggregate GPU usage statistics
- How to monitor AMD GPUs ?
- No support for 64bit counters? HOT 2
- Migrate LGTM.com installation from OAuth to GitHub App
- json button return numbers not json data format for the graph
- Proposing a PR to fix a few small typos
- inconsistence between nvidia.py and nvidia-ml-py-3.295.00 HOT 1
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 gmond_python_modules.