Comments (11)
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.
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.
Our Gateway is named/labled with VTX
. Before it was VTX.None
, now its only VTX.
(including the dot).
from pfsense-zabbix-template.
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.
[2.4.5-RELEASE][user@pfsense]/root: /usr/local/bin/php /root/scripts/pfsense_zbx.php gw_value VTX status
0
from pfsense-zabbix-template.
Seems quite strange. In the discovery items, gateway status, do you have some value preprocessing in place?
from pfsense-zabbix-template.
Yes, those where in the Template.
from pfsense-zabbix-template.
Ah sorry, did not get that and did not compare. I'll update the Template and update the issue
from pfsense-zabbix-template.
Yes, with the new Version, everything is working. Thanks for the Support!
from pfsense-zabbix-template.
Yes, with the new Version, everything is working. Thanks for the Support!
You are welcome!
from pfsense-zabbix-template.
Thanks @rbicelli it's work for me
from pfsense-zabbix-template.
Related Issues (20)
- PFSense Active - Wrong PFsense State table on pfsense agent, Solved! HOT 1
- pfsense ver 23.05.1 doesn't work with speedtest cli HOT 1
- speedtest with option --source doesn`t work HOT 1
- High packet Loss on WAN_DHCP6? HOT 1
- Duplicate Triggers in Gateway Discovery Template HOT 6
- OpenSSLAsymmetricKey error HOT 2
- Monitoring Table Usage Count HOT 5
- pfsense_zbx.php script version not being updated HOT 9
- Typo in Readme HOT 4
- PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /root/scripts/pfsense_zbx.php:817 HOT 1
- PHP Fatal error: Uncaught TypeError: openssl_pkey_get_details(): Argument #1 ($key) must be of type OpenSSLAsymmetricKey, bool given in /root/scripts/pfsense_zbx.php:1237 HOT 14
- Disconnected status OpenVPN client HOT 1
- Crash report begins. Anonymous machine information: HOT 1
- Packages Update Available HOT 2
- Zabbix cannot obtain memory data HOT 2
- Unclosed error HOT 1
- Installation advice HOT 1
- Multiple Gateways HOT 2
- Error when trying to apply template to Pfsense in Zabbix HOT 1
- Latest data not populating HOT 6
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 pfsense-zabbix-template.