Announcement

Collapse
No announcement yet.

Email sending with date 1969

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Email sending with date 1969

    I posted this in the wrong forum...

    1. No queue showing up, not that it matters, but I hear everyone mentioning it but mine is completly empty

    2. EMails being sent with date 12/31/1969 7:00PM, date on the server is fine. All Zabbix apps are running, Suckerd and Trapperd as well as Agentd on main server)

    Number 1 is not really a concern as everything works just fine, however, the email date is a big issue. Please help.

    #2
    Greetings,
    Originally posted by Lostnode
    1. No queue showing up, not that it matters, but I hear everyone mentioning it but mine is completly empty
    This is not really that big an issue, depending on your server and network performance. For example, I am monitoring roughly 200 machines with roughly 3K items on one of my installs. The Zabbix server, which also hosts the MySQL DB, is an old dual PIII-733, with 512M RAM, and it is not uncommon for the queue to be zero.

    What the queue is showing is simply how many checks Zabbix is going to be processing in the next 5 / 10 / 30 seconds, 1 / 5 minutes or 5+ minutes. As such, depending on the periodicity of your checks it's not uncommon for this to show all zeros at some times and 1K+ at other times.

    To be honest, the only thing that should be of concern here is if the queue grows unexpectedly, or sits at a high number for long periods of time. This generally indicates that your Zabbix server is unable to maintain the operational tempo you have it running at.

    2. EMails being sent with date 12/31/1969 7:00PM, date on the server is fine. All Zabbix apps are running, Suckerd and Trapperd as well as Agentd on main server)
    This is generally a system level configuration problem. Zabbix itself, uses the local system time for all time stamps. When it generates an email however, it uses the local time for data, but the email server actually creates the time stamps for the emails themselves. Right off the bat, I would suggest checking the time sync on your Zabbix Server, your mail server, and even your MySQL server, just in case.
    Unofficial Zabbix Developer

    Comment


      #3
      Originally posted by James Wells
      This is generally a system level configuration problem. Zabbix itself, uses the local system time for all time stamps. When it generates an email however, it uses the local time for data, but the email server actually creates the time stamps for the emails themselves. Right off the bat, I would suggest checking the time sync on your Zabbix Server, your mail server, and even your MySQL server, just in case.
      Well, the mail server/mysql server/Zabbix server are one and the same, here is the date readout

      Code:
      [email protected] [~]# date
      Fri Nov 11 09:17:56 EST 2005
      [email protected] [~]#
      Now does each application run with its own time? For instanc the emails are sent though localhost, would my SMTP server not be synced for any reason with the main system time, if so how would I check.fix it? And if this were the case, would every email I send though this server (my main EMail server) not have the same date and time on it as well..?

      Comment


        #4
        Please do help as this is an urgent matter. We go into production in less than a month and I have to test to make sure this product works... if I cannot find out the times via email this is not gonna work... there has to be a rational explanation as to why it out emails aith a time stamp of 12/31/1969 7:00PM.

        Here are some details to help you out

        OS: RHE 3
        System TIme is correct
        NET SNMP is current version
        EXIM is being used as SMTP server
        cPanel is installed on the machine

        Please someone has had to have this happen, either durning testing or something...

        Is there any other checks you would like me to do ? Let me know so I can resolve this quickly. This product is awsome, I love it, but this is a major fucntion for audits that I need to keep track of. No other product is this organized, and if I have to go else where it will be MY loss. Please help!
        Last edited by Lostnode; 13-11-2005, 05:54.

        Comment


          #5
          Ok, how about a work around? SOme how get the time stamp into the message? Like it does for the alerts them selves... atleast this way I can tell via the message what the time was...

          Also, this being an email issue... my triggers which are set up with this as a message (for example)

          Code:
          Host status: {PlutoniumDomains.com:status.last(0)}  (latest value)
          Host status: {PlutoniumDomains.com:status.max(300)} (maximum value for last 5 min)
          Host status: {PlutoniumDomains.com:status.min(300)} (minimum value for last 5 min)
          However my message is always the exact same as the subject. It does not give me the latest data. Is this usual?


          And would it all have to do with the fact that I have it set up for scope being all triggers? Could that have effected the display and the date? I will test and post my ow results as this stread seems to be dead other than my posts.
          Last edited by Lostnode; 14-11-2005, 02:01.

          Comment


            #6
            When you change the scope beyond a single trigger, it seems that zabbix can no longer autotranslate any items that may be included in the message body for an action so it just sends a generic body.

            as for the email time.... can you send mail from the command prompt, and does it send with the correct time. This simply doesn't sound like a zabbix issue.

            Comment


              #7
              Your right, it just sends a generic message which means I will prolly redo all the actrionsthis week.

              However sending mail directly from the ssh prompt results in an email with the correct time. I have tried both as the root user and the zabbix user, both were time stamped correctly. How does Zabbix send mail? using sendmail commands, the php mail function, or using a script to send it via the bash mail command?

              All time stamps on the server that I could find are all corect...
              Last edited by Lostnode; 14-11-2005, 19:04.

              Comment


                #8
                Do you think that would be fixed in 1.1? If so I will update.

                Comment


                  #9
                  Here is what gets me though... the header has the received and delivery time correct.

                  Delivery time: Tue, 15 Nov 2005 04:06:10 -0500
                  Received: from [127.0.0.1] (helo=localhost ident=[U2FsdGVkX19mrcn83FnNiDcJ+TXz6zRRlWGRSA94ms0=]) by genesis.digitalfingerprint.net with smtp (Exim 4.52) id 1EbwlP-0004rh-4v for [email protected]; Tue, 15 Nov 2005 04:06:03 -0500

                  But it still shows up as 1969.....

                  Comment


                    #10
                    Squirellmail doesn't give it a date of 1969, it just says Unknown date. Does this make any sense? Its not beig sent with a date?

                    Comment


                      #11
                      lostnode, honestly.. I have no idea. if the headers are right.. try a different email client? beats me man, it should be working fine.

                      I don't have a valid 1.0 environment here anymore and it would take me a fe w hours to put one together, your best bet is to try a 1.1 beta build and see if you have an issue still.

                      Comment


                        #12
                        From: [email protected]
                        Subject: Server PlutoniumDomains.com is unreachable
                        Date:
                        To: [email protected]

                        Something has gone wrong!!!

                        ------Latest data------

                        Host status: 2 (latest value)
                        Host status: 2 (maximum value for last 5 min)
                        Host status: 2 (minimum value for last 5 min)

                        ---------End--------
                        A print out... showing NO DATE???? How is this possible?

                        Comment


                          #13
                          Originally posted by elkor
                          lostnode, honestly.. I have no idea. if the headers are right.. try a different email client? beats me man, it should be working fine.

                          I don't have a valid 1.0 environment here anymore and it would take me a fe w hours to put one together, your best bet is to try a 1.1 beta build and see if you have an issue still.
                          Thats what I was thinking... I may try it out in the next few days.

                          Comment

                          Working...
                          X