Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - m1975Michael

#1
General Support / Windows Service Install Hangs
December 10, 2014, 05:55:02 PM
I have tried to install 1.2.17 on Windows but the install hangs when checking the netxms core service.  I get a check mark by Installing service.  It works correctly in 1.2.16.  Any suggestions?  Thank you for your assistance.
#2
General Support / Set Primary Host Name to SNMP sysName
September 22, 2014, 03:33:56 PM
I am trying to set the primary host name to the SNMP sysName.  I have found a couple of scripts on the forum but I can not get either of them to work.

if (($node->snmpSysName != null) && ($node->snmpSysName != ""))
{
   RenameObject($node, $node->snmpSysName);
}


I receive the following error when I run this script in the server console.  ERROR: Script finished with error: Error 14 in line 1: Function or operation argument is not an object.

//rename node after configuration poll to snmp sysLocation
//if sysLocation is null then rename to node ip address
//also 3 custom attributes will be setted
// you can use this attributes in events with %{attribute_name} macros
//uncomment trace line and run netxmsd with -D1 param for logging

sub main()
{
  if ($1->isSNMP)
   {
  //trace(1,"hook executed for ".$1->ipAddr);
   transport = CreateSNMPTransport($1);
    if (transport == null)
    {
    //trace(1,"snmp transport error on ".$1->ipAddr);
    return -1;
    }
   
    location = SNMPGetValue(transport, ".1.3.6.1.2.1.1.6.0"); // sysLocation
    sysname = SNMPGetValue(transport, ".1.3.6.1.2.1.1.5.0");  // sysname
    uptime = SNMPGetValue(transport, ".1.3.6.1.2.1.1.3.0");   // uptime
   
    //trace(1,"[".location."], [".sysname."], [".uptime."]");
   
    if (location != null && location !="" && location!=" ")
     { 
         //trace(1,"attr location changed to ".location);
         RenameObject($1, location);
     }
    else
    {
         //trace(1,"error in location block");
         RenameObject($1, $1->ipAddr); //change name to node ip address
    }   
    if (sysname != null && sysname !="" && sysname !=" ")
    {
         SetCustomAttribute($1, "sysname", sysname); //set custom attribute for node snmp sysName
         //trace(1,"attr sysname changed to ".location);
    }
    else
    {
         //trace(1,"error in sysname block");
    }

    if (uptime != null)
    {
         SetCustomAttribute($1, "uptime", SecondsToUptime(uptime/100)); //set custom attribute uptime for node
         //trace(1,"attr uptime changed to ".SecondsToUptime(uptime/100));
    }
    else
    {
        //trace(1,"error in uptime block");
    }
   
    //trace(1,"end execution");
    SetCustomAttribute($1, "last_update",localtime(time())->mday.".".localtime(time())->mon.".".localtime(time())->year.", ".localtime(time())->hour.":".localtime(time())->min.":".localtime(time())->sec);       
  }
}



I receive the following error when I run this script in the server console.  ERROR: Script finished with error: Error 14 in line 9: Function or operation argument is not an object.

I tried to look at examples on the wiki but I really don't know how to script.  Any assistance would be greatly appreciated.  Thank you.
#3
General Support / Email Test
August 01, 2014, 04:01:12 PM
Is there a way I can test send an Email from NetXMS to verify Email is working properly? Thank you for your assistance.
#4
General Support / SNMP Walk Error
July 17, 2014, 07:33:26 PM
I am getting the following error message when I try to walk the tree.

"Walk MIB tree' had encounter a problem.
Cannot do SNMP MIB tree walk: Incompatible operation.

I have recompiled the MIB file.

Any suggestions would be helpful.  Thank you.

#5
General Support / Polling Options Under Node
July 03, 2014, 06:02:51 PM
How can I configure multiple nodes polling options. For example I need to configure a group of nodes to not get stats from ICMP pings and disable NetXMS agent polling.  Any assistance would be greatly appreciated.  Thank you.
#6
Hello Everyone,

I am new to NetXMS.  I need to know how to properly setup alarms for the Iomega/Lenovo ix2 NAS drives.  I have been able to import the .mib file into NetXMS.  In the mib browser I am able to see the options that I can monitor but I have no idea how to set it up properly.  The units are running net-snmp for the agent.  Any assistance would be greatly appreciated.  Thank you.
#7
General Support / Import List of IP Addresses
June 11, 2014, 10:49:07 PM
Hello Everyone,

I am new to NetXMS.  I would like to import a list of IP addresses.  The devices are on different networks and I only want to add that specific device to NetXMS.  We have about 600 networks connected through VPN connections.   Any assistance would be greatly appreciated.  Thank you.