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

#16
Thanks Victor, I'm sure I'm missing something simple.

See below!







#17
Victor, thanks.  That seems to have stopped them.

However, I expanded all the items in EPP and I have no items with SYS_IF_PEER_CHANGED except the one I created as you suggested and moved to the top.

I also kept getting similar messages about SYS_INCORRECT_NETMASK and I did the same thing you suggested and it stopped.

However, "Generate alarm when incorrect network mask detected on interface" is one of the out of the box rules, and I had that rule disabled, but the messages still kept coming.

Is there anything else I'm missing?
#18
I am receiving constant (about every 2-3 minutes) email notifications about New peer for interface.

I see it as an event (SYS_IF_PEER_CHANGED), but don't see a way to turn off emails regarding this.  There is no corresponding item in event processing policy.

I have Cisco Meraki switches / routers / APs.

I tried to delete that item in event configuration, and it said access denied.  I found it in the database itself, but wanted to ask here before attempting to delete that entry in the database.

This started a few versions ago, I don't remember which one, I'm currently on 3.7.145.

Any help is appreciated!
#19
Quote from: Filipp Sudanov on March 26, 2020, 10:55:18 PM
Lat/lon of nodes are used on the map in View -> World map. It's using Open Street Map background from server configurable in Server Configuration (TileServerURL).

Awesome, thanks!

Is there a way to lock the items so they can't be moved around on a network map?
#20
On each node there is a location section, allowing you to specify, the geographical location of the device.

I cannot find a way to make this display on a map where I set the background to a Geographic map.

I can add nodes any way I want, Layer2, topology, custom and they're on the map - but how do I get it to snap to the actual geographic location, or is this just not a feature?

If I right click a single node and select geolocation, it does drill it down right to where I specified, but how do I show all of them on a larger map, snapped to their location?

Also, is there a way to specify the map to be centered on the coordinates given, and not at the top left?

Thanks for a great product!
#21
Victor, thanks.

Initially this didn't work, but then I changed:

snmp = CreateSNMPTransport($node);
return SNMPGet(snmp, ".1.3.6.1.2.1.31.1.1.1.6." . $1) != null;


To:

snmp = CreateSNMPTransport($node);
return SNMPGetValue(snmp, ".1.3.6.1.2.1.31.1.1.1.6." . $1) != null;


And it seems to be working now.

Thank you!
#22
General Support / Re: Installing agent on Raspbian
July 07, 2019, 10:15:08 PM
Victor, thanks for the information.  This worked for me.

