Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

D

djdrastic

@djdrastic
Unfollow Follow
About
Posts
4
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • 2.1-RC1 Empty Graphs
    D djdrastic
    Support

    Hi Victor and co !

    Upgraded my installation to 2.1-RC1 from 2.1-M2 release.
    I've noticed any graph whether it be a saved one or creating a Line Chart on some data results in a empty graph.This seems to happen on SNMP as well as Agent hosts.


    Anything I should have a look at for debugging purposes to help fix this ?
    I've checked out /var/log/netxms but can't really find anything so far.

    Thanks


  • Simple Data Transformation Question
    D djdrastic
    Support

    @tomaskir said in Simple Data Transformation Question:

    Hi!

    return $1/10;
    

    Is enough actually, you dont need to declare an explicit main() method/function.
    See this: https://wiki.netxms.org/wiki/UM:NetXMS_Scripting_Language_(NXSL)#Script_entry_point

    As for why you are seeing 0 in last values, you have "Simple delta" as delta calculation enabled.
    Set delta calculation to None, and it will work.

    Yikes I feel embarrassed now  :-[ :-[ :-[ :-[ :-[ :-[ :-[ :-[
    Setting the delta calculation to zero sorted it right out.
    I'll have to re-read the wiki again to make sure I'm understanding it right.

    Thanks tomaskir and Alex for the quick help.


  • Simple Data Transformation Question
    D djdrastic
    Support

    Hi Viktor and co

    Have a NetXMS 2.0.1 system in Server/Remote Agent w/Sites configuration

    Have a simple data transformation question.
    I'm trying to monitor temperature of some Mikrotik routerboards with SNMP via .1.3.6.1.4.1.14988.1.1.3.10.0

    I need to transform the value that the Mikrotik reports by dividing the value by 10.
    I've entered the following values in the Transformation option.

    Simple Delta

    sub main()
    {
      return $1 / 10;
    }

    Test returns the correct results however values received by in the Last Values tab or DCI History return results of 0

    Anything I'm missing here ?

    Thanks


    Transformation2.jpg

    Transformation.jpg

    Last_Values.jpg


  • Unable to get interface list from node - SNMP
    D djdrastic
    Support

    Hi All we are busy migrating towards NetXMS at a site and it has been mostly been smooth sailing.
    However we've hit a snag when trying to monitor a Cyberoam firewall via SNMP giving us the following errors.

    Poll -> Configuration

    Unable to get interface list from node
    Interface "unknown" is no longer exist

    Poll -> Interface Names
    Unable to get interface list from node

    snmpwalk currently delivers the following result for .1.3.6.1.2.1.2.2.1.2

    snmpwalk -c public  -v 2c x.x.x.1  .1.3.6.1.2.1.2.2.1.2

    IF-MIB::ifDescr.1 = STRING: lo
    IF-MIB::ifDescr.2 = STRING: ipsec0
    IF-MIB::ifDescr.3 = STRING: sit0
    IF-MIB::ifDescr.4 = STRING: ip6tnl0
    IF-MIB::ifDescr.5 = STRING: PortA
    IF-MIB::ifDescr.6 = STRING: PortB
    IF-MIB::ifDescr.7 = STRING: PortC
    IF-MIB::ifDescr.8 = STRING: PortD
    IF-MIB::ifDescr.9 = STRING: PortE
    IF-MIB::ifDescr.10 = STRING: PortF
    IF-MIB::ifDescr.11 = STRING: imq0
    IF-MIB::ifDescr.12 = STRING: imq1
    IF-MIB::ifDescr.13 = STRING: gre0

    nxsnmpwalk produces the following results querying  .1.3.6.1.2.1.2.2.1.2

    nxsnmpwalk -v 2c -c public x.x.x.1 .1.3.6.1.2.1.2.2.1.2

    Snippet of what it gets

    .1.3.6.1.2.1.2.2.1.2.1 [STRING]: lo
    .1.3.6.1.2.1.2.2.1.2.2 [STRING]: ipsec0
    .1.3.6.1.2.1.2.2.1.2.3 [STRING]: sit0
    .1.3.6.1.2.1.2.2.1.2.4 [STRING]: ip6tnl0
    .1.3.6.1.2.1.2.2.1.2.5 [STRING]: PortA
    .1.3.6.1.2.1.2.2.1.2.6 [STRING]: PortB
    .1.3.6.1.2.1.2.2.1.2.7 [STRING]: PortC
    .1.3.6.1.2.1.2.2.1.2.8 [STRING]: PortD
    .1.3.6.1.2.1.2.2.1.2.9 [STRING]: PortE
    .1.3.6.1.2.1.2.2.1.2.10 [STRING]: PortF
    .1.3.6.1.2.1.2.2.1.2.11 [STRING]: imq0
    .1.3.6.1.2.1.2.2.1.2.12 [STRING]: imq1
    .1.3.6.1.2.1.2.2.1.2.13 [STRING]: gre0

    Any input would be greatly appreciated.

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups