Ad Widget

Collapse

Zabbix's user rights for network

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samuel2202
    Junior Member
    • Feb 2010
    • 5

    #1

    Zabbix's user rights for network

    Hello,

    I discovered Zabbix yesterday and it is a really great tool! The installation is easy, but I have a little problem with zabbix_agentd: it doesn't have the rights to have network informations, actually, that is what I thing...

    system:~# /etc/zabbix/sbin/zabbix_agentd -t "net.if.out[lo,bytes]"
    net.if.out[lo,bytes] [u|32465416]
    system:~# su - zabbix
    zabbix@system:~$ /etc/zabbix/sbin/zabbix_agentd -t "net.if.out[lo,bytes]"
    net.if.out[lo,bytes] [m|ZBX_NOTSUPPORTED]

    I've created the "zabbix" user with this command:
    useradd \
    --base-dir=$zabbix_path \
    zabbix

    Maybe I have to create a system user..? I don't know.
    Is there anybody who can help me?

    Thanks a lot!
    Samuel.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    most likely selinux/apparmour restrictions - either disable these subsystems, or configure to allow access for zabbix agent daemon
    Zabbix 3.0 Network Monitoring book

    Comment

    • samuel2202
      Junior Member
      • Feb 2010
      • 5

      #3
      And my question is: how can I configure my Debian 5 (GRSecurity-compiled kernel) to allow my user "zabbix" to access to these data?

      Thanks,

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        that would be a grsecurity question. once you figure that out, would be helpful to document at http://www.zabbix.com/wiki/
        Zabbix 3.0 Network Monitoring book

        Comment

        Working...