Jump to content

Zabbix BSD Agent or generic SNMP Support


jca001

Recommended Posts

I have a Zabbix Server running on a RPI 4 that is monitoring my PCs, other RPIs, Network Equipment, etc. I know ISY994 does not support any kind of SNMP so Zabbix just checks it is up by doing a ping. I have a Polisy and I know it is running BSD and Zabbix has a BSD Agent.

So my question is can the Zabbix BSD Agent be install on Polisy?

Or does Polisy support some Generic SNMP that I can configure Zabbix to use?

Link to comment
Share on other sites

@Michel Kohanim Thanks.

As always one answer leads to more questions.

Just for clarification, do you mean the Zabbix Client or SNMP in general?

Is there a Time Line, version update when it will be available?

Will the inclusion be automatic or will I have to do some special steps?

 

Link to comment
Share on other sites

@Michel Kohanim thanks for the quick reply.

I am missing something or there are more command that I need to run.

 Before doing the following I rebooted Polisy.

[admin@polisy ~]$ uname -a
FreeBSD polisy 12.1-RELEASE-p5 FreeBSD 12.1-RELEASE-p5 r361000 POLISY  amd64

[admin@polisy ~]$ sudo pkg update
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
Updating udi repository catalogue...
udi repository is up to date.
All repositories are up to date.

[admin@polisy ~]$ sudo pkg upgrade
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
Updating udi repository catalogue...
udi repository is up to date.
All repositories are up to date.
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.


[admin@polisy ~]$ sudo pkg install zabbix-client
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
Updating udi repository catalogue...
udi repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'zabbix-client' have been found in the repositories
 

 

Link to comment
Share on other sites

@Michel Kohanim I was hoping that was a missed step and everything would be fine after that, but it is not.

[admin@polisy ~]$ uname -a
FreeBSD polisy 12.2-RELEASE-p2 FreeBSD 12.2-RELEASE-p2 r368666 POLISY  amd64

sudo pkg update, says there is nothing to update.

sudo pkg upgrade, says everything is up to date.

sudo pkg install zabbix-client, still says the package is not matched.

I am running zabbix 5.X, so maybe a version needs to be specified?

Something like zabbix-client5.

I tried to find an option for pkg (man pkg) to list all the available packages, but could not identify one.
 

Link to comment
Share on other sites

@Michel Kohanim There is still something wrong.

 

sudo pkg search zab, does not show anything.

Just to make sure the command does match something I did, sudo pkg search dev, and it showed many packages that contained "dev" somewhere in the package name.

I think even if the package was in the repository your example would have failed because I think you meant to type "zabbix5-agent", 2bs.

Link to comment
Share on other sites

@Michel Kohanim I just checked Zabbix Download page and selected FreeBSD and it shows support only up to 11.2 of the OS for Zabbix 5.2 that I am running. So this may be why it is not listed in the UDI's repository.

Unless you can find an Agent in the UDI repository, I will just try setting up SNMP. I just want to monitor that Polisy is on my network and running and I think Generic SNMP will provide some System information, such as CPU utilization, Memory utilization, etc that would indicate Polisy is running.

I checked Polisy I can find /etc/snmpd.config, but not the snmpd program itself. Maybe FreeBSD implemented it using a different name for the daemon.

Running sudo pkg -v version, indicates there are 3 SNMP related packages installed and up to date. I will loook at /etc/snmpd.config and see if I can figure out how to configure SNMP. I may need a little help with this.

 

Link to comment
Share on other sites

@Michel Kohanim I had done "pkg search zab" before and nothing showed up. But I just did it now and see zabbix-agent-5.0.6.

I am running Zabbix 5.2.2, any chance the agent for 5.2 could be provided?

I am going to install the 5.0.6 agent on my Polisy and see if my Zabbix Server can use it.

Thanks for all the help you have provided.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...