Ad Widget

Collapse

Fully Custom Item?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Joshua Enfield
    Junior Member
    • Jan 2011
    • 1

    #1

    Fully Custom Item?

    I have two NICs on my zabbix server. I wish to monitor hosts using both NICs (one is on a privileged subnet while the other NIC is a "external subnet.") The point of this is to ensure internal services stay internal.

    My solution to this was to use nmap to select the interface and check ports, and then somehow wrap this with something compatible with Zabbix.

    The "Items" would be an appropriate place to add this, but I do not know how to extend the base set of Items. How would I go about this?
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    I wrote an agent to handle packet sniffing with a custom Ruby agent. I think there is a post for it in the forum somewhere. I'll try and dig out the code again sometime and post it in my subversion repo.

    As for creating a special Item type, I don't really see a reason for that as you can overload the existing Zabbix item quite well.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    Working...