Ad Widget

Collapse

Error to obtain OS details from hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swordfish77
    Junior Member
    • Feb 2025
    • 3

    #1

    Error to obtain OS details from hosts

    Hello guys, new here, try to figure out which monitoring system is good for me, Zabbix vs Checkmk. Until Zabbix was a winner but I encountered a problem and I cannot find a solid solution no matter how much searching about. How can I solve this?
    P.S. - I read on other sites that someone use it a line (zabbix ALL=(ALL) NOPASSWD: ALL) but seems that is not ok because results in a security flaw.
    BIG thank you!
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    That is an eroor message from sudo on the pic... I guess the required sudo command is not configured on the server/proxy, where this command is executed....
    Code:
    sudo /usr/bin/nmap -O {HOST.CONN}
    So you need to configure sudo for user zabbix, with no passwd asked, so it can execute that command as root (nmap requires it, I think) ({HOST.CONN} will be replaced with that hosts IP or name, whichever is marked as "connect to" in hosts config). And of course, make sure you have nmap installed ..

    (zabbix ALL=(ALL) NOPASSWD: ALL) is definitely not the way to go..

    Comment

    Working...