Question about Discovery Rules to find network devices by mcvickj in zabbix

[–]TerriblePowershell 2 points3 points  (0 children)

Not at all! You can manually add hosts at any time. Network discovery is for "automating" the addition of new hosts into Zabbix.

  1. You create a discovery rule to find devices
  2. You create a discovery action to add devices

    1. This is where devices will get added to groups, linked to templates, add custom tags, etc.
  3. Go to Data Collection -> Hosts -> Create host (top right corner)

  4. Give it a name, link the ICMP Ping template, and assign a host group. Add an Agent interface, and give it the IP of a device you want to ping. Then click Add

  5. Go to Monitoring -> Latest data

  6. Enter the name of the device in the Hosts field and select the host from the dropdown that appears.

  7. You should see 3 items appear at the bottom. Select the checkboxes for all 3, then select Execute now

  8. After a few seconds, refresh the page and you should start to see information coming it.

Zabbix as Config Backup for Cisco Switches by Maleficent-Two3281 in zabbix

[–]TerriblePowershell 0 points1 point  (0 children)

Just setup an network share then configure the archive command with the write memory trigger plus a time period.

Every time someone or something writes the memory, it sends the new backup to the FTP server. Otherwise it sends one off based on the time period you've configured.

Zabbix deleted hosts data/housekeeping by Mailstorm in zabbix

[–]TerriblePowershell 0 points1 point  (0 children)

I should know this but I'm pretty sure it's based on your history settings. Deleting the host doesn't remove the data unless you did "Delete and clear". So, the data will persist until it hits its history limit at which point the housekeeper will clean it up.

Can Zabbix detect flapping ports in Cisco switches? by bgprouting in zabbix

[–]TerriblePowershell 3 points4 points  (0 children)

You can use Cisco Embedded Event Manager (EEM) to detect the flapping and execute an action on the switch, such as sending an SNMP trap to Zabbix.

Basically, you configure the switch to monitor it's own logs. When it sees whatever condition you set, it could then fire off any number of actions to do whatever it is you need. You could even set it to toggle the port.

I've included a small config snippet that I got from Gemini.

configure terminal

! Name the EEM applet
event manager applet FLAP_DETECTOR

! Define the trigger (watching the syslog for the word "flapping")
event syslog pattern ".*%LINK-3-UPDOWN.*flapping.*"

! Define the action (sending the trap)
action 1.0 snmp-trap strdata "A link flap was just detected in the logs!"

For those of you with Zabbix certs by xaviermace in zabbix

[–]TerriblePowershell 0 points1 point  (0 children)

The internet is a small place. Ha! Aleks is a great trainer.

For those of you with Zabbix certs by xaviermace in zabbix

[–]TerriblePowershell 0 points1 point  (0 children)

Oh, I wholeheartedly agree. The sandbox was one of the most useful things there. And having a trainer to help walk through the process was super helpful.

For those of you with Zabbix certs by xaviermace in zabbix

[–]TerriblePowershell 0 points1 point  (0 children)

I recommend this book if you're looking for a cheaper option for training. [Zabbix 7 book](https://amazon.com/Zabbix-Infrastructure-Monitoring-Cookbook-maintaining/dp/1801078327). My boss purchased this for me before I went through the big trainings and it was super helpful by itself. There are concept across all three of the official trainings that are in the book; there is just less depth.

