Ad Widget

Collapse

nagios to zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • szaharici
    Junior Member
    • Nov 2011
    • 4

    #1

    nagios to zabbix

    Hey guys,

    I am a nagios user considering a switch to Zabbix. I have started using Zabbix and I like it very much especially the distributed monitoring model, the autodiscovery feature and the powerful API.

    Now I am trying to translate some nagios checks into zabbix checks and there are some concepts that I do not understand very well yet. For instance let's take a custom nagios check that runs on the monitoring server that is checking an application on a given server.
    The script let's say /opt/scripts/check.sh takes 2 arguments, the hostname(the application server to be checked) and another value.

    How would I go about and create an item similar to this into zabbix ? I managed to run the script locally on the server that is monitored and have the zabbix agent report it back to the monitoring server but I want the monitoring server to do an active check on that.

    Thanks a lot for your help
  • szaharici
    Junior Member
    • Nov 2011
    • 4

    #2
    I found that I was actually looking for External checks covered in section 4.19.10 of the manual

    Comment

    • Colttt
      Senior Member
      Zabbix Certified Specialist
      • Mar 2009
      • 878

      #3
      first create a userparameter on the monitored server in the zabbix-agentd.conf
      Code:
      UserParameter=my.check[*],/opt/scripts/check.sh $1 $2
      restart the agent
      ..
      in zabbix server create an item like this:
      my.check[option1,option2]

      finish..

      or take a look at this page: http://www.zabbix.com/documentation/...ser_parameters
      Debian-User

      Sorry for my bad english

      Comment

      Working...