How to set up SNMP in Ubuntu server 18.04 to report access point activity to Zabbix dashboard?












1















I really need assistance in setting up SNMP to work with Zabbix on my dashboard.
I have set up an Ubuntu 18.04 Zabbix server and have added over 18 agents. All virtual machines with Zabbix agents and they are working great!



Now I have gotten to the point where I need to have the AP's set up for Zabbix.
I have followed the instructions and did the following so far:



sudo apt-get update
sudo apt-get install snmp snmp-mibs-downloader
sudo apt-get update
sudo apt-get install snmpd


I opened sudo nano /etc/snmp/snmp.conf and commented the following line:



#mibs :


Then I went into the configuration file:



sudo nano /etc/snmp/snmpd.conf


And from there I made changes to the following lines:



Listen for connections from the local system only
agentAddress udp:127.0.0.1:161 <--- commented this part.
Listen for connections on all interfaces (both IPv4 and IPv6)
agentAddress udp:161,udp6:[::1]:161 <--remove the comment from this line to make it work.


Then I set up the Zabbix dashboard side. I will attach pictures of the set-up.



1st zabbix dashboard menu:



1st zabbix dashboard menu



2nd dashboard set-up menu:



2nd dashboard set-up menu



I get the following error:



This is a picture of the error I receive.



I will also attach picture that shows my meraki access point set-up.



Meraki AP SNMP set-up:



Meraki AP SNMP set-up.



Lastly, I will add a picture that shows the Linux Zabbix server terminal set up on that config file.



Linux Zabbix Server:



Linux Zabbix Server



I am stumped and cannot figure out why Zabbix still throwing out that error.



I have gone thru the Zabbix documentation but cannot find a solution to my problem.










share|improve this question

























  • a) It looks like you are trying to poll SNMP devices - this means that there is no need to configure snmpd on the Zabbix server. b) You said you "followed the instructions" - which instructions? c) Please include the error message as text in your question. d) Try to poll the device with snmpget from the Zabbix server - if that does not work, no point in trying with Zabbix.

    – Richlv
    Jan 1 at 19:41











  • @Richlv I appreciate the response, anyways you can give me an example on how to use the snmpget? I am still a noob at linux and trying to figure this all out.

    – BrawlerBear5
    Jan 2 at 14:05
















1















I really need assistance in setting up SNMP to work with Zabbix on my dashboard.
I have set up an Ubuntu 18.04 Zabbix server and have added over 18 agents. All virtual machines with Zabbix agents and they are working great!



Now I have gotten to the point where I need to have the AP's set up for Zabbix.
I have followed the instructions and did the following so far:



sudo apt-get update
sudo apt-get install snmp snmp-mibs-downloader
sudo apt-get update
sudo apt-get install snmpd


I opened sudo nano /etc/snmp/snmp.conf and commented the following line:



#mibs :


Then I went into the configuration file:



sudo nano /etc/snmp/snmpd.conf


And from there I made changes to the following lines:



Listen for connections from the local system only
agentAddress udp:127.0.0.1:161 <--- commented this part.
Listen for connections on all interfaces (both IPv4 and IPv6)
agentAddress udp:161,udp6:[::1]:161 <--remove the comment from this line to make it work.


Then I set up the Zabbix dashboard side. I will attach pictures of the set-up.



1st zabbix dashboard menu:



1st zabbix dashboard menu



2nd dashboard set-up menu:



2nd dashboard set-up menu



I get the following error:



This is a picture of the error I receive.



I will also attach picture that shows my meraki access point set-up.



Meraki AP SNMP set-up:



Meraki AP SNMP set-up.



Lastly, I will add a picture that shows the Linux Zabbix server terminal set up on that config file.



Linux Zabbix Server:



Linux Zabbix Server



I am stumped and cannot figure out why Zabbix still throwing out that error.



I have gone thru the Zabbix documentation but cannot find a solution to my problem.










share|improve this question

























  • a) It looks like you are trying to poll SNMP devices - this means that there is no need to configure snmpd on the Zabbix server. b) You said you "followed the instructions" - which instructions? c) Please include the error message as text in your question. d) Try to poll the device with snmpget from the Zabbix server - if that does not work, no point in trying with Zabbix.

    – Richlv
    Jan 1 at 19:41











  • @Richlv I appreciate the response, anyways you can give me an example on how to use the snmpget? I am still a noob at linux and trying to figure this all out.

    – BrawlerBear5
    Jan 2 at 14:05














1












1








1








I really need assistance in setting up SNMP to work with Zabbix on my dashboard.
I have set up an Ubuntu 18.04 Zabbix server and have added over 18 agents. All virtual machines with Zabbix agents and they are working great!



Now I have gotten to the point where I need to have the AP's set up for Zabbix.
I have followed the instructions and did the following so far:



sudo apt-get update
sudo apt-get install snmp snmp-mibs-downloader
sudo apt-get update
sudo apt-get install snmpd


I opened sudo nano /etc/snmp/snmp.conf and commented the following line:



#mibs :


Then I went into the configuration file:



sudo nano /etc/snmp/snmpd.conf


And from there I made changes to the following lines:



