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 - gmonk63

#136
General Support / Re: PING Subagent
August 30, 2016, 05:49:44 PM
Here is NodeA (actual node name is RB1-ERP-POLLER) configuration That has the Agent running ping.nsm

#137
General Support / Re: PING Subagent
August 30, 2016, 02:17:24 AM
on a side note I have noticed the DCI instance ids continue to increment and out of curiosity ran a manual instance discovery poll and got this
Running DCI instance discovery
[29.08.2016 16:13:01]    Updating instances for Icmp.LastPingTime({instance}) [28794]
[29.08.2016 16:13:01]       Existing instance "10.9.61.11 26 29 0 46 10.9.61.11" not found and will be deleted
[29.08.2016 16:13:01]       Existing instance "10.9.61.13 1 0 0 46 10.9.61.13" not found and will be deleted
[29.08.2016 16:13:01]       Existing instance "10.9.61.14 31 28 1 46 10.9.61.14" not found and will be deleted
[29.08.2016 16:13:01]       Creating new DCI for instance "10.9.61.11 39 28 0 46 10.9.61.11"
[29.08.2016 16:13:01]       Creating new DCI for instance "10.9.61.13 0 0 0 46 10.9.61.13"
[29.08.2016 16:13:01]       Creating new DCI for instance "10.9.61.14 4 32 0 46 10.9.61.14"

This seems to happen every time so im assuming after every  IntancePollingInterval which I think is set to 600 the DCI's get recreated  is this normal
#138
General Support / Re: PING Subagent
August 30, 2016, 12:05:01 AM
it works now i was not setting the source node on node1.  But It does not seem to work unless both nodeA and node1 have dci node status checked.  And this causes nodeA to show critical as well
#139
General Support / Re: PING Subagent
August 29, 2016, 06:42:29 AM
I did try this at first but it does not seem to have any bearing on the status of the node.  I also created a transform to return 4 if the value is over 5000 and 0 if under. Maybe i am misunderstanding the way Ping subagent works.   As i mentioned before i have set up a handful of icmp targets where i need to monitor second by second for high latency and if the latency goes above the threshold create an alert.  Right now I only see the alarm created for the node that the icmp targets are created on.  Example nodeA has the subagent to ping node1 and node2  every second if I reboot node1 I only receive and alarm for nodeA  sys_threshold_reached  whereas I would like the alarm to be created for node1 as it gets confusing when all alarms created are generated for nodeA.  I would rather not have Netxms Server ping the node since I am already monitoring latency via subagent  and because of this I would like to generate the critical alert based on the latency ping since the value will go well above 3000 if the node is actually down.  I see there is a threshold instance but the documentation is vague on its usage could this be what I need.


Thanks
#140
General Support / ZeroMQ
August 23, 2016, 05:44:33 PM
i dont see any documentation for zeromq.. is this going to be used for pub/sub to alarms or will it be able to do api calls to the server using req/resp  and any zeromq client.


#141
General Support / PING Subagent
August 21, 2016, 09:10:39 PM
Is is possible to cause a node to go into critical or down status based on the results from icmp stats.  I have a subagent setup to monitor latency of several hosts  but when the threshold is met the alarm is generated for the agent and not the instance being monitored ..  I would like to generate  a critical or down status if the latency shows 10k  for that particular instance   
#142
General Support / Re: Import list of servers
August 14, 2016, 07:03:47 PM
Wow that was fast ...   Thank you   :D :D
#143
General Support / Re: Import list of servers
August 14, 2016, 03:31:09 AM
Just  under Infrastructure Services
#144
General Support / Re: Import list of servers
August 14, 2016, 01:29:55 AM
Would it be possible to auto create the container if it does not exist
#145
Feature Requests / Re: User permissions
August 08, 2016, 06:41:23 PM
I feel dumb ... your right I didnt bother to look at the Individual access controls for each node.



Thanks
#146
Feature Requests / User permissions
August 06, 2016, 06:04:56 AM
It would be nice to be able to assign nodes to users... So if you have user Tech1 which is only concerned with servers. You can select which servers he should be able to see Alarms for and only those. And Tech2 which is only concerned with PC's  he only recieve alarms for those selected
#147
General Support / DCI checks over SSH
August 04, 2016, 04:08:29 AM
Is there a way through scripting or other to do checks on nodes that dont either support SNMP or Agent  but have ssh access.   Since ssh supports running remote commands such as  if i run "ssh me@remotenode uname -a "  will give me system identification info  could I create a DCI that could run these remote commands via SSH to gather data ?  I have a switch that does not fully support SNMP and  only way to gather interface,cpu or temp stats is either via web or login and run a custom executable which comminticates with switch chip ...so my only options is try and scrape the data from the gui or run the custom commands over ssh and return it to NETXMS but i dont see any way to do that in the DCI setup options...



Thanks
#148
For any one interested I compiled a Agent that will run on a Ubiquity Edge Router/Lite products ... I currently use these as Pollers to proxy snmp or icmp polls  to ease the load on the main server. They also act as distribution devices to the field so it helps to be able to get interface BW and CPU usage for a segment .. Also here is the script that i use to assign nodes to these so i dont have to go one by one ...Just grab the object id of the poller and add the object names in the .txt file   You will have to scp the deb file to the router then run sudo dpkg -i netxms_ubnt_2.0.5.deb to install this will install to /usr/local  and config files to /etc/nxagentd.conf   also you will need to run "sudo ldconfig" after install or else you will have errors when attempting to start  with  "sudo service nxagentd start "  You will also need to vi the nxagentd.conf with your own params....  Hope this can be useful to someone


from org.netxms.client.objects import Node

for name in open("snmp-proxy.txt").readlines():
    node = session.findObjectByName(name.strip())
   
    if node:
        md = NXCObjectModificationData(node.getObjectId())
        proxy = 10254
        md.setSnmpProxy(proxy)
        session.modifyObject(md)
#149
General Support / Re: Migrating to new server
July 04, 2016, 03:30:16 AM
Never mind i figured it out.  I just did a mysql dump then restore on the new server and then ran the nxdbmgr upgrade ... Not sure why but when I tried using nxdbmgr to export then import on the new server it always failed
#150
General Support / Migrating to new server
June 30, 2016, 11:27:43 PM
Question I currently have a server ubuntu 14.04 with netxms 2.0.1   I have purchased a newer server and want to migrate all data to the new server which is ubuntu 16.04  but I want to install the latest Netxms version 2.0.4   can i simply install the new version and dump and restore the data base using mysql tools or do i need to do this using nxdbmgr  and what is the difference between using nxdbmgr vs mysql dump  does dbmgr only grab the schema and not the data ?



Thanks