Giter Site home page Giter Site logo

Comments (11)

rbicelli avatar rbicelli commented on May 26, 2024 1

Recently (more than a month ago) I've changed the template and removed the value preprocessing (preprocessing done in php script).
Maybe you are using an old version of the template or I've updated the repo with wrong template.
Try removing preprocessing and please update the template to the current master release.

from pfsense-zabbix-template.

rbicelli avatar rbicelli commented on May 26, 2024

The "internal" value mapping for gateway status is:

$valuemap = array(
                         "none" => "0",
                         "loss" => "1",
                         "highdelay" => "2",
                         "highloss" => "3",
                         "force_down" => "4",
                         "down" => "5");

This basically makes the mapping string:integer internal, avoiding using item preprocessing on zabbix side.
I think mapping for unmonitored status is missing. Could you post the value of item "Gateways RAW Status" with unmonitored gateway in place?
Thanks

from pfsense-zabbix-template.

sgi-ch avatar sgi-ch commented on May 26, 2024

Our Gateway is named/labled with VTX. Before it was VTX.None, now its only VTX. (including the dot).

from pfsense-zabbix-template.

rbicelli avatar rbicelli commented on May 26, 2024

Please try via pfsense cli:

php /path/to/script/pfsense_zbx.php gw_value VTX status

And post the output. I assume it will display 5 or empty.

from pfsense-zabbix-template.

sgi-ch avatar sgi-ch commented on May 26, 2024

[2.4.5-RELEASE][user@pfsense]/root: /usr/local/bin/php /root/scripts/pfsense_zbx.php gw_value VTX status
0

image

from pfsense-zabbix-template.

rbicelli avatar rbicelli commented on May 26, 2024

Seems quite strange. In the discovery items, gateway status, do you have some value preprocessing in place?

from pfsense-zabbix-template.

sgi-ch avatar sgi-ch commented on May 26, 2024

Yes, those where in the Template.

image

from pfsense-zabbix-template.

sgi-ch avatar sgi-ch commented on May 26, 2024

Ah sorry, did not get that and did not compare. I'll update the Template and update the issue

from pfsense-zabbix-template.

sgi-ch avatar sgi-ch commented on May 26, 2024

Yes, with the new Version, everything is working. Thanks for the Support!

from pfsense-zabbix-template.

rbicelli avatar rbicelli commented on May 26, 2024

Yes, with the new Version, everything is working. Thanks for the Support!

You are welcome!

from pfsense-zabbix-template.

antun3s avatar antun3s commented on May 26, 2024

Thanks @rbicelli it's work for me

from pfsense-zabbix-template.

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.