For those wanting all the info, below are all the steps I followed, however I had to comment out the other line (deb http://packages.netxms.org/debian stretch main) in netxms.list.  This file already existed, I guess due to some of the steps I followed earlier

Create new file named netxms.list in /etc/apt/sources.list.d/ with content like this, Comment out existing line

deb http://packages.netxms.org/raspbian stretch main
#deb http://packages.netxms.org/debian stretch main


wget -q -O - http://packages.netxms.org/netxms.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install netxms-agent
sudo nano /etc/nxagentd.conf
sudo systemctl enable nxagentd

Edit nxagentd.conf and change MasterServers to your NetXMS server
The default file had 127.0.0.1/8, I had to remove the CIDR notation to get it to work


sudo service nxagentd restart
#23
I have set up a DCI with instance discovery for traffic on all ports of a Cisco switch.

4 OIDs always come back as unsupported.

I have managed to get the filter script to filter out one of them with one specific OID, but how do I properly filter out unsupported OIDs?  Is there a way to tell it to ignore them if they are unsupported?

I've tried searching and my setup is similar to this:
https://www.netxms.org/forum/configuration/instance-discovery-filter-scrip/msg10449/#msg10449

This successfully filters one result:
return $1 != "5139";

These are the attempts I have made - none of them filter multiple results: (the three using SNMPGetValue don't work at all with the individual OID)
snmp = CreateSNMPTransport($node);
return SNMPGetValue(snmp, ".1.3.6.1.2.1.31.1.1.1.6." . $1) != 5139;

snmp = CreateSNMPTransport($node);
return SNMPGetValue(snmp, ".1.3.6.1.2.1.31.1.1.1.6." . $1) != 0;

snmp = CreateSNMPTransport($node);
return SNMPGetValue(snmp, ".1.3.6.1.2.1.31.1.1.1.6." . $1) != "5139";

if($1 == "5139")
return false;
if($1 == "5138")
return false;
if($1 == "5137")
return false;
if($1 == "12001")
return false;


I'm sure I'm missing something obvious, any help is appreciated!

Thanks!
#24
General Support / Re: Installing agent on Raspbian
July 01, 2019, 07:23:09 AM
Thanks for the reply.

I'm not quite sure what to do with this knowledge... how do I proceed?  I found a deb file under the raspbian folder and I tried this below:

What am I missing?

pi@retropie:~ $ wget https://packages.netxms.org/raspbian/pool/jessie/main/n/netxms/netxms-agent_2.1-M2-1_armhf.deb
--2019-07-01 04:18:57--  https://packages.netxms.org/raspbian/pool/jessie/main/n/netxms/netxms-agent_2.1-M2-1_armhf.deb
Resolving packages.netxms.org (packages.netxms.org)... 5.9.112.213
Connecting to packages.netxms.org (packages.netxms.org)|5.9.112.213|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 196588 (192K) [application/octet-stream]
Saving to: 'netxms-agent_2.1-M2-1_armhf.deb'

netxms-agent_2.1-M2-1_armhf.deb       100%[=======================================================================>] 191.98K   623KB/s    in 0.3s

2019-07-01 04:18:58 (623 KB/s) - 'netxms-agent_2.1-M2-1_armhf.deb' saved [196588/196588]

pi@retropie:~ $ sudo dpkg -i netxms-agent_2.1-M2-1_armhf.deb
Selecting previously unselected package netxms-agent:armhf.
(Reading database ... 96679 files and directories currently installed.)
Preparing to unpack netxms-agent_2.1-M2-1_armhf.deb ...
Unpacking netxms-agent:armhf (2.1-M2-1) ...
dpkg: dependency problems prevent configuration of netxms-agent:armhf:
netxms-agent:armhf depends on netxms-base (= 2.1-M2-1); however:
  Package netxms-base is not installed.
netxms-agent:armhf depends on netxms-dbdrv-sqlite3 (= 2.1-M2-1); however:
  Package netxms-dbdrv-sqlite3 is not installed.
netxms-agent:armhf depends on libsensors4 (>= 1:3.1.1); however:
  Package libsensors4 is not installed.
netxms-agent:armhf depends on libssl1.0.0 (>= 1.0.0); however:
  Package libssl1.0.0 is not installed.

dpkg: error processing package netxms-agent:armhf (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (232-25+deb9u11) ...
Errors were encountered while processing:
netxms-agent:armhf
pi@retropie:~ $
#26
Quote from: Tursiops on June 27, 2019, 01:33:12 AM
Can you confirm that DeleteEventsOfDeletedObject is set to 1?
Have you tried shutting NetXMS down and running "nxdbmgr check" on your server?
Just in case your problem is related to inconsistencies in your database.

I can confirm that DeleteEventsOfDeletedObject is set to 1.

I stopped the service and ran nxdbmgr check and got the following output.

NetXMS Database Manager Version 2.2.15 Build 9523 (2.2.15.2) (UNICODE)

Checking database (excluding collected data):
* Zone object properties                                               [PASSED]
* Node object properties                                               [PASSED]
* Node to subnet bindings                                              [PASSED]
* Interface object properties                                          [PASSED]
* Interface bindings                                                   [PASSED]
* Network service object properties                                    [PASSED]
* Network service bindings                                             [PASSED]
* Cluster object properties                                            [PASSED]
* Cluster member nodes                                                 [PASSED]
* Template to node mapping                                             [PASSED]
* Object properties                                                    [PASSED]
* Container membership                                                 [  94% ]
Container 2446 contains non-existing child 2455. Fix it? (Yes/No/All/Skip) A
* Container membership                                                 [FIXED ]
* Event processing policy                                              [PASSED]
* Network map links                                                    [PASSED]
* Data tables                                                          [PASSED]
* Raw DCI values table                                                 [  24% ]
Found raw value record for non-existing DCI [3458]. Delete it? (Yes/No/All/Skip) A
* Raw DCI values table                                                 [  61% ]
Found raw value record for non-existing DCI [5684]. Delete it? (Yes/No/All/Skip) Y
* Raw DCI values table                                                 [FIXED ]
* DCI thresholds                                                       [  46% ]
Found threshold configuration for non-existing DCI [3458]. Delete? (Yes/No/All/Skip) A
* DCI thresholds                                                       [FIXED ]
* Table DCI thresholds                                                 [PASSED]
4 errors was found, 4 errors was corrected
All errors in database was fixed
Commit changes? (Yes/No) Y
Committing changes...
Changes was successfully committed to database
Database check completed

C:\NetXMS\bin>


I ran the check again and it found no issues.  I then restarted the service, but still got the alert emails.  However, they all are just telling me these nodes are up, and just a few specific ones, not all of them.

I can understand if there was an active alarm, like a node down, and I did get one like that - but my node is actually down.  The others are all up with no issues, and it just decides it has to tell me that for these 5 nodes every time I restart the service.

Any help is appreciated!

#27
Can I please get some help with this?

Thanks
#28
General Support / Re: Installing agent on Raspbian
June 26, 2019, 05:05:46 PM
Can I please get some help with this?

Thanks
#29
It was set to 1.  I have no idea how it got set that way.

I set it to 0 and restarted, and it produced results!

Is there somewhere in the documentation about scripting that I missed?

Thank you for your help!


*** FINISHED ***

Result: 27706007919104
#30
I can confirm it is indeed 1.