Listen for connections from the local system only
agentAddress udp:127.0.0.1:161 <--- commented this part.
Listen for connections on all interfaces (both IPv4 and IPv6)
agentAddress udp:161,udp6:[::1]:161 <--remove the comment from this line to make it work.


Then I set up the Zabbix dashboard side. I will attach pictures of the set-up.



1st zabbix dashboard menu:



1st zabbix dashboard menu



2nd dashboard set-up menu:



2nd dashboard set-up menu



I get the following error:



This is a picture of the error I receive.



I will also attach picture that shows my meraki access point set-up.



Meraki AP SNMP set-up:



Meraki AP SNMP set-up.



Lastly, I will add a picture that shows the Linux Zabbix server terminal set up on that config file.



Linux Zabbix Server:



Linux Zabbix Server



I am stumped and cannot figure out why Zabbix still throwing out that error.



I have gone thru the Zabbix documentation but cannot find a solution to my problem.










share|improve this question
















I really need assistance in setting up SNMP to work with Zabbix on my dashboard.
I have set up an Ubuntu 18.04 Zabbix server and have added over 18 agents. All virtual machines with Zabbix agents and they are working great!



Now I have gotten to the point where I need to have the AP's set up for Zabbix.
I have followed the instructions and did the following so far:



sudo apt-get update
sudo apt-get install snmp snmp-mibs-downloader
sudo apt-get update
sudo apt-get install snmpd


I opened sudo nano /etc/snmp/snmp.conf and commented the following line:



#mibs :


Then I went into the configuration file:



sudo nano /etc/snmp/snmpd.conf


And from there I made changes to the following lines:



Listen for connections from the local system only
agentAddress udp:127.0.0.1:161 <--- commented this part.
Listen for connections on all interfaces (both IPv4 and IPv6)
agentAddress udp:161,udp6:[::1]:161 <--remove the comment from this line to make it work.


Then I set up the Zabbix dashboard side. I will attach pictures of the set-up.



1st zabbix dashboard menu:



1st zabbix dashboard menu



2nd dashboard set-up menu:



2nd dashboard set-up menu



I get the following error:



This is a picture of the error I receive.



I will also attach picture that shows my meraki access point set-up.



Meraki AP SNMP set-up:



Meraki AP SNMP set-up.



Lastly, I will add a picture that shows the Linux Zabbix server terminal set up on that config file.



Linux Zabbix Server:



Linux Zabbix Server



I am stumped and cannot figure out why Zabbix still throwing out that error.



I have gone thru the Zabbix documentation but cannot find a solution to my problem.







networking server 18.04 snmp zabbix






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 2 at 0:08









Kevin Bowen

14.4k155970




14.4k155970










asked Dec 28 '18 at 13:22









BrawlerBear5BrawlerBear5

62




62













  • a) It looks like you are trying to poll SNMP devices - this means that there is no need to configure snmpd on the Zabbix server. b) You said you "followed the instructions" - which instructions? c) Please include the error message as text in your question. d) Try to poll the device with snmpget from the Zabbix server - if that does not work, no point in trying with Zabbix.

    – Richlv
    Jan 1 at 19:41











  • @Richlv I appreciate the response, anyways you can give me an example on how to use the snmpget? I am still a noob at linux and trying to figure this all out.

    – BrawlerBear5
    Jan 2 at 14:05



















  • a) It looks like you are trying to poll SNMP devices - this means that there is no need to configure snmpd on the Zabbix server. b) You said you "followed the instructions" - which instructions? c) Please include the error message as text in your question. d) Try to poll the device with snmpget from the Zabbix server - if that does not work, no point in trying with Zabbix.

    – Richlv
    Jan 1 at 19:41











  • @Richlv I appreciate the response, anyways you can give me an example on how to use the snmpget? I am still a noob at linux and trying to figure this all out.

    – BrawlerBear5
    Jan 2 at 14:05

















a) It looks like you are trying to poll SNMP devices - this means that there is no need to configure snmpd on the Zabbix server. b) You said you "followed the instructions" - which instructions? c) Please include the error message as text in your question. d) Try to poll the device with snmpget from the Zabbix server - if that does not work, no point in trying with Zabbix.

– Richlv
Jan 1 at 19:41





a) It looks like you are trying to poll SNMP devices - this means that there is no need to configure snmpd on the Zabbix server. b) You said you "followed the instructions" - which instructions? c) Please include the error message as text in your question. d) Try to poll the device with snmpget from the Zabbix server - if that does not work, no point in trying with Zabbix.

– Richlv
Jan 1 at 19:41













@Richlv I appreciate the response, anyways you can give me an example on how to use the snmpget? I am still a noob at linux and trying to figure this all out.

– BrawlerBear5
Jan 2 at 14:05





@Richlv I appreciate the response, anyways you can give me an example on how to use the snmpget? I am still a noob at linux and trying to figure this all out.

– BrawlerBear5
Jan 2 at 14:05










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1105114%2fhow-to-set-up-snmp-in-ubuntu-server-18-04-to-report-access-point-activity-to-zab%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1105114%2fhow-to-set-up-snmp-in-ubuntu-server-18-04-to-report-access-point-activity-to-zab%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?