News:

We really need your input in this questionnaire

Main Menu
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

Messages - MatthewDreher

#46
General Support / Re: Import list of servers
June 15, 2016, 07:15:03 PM
Thank you very much.  You have no idea how helpful this is. 
#47
General Support / Re: Import list of servers
June 15, 2016, 05:06:34 PM
Hey, finally was able to sit down and work on this.  Getting an error  .Error - "NXCException"!
Error message - "Incompatible operation".

It imports about 150 servers out of a list of about 600, then I get this message. 

Update:  Did a little troubleshooting.  Once I get past about 180 or so entires in the nodes table, I only seem to be able to import servers one at a time using the tool.  Otherwise it throws the above exception. 
#48
General Support / Re: Import list of servers
June 03, 2016, 10:37:37 PM
Unfortunately, I can't do that.  I've begged, but first and foremost we need to have an agentless monitoring solution.  I'll test this out this week (and I apologize for the delay... hectic week).

Thank you very much. 
#49
General Support / Re: Import list of servers
May 27, 2016, 07:02:16 PM
Hey, I actually realized something.  I probably can't send out this list. Server names/IP addresses might be considered a bit touchy.  Would you be able to take an input using a file formatted like your example?
#50
General Support / Re: Import list of servers
May 27, 2016, 06:32:56 PM
Yep, gimme a bit.  I'll make sure it's formatted like you have below.  It's like 400 plus servers, so it can take a bit to go though

Thanks a ton. 
#51
General Support / Import list of servers
May 27, 2016, 05:19:04 PM
Hello all,

I'm currently in the process of migrating from another monitoring solution and wanted to know if there was an easy way to import a list of names/ip addresses into netxms.  Two caveats here: 1. The servers will not have the agent installed initially (network only monitoring for now) and 2. I'd like to be able to associate an ipv4 and ipv6 ip address to the node when it's imported.   

Thanks for the assistance. 
#52
General Support / Re: Port check on node add
May 27, 2016, 05:04:22 PM
thanks, very helpful
#53
General Support / Port check on node add
May 19, 2016, 08:22:06 PM
Hello all,

Question for you all:  If I want to scan for the availability of a port on a node when I add it (for an auto apply template), what would that look like?
#54
Ok, perfect.  Thanks again for the help.
#55
no, I want to check the node to see if it has the service running, then apply a monitor to the netxms server to monitor against the node for port 80
#56
nm, definitely got more questions.

So, using your above code, I have a server that has IIS installed.  Ideally, I'd look for the open port or a service on the box.  In this case, the service is w3wp.exe, the iis service.  I'd like the template to apply once the node is added, add the template to the netxms server, and automatically monitor the new node for port 80

Auto Apply rule would be this:

searchProcess = "w3wp.exe";
procArray = AgentReadList($node, "System.ProcessList");

if (procArray == null)
  return false;

foreach (process : procArray) {
  if (index(process, searchProcess) != 0)
    return $node->isLocalMgmt;
}

return false;


and dci paramater would be ServiceCheck.Custom(%{node_primary_ip},80) (I'm just doing the custom port for simplicity atm, I'll be adding in the http later).

Not working obviously.
#57
Perfect.  I think that's all I need at this point.  Really appreciate the assistance.
#58
Ok, then how would I get it to automatically apply to the netxms server?  Does just returning true in the script add the template to the netxms server and $node adds it to the newly added node?
#59
That helps a ton.  One final question.  If I want a template to automatically apply a service check against a server (custom port 80 or http check for example) how would I put that in?  Would I just use localhost and port 80? 

ServiceCheck.Custom(localhost,80) with threshold >= 1

Sorry if these sound like horribly newbie questions.
#60
Mind sending me a sample?  I'm quite new to setting this up.