Ad Widget

Collapse

command-line import/export facility dynamic items, triggers and graphs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jix
    Member
    • Feb 2011
    • 73

    #76
    !

    i built my custom php script that runs every night and try to use perl script and import xml files to my zabbix system, so every graph description will be up to date

    Comment

    • dima_dm
      Senior Member
      • Dec 2009
      • 2697

      #77
      Originally posted by jix
      i built my custom php script that runs every night and try to use perl script and import xml files to my zabbix system, so every graph description will be up to date
      Please add script to your post.
      Do you use Zabbix API?
      Do you see graphs with old description (new graphs is added, but old not deleted) ?

      Comment

      • jix
        Member
        • Feb 2011
        • 73

        #78
        !

        Originally posted by dima_dm
        Please add script to your post.
        Do you use Zabbix API?
        Do you see graphs with old description (new graphs is added, but old not deleted) ?
        No API

        Yes, i updated previous graphs with new title and prevent zabbix to add duplicate graphs

        Comment

        • r0k5t4r
          Member
          • Jun 2009
          • 91

          #79
          Cool stuff. Can you upload your script?

          Comment

          • r0k5t4r
            Member
            • Jun 2009
            • 91

            #80
            It looks like your script is not yet aware of >4Gbit Interfaces / PortChannels?

            I have a Portchannel with 8 1Gbit Interfaces and it is shown as 4.29Gbit. This is because it is not using the IfHighSpeed OID. Any plans to change this?

            Currently I manually changed the interfaces as I'm not aware if chaning all interfaces to this will break the graphs.

            Regards,
            Oliver
            Last edited by r0k5t4r; 03-01-2013, 16:46.

            Comment

            • georgew
              Member
              • Mar 2008
              • 50

              #81
              Originally posted by jix
              No API

              Yes, i updated previous graphs with new title and prevent zabbix to add duplicate graphs
              How does that behave in my screens? Do the screens continue to work, and just the descriptions are updated?

              Comment

              • k0k
                Junior Member
                • Apr 2012
                • 9

                #82
                Maybe you should upload new version on Github?


                Originally posted by dima_dm
                17.03.2010 New version
                FAN monitoring is added
                Device reboot monitoring is added
                14.07.2010 New version (see file cisco_xml.20100714.zip)
                New graphs (Packets per Second for all ports) is added
                17.03.2011 Version 1.5 (see file cisco_xml.20110317.zip)
                add 64 bit counters support
                Minor bug is fixed (for symbols <>)
                24.10.2012 for Zabbix 2.0 Version 2.0 cisco_xml.20121024.zip

                Comment

                • dima_dm
                  Senior Member
                  • Dec 2009
                  • 2697

                  #83
                  Originally posted by k0k
                  Maybe you should upload new version on Github?
                  I completely rewrote this script on Zabbix LLD (Low Level Discovery).

                  Comment

                  • thiagomz
                    Member
                    • Jan 2010
                    • 74

                    #84
                    Originally posted by dima_dm
                    I completely rewrote this script on Zabbix LLD (Low Level Discovery).
                    Where is this version with LLD ?

                    Comment

                    • rafabn
                      Junior Member
                      • Sep 2013
                      • 1

                      #85
                      Hello,

                      I'm trying to import a host but I'm getting this error

                      Undefined offset: 1 [include/triggers.inc.php:294]

                      I'm using 2.0.8.

                      Any hopes?

                      Comment

                      • biliati
                        Junior Member
                        • Nov 2013
                        • 2

                        #86
                        cisco_xml.pl SNMP V3

                        Originally posted by dima_dm
                        17.03.2010 New version
                        FAN monitoring is added
                        Device reboot monitoring is added
                        14.07.2010 New version (see file cisco_xml.20100714.zip)
                        New graphs (Packets per Second for all ports) is added
                        17.03.2011 Version 1.5 (see file cisco_xml.20110317.zip)
                        add 64 bit counters support
                        Minor bug is fixed (for symbols <>)
                        24.10.2012 for Zabbix 2.0 Version 2.0 cisco_xml.20121024.zip
                        Hi,

                        You edited the script to work on V3?

                        Comment

                        • biliati
                          Junior Member
                          • Nov 2013
                          • 2

                          #87
                          Originally posted by rafabn
                          Hello,

                          I'm trying to import a host but I'm getting this error

                          Undefined offset: 1 [include/triggers.inc.php:294]

                          I'm using 2.0.8.

                          Any hopes?
                          You edited the script to work on V3?

                          Comment

                          • dima_dm
                            Senior Member
                            • Dec 2009
                            • 2697

                            #88
                            Originally posted by biliati
                            You edited the script to work on V3?
                            No. I use SNMP v2 in production.

                            Comment

                            • sia
                              Junior Member
                              • Dec 2013
                              • 3

                              #89
                              I have a problem with cisco_xml.pl

                              When I run it on centOS 6.4 he tells me:


                              syntax error at cisco_xml.pl line 3, near "."
                              Unmatched right curly bracket at cisco_xml.pl line 117, at end of line
                              syntax error at cisco_xml.pl line 117, near "}"
                              Unmatched right curly bracket at cisco_xml.pl line 122, at end of line
                              syntax error at cisco_xml.pl line 122, near "}"
                              syntax error at cisco_xml.pl line 143, near "}"
                              syntax error at cisco_xml.pl line 161, near "}"
                              Execution of cisco_xml.pl aborted due to compilation errors.


                              Used Perl 5.10.1
                              What's the problem?

                              Comment

                              • Ishan
                                Member
                                • May 2013
                                • 40

                                #90
                                Hi

                                I am getting below response as soon as i run the script,

                                Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at ./cisco_xml.pl line 6.
                                BEGIN failed--compilation aborted at ./cisco_xml.pl line 6.



                                Please help me

                                Thanks in Advance,
                                Ishan

                                Comment

                                Working...