Ad Widget

Collapse

Special use of zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • teleneko
    Junior Member
    • Oct 2004
    • 20

    #1

    Special use of zabbix

    Hi all,

    I would like to monitor some of my hosts in an special way. Because of some reasons I only can comunicate with them by email so I will gather information through this media. My idea is use some scripts to put this information in the zabbix database and then use alarms an graphing tools from zabbix like with the other host, but I am not sure if it is possible. Any ideas?

    R-ds.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    I would suggest using combination of procmail, zabbix_sender, and zabbix_trapperd. Should be quite straight forward.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • teleneko
      Junior Member
      • Oct 2004
      • 20

      #3
      Re:

      What I have pIanned is receive a mail with all the data interesting for me in a text archive, use procmail to extract the file and then a perl script to extract the relevant data wich can be easily stored in a DB. The system is half developed because we have been using this idea for two years, but we want to integrate it in a monitoring system as zabbix.

      Regarding your suggestion, if I have understanded rigth, what I have to to do is use zabbix_sender to introduce information on zabbix db instead of putting it directly in the db. I look for information about zabbix_sender but I do not find any (only inthe forum).

      R-ds.
      Last edited by teleneko; 16-11-2004, 20:36.

      Comment

      • LEM
        Senior Member
        Zabbix Certified Specialist
        • Sep 2004
        • 112

        #4
        Originally posted by teleneko
        [...]
        Regarding your suggestion, if I have understanded rigth, what I have to to do is use zabbix_sender to introduce information on zabbix db instead of putting it directly in the db. I look for information about zabbix_sender but I do not find any (only inthe forum).
        Have a look on the manual: you'll find some more info.

        Example of use: I wanted my backups scripts to inform ZABBIX of the correctness of the backup. So, I :
        . used a custom trigger/element parameter named myscript-correct collected via zabbix trapperd
        . on the host running the script, used zabbix_sender to send the info to the zabbix server trapperd daemon

        To do so, I added to my scripts :
        zabbix_sender zabbixservername 10001 myhost:myscript-corret 0
        (0 if ok, else 1)

        Then, on a status 1, I places trigger and actions to mail to sysadmin something is wrong out there...

        Simple and stupid, but ok for my usage. Hope this'll help you.

        Cheers,
        --
        LEM

        Comment

        • teleneko
          Junior Member
          • Oct 2004
          • 20

          #5
          Re:

          Hi,

          I though that the online manual was equal to the pdf manual, but I have read the pdf and found more information.

          Thank you very much because your suggestion and example will be very useful, in some cases and for new developments. But I have some developed software and I want to use it to directly put information in the db, if posible.

          R-ds.

          Comment

          Working...