Quickest way to set up Zabbix to monitor managed switch metrics??
-
I've been having tons of network issues lately and one thing I lack is good network visibility. I've asked about snmp here in the past and people have recommended Zabbix. I am considering spending my weekend setting up something to monitor my switches, and if Zabbix isn't too difficult to set up and get going, I will give that a try.
I've already set up a Debian Linux server a while ago and have nothing going on it currently, so I could use that for Zabbix.
I'm just asking this because 9 times out of 10, a project like this will have multiple rabbit holes and I worry that I will get half-way thru Zabbix install only to get stuck with some insane complex issue with a Linux dependency or something...
-
Looks like this might be a good start: https://www.zabbix.com/download?zabbix=3.4&os_distribution=debian&os_version=stretch&db=MySQL
-
This is my old guide.
https://mangolassi.it/topic/10373/install-zabbix-on-centos-7 -
@jaredbusch said in Quickest way to set up Zabbix to monitor managed switch metrics??:
This is my old guide.
https://mangolassi.it/topic/10373/install-zabbix-on-centos-7Thanks. If I run into problems with Debian, I'll try CentOS
-
Beware there are no many Dell PowerConnect or X-Networking Series templates in Zabbix, take a look below:
http://monitoringartist.github.io/zabbix-switch-template-generator/https://github.com/jjmartres/Zabbix/tree/master/zbx-templates/zbx-dell-powerconnect
-
@dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:
Beware there are no many Dell PowerConnect or X-Networking Series templates in Zabbix, take a look below:
http://monitoringartist.github.io/zabbix-switch-template-generator/https://github.com/jjmartres/Zabbix/tree/master/zbx-templates/zbx-dell-powerconnect
I have N series switches (N3000's)... I can't tell if this means I wont be able to use Zabbix now...
-
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:
Beware there are no many Dell PowerConnect or X-Networking Series templates in Zabbix, take a look below:
http://monitoringartist.github.io/zabbix-switch-template-generator/https://github.com/jjmartres/Zabbix/tree/master/zbx-templates/zbx-dell-powerconnect
I have N series switches (N3000's)... I can't tell if this means I wont be able to use Zabbix now...
No, it doesn't mean you cannot use it. It means that you need to create your own templates or use a similar one from another switch type.
-
I actually got Zabbix up and running on Debian 9 with Postgresql. So that was like a first time every getting something up and running without any big rabbit holes. However, now I am at the Zabbix login screen and I can't seem to login as no credentials work. I have tried username/password combos: zabbix/admin, zabbix/[blank], admin/zabbix, admin/blank.... I have tried the password I used during the entire setup of zabbix, which is the same as the linux password.... I CAN NOT GET IN.... anyone have any ideas??
-
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
I actually got Zabbix up and running on Debian 9 with Postgresql. So that was like a first time every getting something up and running without any big rabbit holes. However, now I am at the Zabbix login screen and I can't seem to login as no credentials work. I have tried username/password combos: zabbix/admin, zabbix/[blank], admin/zabbix, admin/blank.... I have tried the password I used during the entire setup of zabbix, which is the same as the linux password.... I CAN NOT GET IN.... anyone have any ideas??
User and password is zabbix.
-
@dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
I actually got Zabbix up and running on Debian 9 with Postgresql. So that was like a first time every getting something up and running without any big rabbit holes. However, now I am at the Zabbix login screen and I can't seem to login as no credentials work. I have tried username/password combos: zabbix/admin, zabbix/[blank], admin/zabbix, admin/blank.... I have tried the password I used during the entire setup of zabbix, which is the same as the linux password.... I CAN NOT GET IN.... anyone have any ideas??
User and password is zabbix.
That also does not work... my god.. am I actually going to have to do a complete re-install on a different Linux simply because the default username and password don't work??? UNREAL.
-
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
I actually got Zabbix up and running on Debian 9 with Postgresql. So that was like a first time every getting something up and running without any big rabbit holes. However, now I am at the Zabbix login screen and I can't seem to login as no credentials work. I have tried username/password combos: zabbix/admin, zabbix/[blank], admin/zabbix, admin/blank.... I have tried the password I used during the entire setup of zabbix, which is the same as the linux password.... I CAN NOT GET IN.... anyone have any ideas??
User and password is zabbix.
That also does not work... my god.. am I actually going to have to do a complete re-install on a different Linux simply because the default username and password don't work??? UNREAL.
Mmm try Admin and password zabbix. Make sure to keep the A capital.
-
@dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
I actually got Zabbix up and running on Debian 9 with Postgresql. So that was like a first time every getting something up and running without any big rabbit holes. However, now I am at the Zabbix login screen and I can't seem to login as no credentials work. I have tried username/password combos: zabbix/admin, zabbix/[blank], admin/zabbix, admin/blank.... I have tried the password I used during the entire setup of zabbix, which is the same as the linux password.... I CAN NOT GET IN.... anyone have any ideas??
User and password is zabbix.
That also does not work... my god.. am I actually going to have to do a complete re-install on a different Linux simply because the default username and password don't work??? UNREAL.
Mmm try Admin and password zabbix. Make sure to keep the A capital.
OMFG. Admin with a CAPITAL "A" made it work... thank you good and beautiful kind sir. You have saved me hours of fucking insanity.
-
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
I actually got Zabbix up and running on Debian 9 with Postgresql. So that was like a first time every getting something up and running without any big rabbit holes. However, now I am at the Zabbix login screen and I can't seem to login as no credentials work. I have tried username/password combos: zabbix/admin, zabbix/[blank], admin/zabbix, admin/blank.... I have tried the password I used during the entire setup of zabbix, which is the same as the linux password.... I CAN NOT GET IN.... anyone have any ideas??
User and password is zabbix.
That also does not work... my god.. am I actually going to have to do a complete re-install on a different Linux simply because the default username and password don't work??? UNREAL.
Mmm try Admin and password zabbix. Make sure to keep the A capital.
OMFG. Admin with a CAPITAL "A" made it work... thank you good and beautiful kind sir. You have saved me hours of fucking insanity.
Glad to help.
-
@dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
I actually got Zabbix up and running on Debian 9 with Postgresql. So that was like a first time every getting something up and running without any big rabbit holes. However, now I am at the Zabbix login screen and I can't seem to login as no credentials work. I have tried username/password combos: zabbix/admin, zabbix/[blank], admin/zabbix, admin/blank.... I have tried the password I used during the entire setup of zabbix, which is the same as the linux password.... I CAN NOT GET IN.... anyone have any ideas??
User and password is zabbix.
That also does not work... my god.. am I actually going to have to do a complete re-install on a different Linux simply because the default username and password don't work??? UNREAL.
Mmm try Admin and password zabbix. Make sure to keep the A capital.
OMFG. Admin with a CAPITAL "A" made it work... thank you good and beautiful kind sir. You have saved me hours of fucking insanity.
Glad to help.
Seriously. Thank. YOU.
-
So... I spent a while reading through the Zabbix 3.4 documentation. I have added a single host (a Dell N3048 switch) and created an item for CPU (system.cpu.load) as a test. However, I am not really seeing any activity.
On my N series switch, I had also configured SNMPv2 with a community string, enabled traps and then pointed it to the Zabbix server IP. I was wondering, do I need to do anything with the switch's MIBs which are provided with the switch firmware files?
Also, using the template generator someone provided up top (http://monitoringartist.github.io/zabbix-switch-template-generator/), I am not quite sure if I am doing this right:
And then when I go to import the template, it fails:
It's saying that data_type is missing. When I view the template's XML file, I see data_type is set to zero. Not sure what it should be set to... I've googled around a bit but everything I find doesn't seem to fit my situation. I'm not quite sure what I need to do to get going with getting switch metrics into Zabbix..
-
Nevermind.. looks like I got it working.. took a while but I have switch info coming into Zabbix now. Now to add everything else.
-
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
Nevermind.. looks like I got it working.. took a while but I have switch info coming into Zabbix now. Now to add everything else.
Good job!
-
Before I get into the thick of it... and since I don't 100% know what I'm doing... These are the templates I've added for my single test switch:
I seem to be getting a lot of data coming in now for my N3048P switch. I am going to go ahead and set the rest of my 7 switches up with the same templates.. or should I only be using one? I don't want to bog stuff down by sending too much info, if that's even a concern in this case.. -
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
Before I get into the thick of it... and since I don't 100% know what I'm doing... These are the templates I've added for my single test switch:
I seem to be getting a lot of data coming in now for my N3048P switch. I am going to go ahead and set the rest of my 7 switches up with the same templates.. or should I only be using one? I don't want to bog stuff down by sending too much info, if that's even a concern in this case..You can use multiple templates, it will just get the data from each template.
-
@dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
Before I get into the thick of it... and since I don't 100% know what I'm doing... These are the templates I've added for my single test switch:
I seem to be getting a lot of data coming in now for my N3048P switch. I am going to go ahead and set the rest of my 7 switches up with the same templates.. or should I only be using one? I don't want to bog stuff down by sending too much info, if that's even a concern in this case..You can use multiple templates, it will just get the data from each template.
So do you think that's good enough to get as much useful data as possible? I am interested in monitoring the port-channel trunk links between switches in an attempt to identify any possible congestion issues, etc.