Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeNAS #18

Open
ghost opened this issue Aug 31, 2020 · 2 comments
Open

FreeNAS #18

ghost opened this issue Aug 31, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ghost
Copy link

ghost commented Aug 31, 2020

Hello,

Nice plugin but unfortunately does not work on FreeNAS, next to the dataset discovery almost everything else is broken.

cat: /proc/spl/kmem/slab: No such file or directory
arithmetic expression: expecting primary: "  "
cat: /sys/module/zfs/parameters/: No such file or directory
awk: can't open file /proc/spl/kstat/zfs/arcstats
 source line number 1
zfs.vdev.error_counter.cksum                  [t|

in


CKSUM
0
0

errors



in


CKSUM
0
0

errors]

Unfortunately there is only 1 other FreeNAS zabbix template and it does not even contain anything related to ZFS just useless stuff like CPU usage/jumps etc.

Here is some research on my own. On Freenas as Zabbix user you will need the sudo, for example without that zfs.vdev.discovery would only return 2 results.

Any help is welcome.

@AceSlash
Copy link
Collaborator

That's expected because FreeNAS is based on FreeBSD. While I did support for a time FreeBSD alongside Linux (on share.zabbix.com), I no longer work in an environment with any BSD, only Linux machines.

That's why this repository is aimed at Linux, but I can merge patches if they don't break the Linux side of things.

Typically, you'll have to create an other userparameter file that pulls the BSD items instead of looking at the Linux ones.

@AceSlash AceSlash added enhancement New feature or request help wanted Extra attention is needed labels Aug 31, 2020
@marcin-gryszkalis
Copy link

FreeBSD fork of this template is here: https://github.com/francoricci/zabbix_zfs-on-freebsd (not tested yet, will do soon)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants