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.
-
@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.
-
@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??:
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.
You likely can monitor what you want with something like Template SNMP Generic.
-
@dafyre 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??:
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.
You likely can monitor what you want with something like Template SNMP Generic.
Are you talking about "Template Module Generic SNMPv2" ? And is that going to get my all network traffic, switch resource info (cpu, power, etc) as well as everything else?
-
Well after adding the rest of my switches, Zabbix decided to take a crap... the configuration cache was topping out. I increased the Cachesize from 8 to 16 but things seem to have stopped working anyway... after another day of futile struggling, I decided to just shut down the system and give LibreNMS a try.
-
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
Well after adding the rest of my switches, Zabbix decided to take a crap... the configuration cache was topping out. I increased the Cachesize from 8 to 16 but things seem to have stopped working anyway... after another day of futile struggling, I decided to just shut down the system and give LibreNMS a try.
That's bizarre... I've got almost 100 servers half a dozen hosts and dozens of switches reporting to our zabbix server.
-
@coliver 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??:
Well after adding the rest of my switches, Zabbix decided to take a crap... the configuration cache was topping out. I increased the Cachesize from 8 to 16 but things seem to have stopped working anyway... after another day of futile struggling, I decided to just shut down the system and give LibreNMS a try.
That's bizarre... I've got almost 100 servers half a dozen hosts and dozens of switches reporting to our zabbix server.
I know.. At first I figured it was because I was using the 4 different templates and after I added all 8 switches, it was being over-loaded. But then I realized that it's probably normal to have hundreds of systems sending data to Zabbix, so that shouldn't be the issue.. well it's par for the course for me.
I just got LibreNMS up and running and it's working like a charm. Got all my switches added and I'm watching beautiful graphs going before my eyes. It just seems to work. Zabbix was a mess...
-
@dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:
@coliver 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??:
Well after adding the rest of my switches, Zabbix decided to take a crap... the configuration cache was topping out. I increased the Cachesize from 8 to 16 but things seem to have stopped working anyway... after another day of futile struggling, I decided to just shut down the system and give LibreNMS a try.
That's bizarre... I've got almost 100 servers half a dozen hosts and dozens of switches reporting to our zabbix server.
I know.. At first I figured it was because I was using the 4 different templates and after I added all 8 switches, it was being over-loaded. But then I realized that it's probably normal to have hundreds of systems sending data to Zabbix, so that shouldn't be the issue.. well it's par for the course for me.
I just got LibreNMS up and running and it's working like a charm. Got all my switches added and I'm watching beautiful graphs going before my eyes. It just seems to work. Zabbix was a mess...
Glad you got something to work!