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

DesertRat

@DesertRat
Unfollow Follow
About
Posts
8
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Unable to load and initialize database driver "pgsql.ddr"
    D DesertRat
    Support

    I have an instance of Netxms I haven't logged into for a while and am getting an error trying to check the database with nxdbmgr check.

    It shows the error Unable to load and initialize database driver "pgsql.ddr"

    Version is 4.4.3 Build 4.4-658-ga8dfd8111f

    How can I fix this?


  • SMTP Driver Error
    D DesertRat
    Support

    I am trying to configure eMail notifications. I have an SMTP server set up that does not require authentication. I have attached a screenshot of the error. My configuration for the driver is:

    Server=XX.XX.XX.XX
    RetryCount=1
    Port=25
    FromName=NOC
    FromAddr=<my email address>
    MailEncoding=utf8
    IsHTML=no

    How can I troubleshoot this?


    Screenshot 2022-08-06 160201.png


  • Interface expected state in template
    D DesertRat
    Support

    Thank you very much for this. I must be missing something very basic. It looks as though the $node variable is not defined in the hook. I am getting the error: "Error 14 in line 12: Function or operation argument is not an object" just trying to execute this script within Hook::ConfigurationPoll

    /* Available global variables:
     *  $object - current object, one of 'NetObj' subclasses
     *  $node - current object if it is 'Node' class
     *
     * Expected return value:
     *  none - returned value is ignored
     */
    
    sub main()
    {
      trace(1,"hook executed for ".$node->ipAddr);
    }
    

  • Interface expected state in template
    D DesertRat
    Support

    Where can I script the expected state of interfaces when a template is applied to node? The purpose is to ignore all interfaces except for the one I'm interested in.

    Thanks in advance


  • Using data from the device General tab for template auto-apply
    D DesertRat
    Support

    I tried this too and still no joy.

    return ($node.productName ~= "ePMP3000 (FCC)") ? true : false;


  • Using data from the device General tab for template auto-apply
    D DesertRat
    Support

    I have added this to the Auto Apply filter and it still doesn't apply the template to the nodes. What am I missing?

    return $node.productName like "ePMP3000 (FCC)";


  • Using data from the device General tab for template auto-apply
    D DesertRat
    Support

    Got it! I just need to reference $node->productName in the Rule.


  • Using data from the device General tab for template auto-apply
    D DesertRat
    Support

    I can see the vendor and product name in the general tab of an added node. How can I use this information automatic apply rules for a template? I have scoured the MIBs can not seem to find it.

  • 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