Ad Widget

Collapse

Trigger name or trigger comments with macro's

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • subba5678
    Senior Member
    • May 2010
    • 132

    #31
    Hi,
    Thanks for the reply , i will test this in the next week and will get back to you once its Completes.

    Thanks,
    Subbu

    Comment

    • bashman
      Senior Member
      • Dec 2009
      • 432

      #32
      For more information about monitoring Windows with Zabbix 1.8:

      http://www.packtpub.com/article/moni...ith-zabbix-1.8
      978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

      Comment

      • subba5678
        Senior Member
        • May 2010
        • 132

        #33
        Hi,
        Can you please post me incremental backup script to take the Zabbix Database backup as i am using mysql database . Please help me


        Thanks,
        Subbu

        Comment

        • bashman
          Senior Member
          • Dec 2009
          • 432

          #34
          Code:
          mysqldump --password=$PASSWORD -u $USUER --databases $DB --opt --flush-logs 2>>$LOGS/backup_$DATE.log 1>>$DIR/$HOST/$DB-$DATE
          gzip $DIR/$HOST/$DB-$DATE
          978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

          Comment

          • subba5678
            Senior Member
            • May 2010
            • 132

            #35
            Hi,
            Thanks for the reply . i Will test and get back to you , meanwhile i had one more question , I added one of the linux host through SNMPV1 Enabled and added the template Linux Serever but its showing Unavilable i didnt installed Zabbix Agent on it . Please find the attchment which i used to add the linux host through SNMP V1 , if i am wrong with the procedure please help me out how to monitor the linux host through SNMP V1 without installing the Agent .


            Thanks,
            Subbu
            Attached Files

            Comment

            • bashman
              Senior Member
              • Dec 2009
              • 432

              #36
              Your attachment seems ok, but you most have compiled zabbix --with-net-snmp.

              You most know your snmp oid, so play with:

              Code:
              snmpwalk -v 1 -c snmpread <host or host IP>
              and

              Code:
              snmpget -On
              Take a look at the documentation: http://www.zabbix.com/documentation/.../advanced_snmp
              978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

              Comment

              • subba5678
                Senior Member
                • May 2010
                • 132

                #37
                How to Monitor an Application

                Hi,
                I want to monitor a Windows Process which comes up in the task manager for that i am using a template proc.num[] (For Reference Please find the attached process.exe snapshot). But My Organisation is using our own application Called As Autostarter.exe . In Autostarter.exe there 12 sets Each and every Set is running with the Terminal Address (T.A) (For Reference Please find the attached Autostarter snapshot ). I want to create a Trigger if any one of the set is not running . For that i created a trigger with the below parameter . If i am wrong with this please help me out . Also the sets which are present in the Autostarter are Running with the Terminal Address in the work mode as "sleeping" ( i.e The set is running fine without any issue) . I want to create a trigger if the WorkMoode changes from " Sleeping " . (For Reference Please find the attached Workmode snapshot where you can find the TA as well as workmode) . If we restart the set, the set name wont be changed but only the T.A Number will be change .If it is possible to monitor ,kindly please post me the parameter .

                {BLR-NOC-06roc.num[AutoStarter.exe].last(0)}<12 {In correx Autostarter if the sets are runing lessthan 12 i need to trigger a alert}


                Thanks,
                Subbu
                Last edited by subba5678; 07-09-2010, 14:15.

                Comment

                • bashman
                  Senior Member
                  • Dec 2009
                  • 432

                  #38
                  I'm not sure if that will work, if you have problems with proc.num[AutoStarter.exe], try service_state[AutoStarter.exe].

                  Service state parameter most be the same as service name.
                  978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

                  Comment

                  • subba5678
                    Senior Member
                    • May 2010
                    • 132

                    #39
                    Hi,
                    Is there any way that will work . Can you please post a doc how to update 1.81 to 1.83 as because i am using 1.81

                    Thanks,
                    Subbu

                    Comment

                    • bashman
                      Senior Member
                      • Dec 2009
                      • 432

                      #40
                      Originally posted by subba5678
                      Can you please post a doc how to update 1.81 to 1.83 as because i am using 1.81
                      1. Check your PHP configuration:

                      Code:
                      vim /etc/php5/apache2/php.ini
                      
                      memory_limit = 256M      ; Maximum amount of memory a script may consume (16MB)
                      ; Maximum size of POST data that PHP will accept.
                      post_max_size = 32M
                      2. Stop Server:
                      Code:
                      /etc/init.d/zabbix-server stop
                      /etc/init.d/zabbix-agent stop
                      /etc/init.d/apache2 stop
                      /etc/init.d/mysql stop
                      3. Do backup of your DB, binaries, php files and Zabbix configuration with xml export.

                      4. Compile:

                      Code:
                      cd /tmp
                      wget http://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/1.8.3/zabbix-1.8.3.tar.gz/download
                      cd zabbix-1.8.3
                      gunzip zabbix-1.8.3.tar.gz && tar -xvf zabbix-1.8.3.tar
                      ./configure --enable-server --enable-proxy --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurl --with-ssh2 --with-openipmi --with-ldap
                      make install
                      5. Check zabbix_server.conf new parameters:

                      Change /etc/zabbix to your zabbix_server.conf path.

                      Code:
                      mv -v /etc/zabbix/zabbix_server.conf /etc/zabbix/zabbix_server.conf.old-1.8.2
                      cp -v /tmp/zabbix-1.8.3/misc/conf/zabbix_server.conf /etc/zabbix/
                      6. Edit your configuration:
                      Code:
                      vi /etc/zabbix/zabbix_server.conf
                      7. Install new frontend:

                      Code:
                      cp -av /tmp/zabbix-1.8.3/frontends/php /usr/share/zabbix-1.8.3
                      rm -v /usr/share/zabbix
                      ln -sv /usr/share/zabbix-1.8.3 /usr/share/zabbix
                      8. Start DB and Web Server:

                      Code:
                      /etc/init.d/mysql start
                      /etc/init.d/apache2 start
                      9. Go to zabbix url and follow the install steps.

                      10. Start Zabbix Server:

                      Code:
                      /etc/init.d/zabbix-agent start
                      /etc/init.d/zabbix-server start
                      For more info: http://www.zabbix.com/documentation/...tion/upgrading
                      978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

                      Comment

                      • subba5678
                        Senior Member
                        • May 2010
                        • 132

                        #41
                        Hi Bashman ,
                        Thanks for the Post . I will update the zabbix once i get free time . I want to create a slave database (Standby database) for the master zabbix server database but in the different host, that needs to replicate to the slave (standby) as because if master Db gets crash the zabbix needs to work from slave . so that there wont be any downtime. Please help me in Configuring .


                        Thanks,
                        Subbu

                        Comment

                        • subba5678
                          Senior Member
                          • May 2010
                          • 132

                          #42
                          Hi,
                          I am using the below script for database backup . I am using MYSQL D.B So for testing i will remove MysqlDatabase , as well as zabbix installation . and then i will install zabbix as well as Mysq databases .With the zabbix.dmp (which is taken backup) can i restore it ? I want to test it as because incase if database get crashed it will help me in restoring . Please help me out in this as it is going to live production.

                          Backup (Using this script)
                          mysqldump zabbix > zabbix.dmp

                          Restore (Using this script)

                          mysql zabbix < zabbix.dmp

                          My Backup File

                          zabbix.dmp.201009212019.gz


                          Thanks,
                          Subbu

                          Comment

                          • bashman
                            Senior Member
                            • Dec 2009
                            • 432

                            #43
                            Originally posted by subba5678
                            Hi Bashman ,
                            Thanks for the Post . I will update the zabbix once i get free time . I want to create a slave database (Standby database) for the master zabbix server database but in the different host, that needs to replicate to the slave (standby) as because if master Db gets crash the zabbix needs to work from slave . so that there wont be any downtime. Please help me in Configuring .


                            Thanks,
                            Subbu
                            So, you want a high availability MySQL Clustering with DRDB Heartbeat?.

                            I haven't done this before, so I can't help you.
                            978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

                            Comment

                            • bashman
                              Senior Member
                              • Dec 2009
                              • 432

                              #44
                              Originally posted by subba5678
                              Hi,
                              I am using the below script for database backup . I am using MYSQL D.B So for testing i will remove MysqlDatabase , as well as zabbix installation . and then i will install zabbix as well as Mysq databases .With the zabbix.dmp (which is taken backup) can i restore it ? I want to test it as because incase if database get crashed it will help me in restoring . Please help me out in this as it is going to live production.

                              Backup (Using this script)
                              mysqldump zabbix > zabbix.dmp

                              Restore (Using this script)

                              mysql zabbix < zabbix.dmp

                              My Backup File

                              zabbix.dmp.201009212019.gz


                              Thanks,
                              Subbu
                              So, if you want to test if backup can be restored without any problem, I would test on a testing host.
                              978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

                              Comment

                              • subba5678
                                Senior Member
                                • May 2010
                                • 132

                                #45
                                Hi Bashman,
                                Thanks for the reply , Please update me once u complete the testing

                                Thanks,
                                Subbu

                                Comment

                                Working...