Giter VIP home page Giter VIP logo

Comments (6)

grundic avatar grundic commented on August 16, 2024

Hello!
Take a look at this document:
https://www.zabbix.com/documentation/1.8/manual/config/user_parameters
Shortly: parameters in zabbix should be escaped (use double dollar). In
your console (for testing) you gave to use single dollar sign - as usual
variable.
Hope it helped :)


There is nothing to be worried 'bout...
^^^^^^^^^^^^^^^^^^^~

On Sat, Nov 30, 2013 at 3:14 PM, forall [email protected] wrote:

Hi,

Today I found your script for monitoring disk use zabbix, but I have some
little problem..

[root][db1]: cat /proc/diskstats | grep xvdb | head -1 | awk '{print $$4}'

[root][db1]: cat /proc/diskstats | grep xvdb | head -1 | awk '{print $4}'
147084623

First command doesn't return any data.. in second I delete one $ from
print and I get some data.. but when I do this modification all items in
zabbix I saw as unsupported..
Have you any ideas why is that? My OS is CentOS 5.9 x64, zabbix-agent
2.0.9 and zabbix-server 2.2.0.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2
.

from zabbix-disk-performance.

forall avatar forall commented on August 16, 2024

Ok, but when I set double $$ in zabbix all values show me zero data... on console I have return data with some value.
http://picpaste.com/zabbix_disk_performance-JpvPQ5ZE.png

from zabbix-disk-performance.

grundic avatar grundic commented on August 16, 2024

Hm.. looks strange. Try to debug with printing some values, for example,
$TERM or $USER just to be sure.


There is nothing to be worried 'bout...
^^^^^^^^^^^^^^^^^^^~

On Sat, Nov 30, 2013 at 8:14 PM, forall [email protected] wrote:

Ok, but when I set double $$ in zabbix all values show me zero data... on
console I have return data with some value.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-29555132
.

from zabbix-disk-performance.

grundic avatar grundic commented on August 16, 2024

Also try zabbix_get command:

grundic@zbx:~$ zabbix_get -s 192.168.206.106 -k "custom.vfs.dev.read.sectors[sda]"
3868663708

from zabbix-disk-performance.

forall avatar forall commented on August 16, 2024

Eh.. I found problem.. in your script lld-disk.py I put wrong disk to exlusion.. and script create data for disk which is not used by system.. Now it's looks greate.
What it's mean "Write:Ops per second [z] <----"?

from zabbix-disk-performance.

grundic avatar grundic commented on August 16, 2024

Write:Ops per second [z] this is data, collected not by custom script, but by internal zabbix items.
These are disabled by default. At first I wish I would choose to use script's data or internal zabbix, but now I'm using just custom script.
You can read more here: https://www.zabbix.com/documentation/2.0/manual/config/items/itemtypes/zabbix_agent

from zabbix-disk-performance.

Related Issues (20)

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.