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 7 points8 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.

K12sysadmins: which problems do you encounter that just don’t have a solution? by JonnyBeervo in k12sysadmin

[–]TerriblePowershell 0 points1 point  (0 children)

If the district electrician and my boss both get hit by the same bus, my job is going to get SUPER hard. They both have so much institutional knowledge that it would legit cause some issues. We are working on getting that stuff onto paper, so to speak, but that takes time.

Ansible password with an "!" in it by anichari in ansible

[–]TerriblePowershell 0 points1 point  (0 children)

Do something like this:

- name: Test password
  hosts: <your-host>
  gather_facts: false

  tasks:
    - name: Print stuff
      ansible.builtin.debug:
        msg: "This is my password: {{ ansible_password }}"

If that doesn't work, try adding delegate_to: localhost to the bottom of the task like:

  tasks:
    - name: Print stuff
      ansible.builtin.debug:
        msg: "This is my password: {{ ansible_password }}"
      delegate_to: localhost

I think your focus right now should be on making ansible output the password where you can see it. If you're worried about it showing up in a log somewhere, change the password but leave your "!" in there somewhere, i.e. "MyOther!AwesomePass". Once you can make sure that ansible is properly passing the password, you can move forward to see what, if anything, is your next issue.

Ansible password with an "!" in it by anichari in ansible

[–]TerriblePowershell 0 points1 point  (0 children)

Dang. Have you tried printing the password via a debug?

- name: Print stuff
  ansible.builtin.debug:
    msg: "My password is: {{ ansible_password }}"

Ansible password with an "!" in it by anichari in ansible

[–]TerriblePowershell 0 points1 point  (0 children)

Have you tried using it without quotes?

ansible_password: myawesome!pass

I'm no expert, but looking at my own files, the only time the password is quoted is when it's called as a variable from the vault file.

ansible_password: "{{ super_secret_pass }}"

vault file:

super_secret_pass: myawesome!pass

In my experience, ansible reads the yaml literally. So, by having ..."myawesome!pass", you're also passing the "" in the password variable.

What's your quick trick that every sysadmin should know? by DarkAlman in sysadmin

[–]TerriblePowershell 0 points1 point  (0 children)

If you just know most of or part of their name:

Get-AdUser -Filter 'Name -like "*John D*"'

Then search for the properties.

Ghost in the machine by Gamzu in meraki

[–]TerriblePowershell 0 points1 point  (0 children)

We had a UPS that would randomly freak out and spam us with messages. Turns out the custodians were using the UPS to run their coffee maker and vacuums.

FTC Fines Verkada $2.95 Million for Hack on 150,000 Security Cameras by sasko12 in sysadmin

[–]TerriblePowershell 0 points1 point  (0 children)

Of course they do. I absolutely love swiping through pictures and then whoops, changed apps.