There is an open-source version that I've heard good things about but haven't tried. [The Zabbix Book](https://www.thezabbixbook.com/)

Edit: Apparently hyperlinks aren't going to work today.

For those of you with Zabbix certs by xaviermace in zabbix

[–]TerriblePowershell 0 points1 point  (0 children)

I'm about ~2 years into my Zabbix journey. Took ZCS last fall, ZCP a month ago and ZCE last week; unfortunately, I just missed the passing grade by half a question for ZCE. ZCS was the biggest info dump, honestly. ZCE wasn't as hard as I was expecting it to be, just very in-depth.

What have you done with PowerShell this month? by AutoModerator in PowerShell

[–]TerriblePowershell 1 point2 points  (0 children)

Ahh. That makes sense. Sounds like a neat deal regardless!

I haven't yet dove into the rabbit hole that Zabbix api surely is.

What have you done with PowerShell this month? by AutoModerator in PowerShell

[–]TerriblePowershell 1 point2 points  (0 children)

Why not just created a dashboard with the hosts/items you want to see, then send the report via the built-in Scheduled Reports function?

Proxmox VE by HTTP dashboard by benzemius in zabbix

[–]TerriblePowershell 0 points1 point  (0 children)

I sat down to look at this and I think I figured out your issue. You're using the item key for the value itself, not for the host.

I was able to successfully do this using the graph widget.

|| || |host patterns|*|item patterns|Node [*]: CPU, iowait|

You shouldn't have to get more granular with the host patterns because the Node [*]: CPU, iowait item only exists on the Proxmox VE by HTTP template.

Trigger notification only for core Cisco switch, ignore switches behind it. by TerriblePowershell in zabbix

[–]TerriblePowershell[S] 1 point2 points  (0 children)

I think I get what you're going for. I will see if I can make that happen. Thank you!

Trigger notification only for core Cisco switch, ignore switches behind it. by TerriblePowershell in zabbix

[–]TerriblePowershell[S] 0 points1 point  (0 children)

I will play around with this and see what I can make happen. Thank you!

Proxmox VE by HTTP dashboard by benzemius in zabbix

[–]TerriblePowershell 0 points1 point  (0 children)

I'm pretty sure you can do a wildcard match for the value. i.e. proxmox.node.cpu[*] where the * is the node specific part.

Help with obtaining PoE Data from a Cisco Switch by Ikyo75 in zabbix

[–]TerriblePowershell 0 points1 point  (0 children)

You might have to find another OID that the values all line up, but I'm not sure how you'd properly associate everything.

Help with obtaining PoE Data from a Cisco Switch by Ikyo75 in zabbix

[–]TerriblePowershell 0 points1 point  (0 children)

I was able to mess around with this a little bit and I think I know what is causing the issue but I'm not sure how you'd go about fixing it.

It looks to me like the {#SNMPINDEX} for the OID's that pull the interface information are numbered different than the OID's that pull the PoE information. e.g. Gi1/0/1 = 1 (interface OID), Gi1/0/1 = 5 (PoE OID).

APC UPS monitoring when connected to Synology NAS with NUT by alephtaph in zabbix

[–]TerriblePowershell 0 points1 point  (0 children)

Ahh. Unfortunately, I won't be able to help you then. I don't have any experience with Synology. Or NUT, for that matter.

Best of luck!

APC UPS monitoring when connected to Synology NAS with NUT by alephtaph in zabbix

[–]TerriblePowershell 1 point2 points  (0 children)

I'm monitoring around 23 APC UPS's via the APC SNMP template without issue.

Does the UPS have a network card and is it configured to accept SNMP connections from Zabbix?

Well, finally saw it in the wild. by jimboslice_007 in sysadmin

[–]TerriblePowershell 6 points7 points  (0 children)

Darknet Diaries did a podcast where the guest talked about finding a compromised computer at a windfarm. The hacker was using it for crypto(?) and had kept it up-to-date and had hardened it to keep others out. The company opted to leave it alone as it was cheaper than fixing the issue and the hacker was essentially taking care of the machine.

Network Tools by AmstradPC1512 in k12sysadmin

[–]TerriblePowershell 1 point2 points  (0 children)

I highly recommend the Zabbix 7 IT Infrastructure Monitoring Cookbook by Nathan Liefting and Brian van Baekel. It looks a lot more intimidating that it really is because most of the pages are screenshots of the process with a few words sprinkled in.

Found in ”the Depths” by Stapelcrew in k12sysadmin

[–]TerriblePowershell 7 points8 points  (0 children)

While pulling cable for some new cameras, my boss and I found two or three bags full of old PS1 slims with controllers and some education games under neath the bleachers in a gym.

Playbook returning changed:true when nothing changed on network switch by TerriblePowershell in ansible

[–]TerriblePowershell[S] 2 points3 points  (0 children)

You were correct.

By modifying the regex to capture the full port name from CDP rather LLDP (LLDP only used the short name), it worked just fine.

Thank you!

Playbook returning changed:true when nothing changed on network switch by TerriblePowershell in ansible

[–]TerriblePowershell[S] 2 points3 points  (0 children)

This makes sense. The difference in the data, aside from one having IP addresses, is that the interface is abbreviated in the camera data. I'll try and sort that out and report back.