<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Deleted nodes still throwing events]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I've been having a strange issue on my v1.2.5 Windows 2003 x86 setup (but I think it's since v1.2.4):<br />
I have a DCI on all my server nodes which checks if the last 5 ICMP ping results are above a certain value.<br />
When the NetXMS core service starts, and one of these nodes is down, it will be triggered and post an event after 5 polls, which then sends an e-mail.</p>
<p dir="auto">However, I appear to be getting these events and the related e-mails even for nodes I already deleted weeks ago! The node is nowhere to be found in the console object browser, and the alarms I'd expect to see aren't there either, but when I look in the database I can still find the deleted node in the object_properties and nodes tables, the DCIs are still there in the items table, ...<br />
The is_deleted field is also still set to 0 in the object_properties table.</p>
<p dir="auto">Could something be going wrong with the node deletion process?</p>
<p dir="auto">Thanks in advance for any help you can provide!</p>
<p dir="auto">Kind regards,<br />
bdefloo</p>
]]></description><link>https://forum.netxms.org/topic/2157/deleted-nodes-still-throwing-events</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 06:38:20 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2157.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 31 Jan 2013 08:33:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Deleted nodes still throwing events on Tue, 05 Feb 2013 16:11:58 GMT]]></title><description><![CDATA[<p dir="auto">Testos,</p>
<p dir="auto">Thanks for posting this script - it will be very helpful !</p>
<p dir="auto">-Kevin C.</p>
]]></description><link>https://forum.netxms.org/post/9557</link><guid isPermaLink="true">https://forum.netxms.org/post/9557</guid><dc:creator><![CDATA[millerpaint]]></dc:creator><pubDate>Tue, 05 Feb 2013 16:11:58 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted nodes still throwing events on Wed, 06 Feb 2013 07:38:05 GMT]]></title><description><![CDATA[<p dir="auto">Hi.</p>
<p dir="auto">Is a good practice to check, repair and backup database every night. In linux you can make a bash script like this:</p>
<blockquote>
<p dir="auto"># Check_db.sh<br />
#<br />
# Check, repair and backup netxms database in remote host<br />
#<br />
### Variables ###<br />
date=`date +%d-%m-%Y`<br />
DateTimeStamp="date +%d/%m/%Y-%H:%M:%S"<br />
# Paths<br />
logfile="/var/log/mysql_backup.log"<br />
tempbackdir="/tmp"<br />
remotebackdir="/datos/backup/mysql_netxms_pro"<br />
sourcedir="/var/lib/mysql"</p>
<p dir="auto">### Check and repair data base ###<br />
### First stop netxms agent and server, and then repair netxms data base using nxdbmgr<br />
/usr/bin/killall nxagentd &gt;&gt; $logfile<br />
/usr/bin/killall netxmsd &gt;&gt; $logfile<br />
/usr/local/bin/nxdbmgr -f check &gt;&gt; $logfile<br />
sleep 60<br />
### Repair all mysql database (-Avrs parametres can be different depending on mysql version)<br />
echo "#################################################" &gt;&gt; $logfile<br />
echo `$DateTimeStamp` - All processes have been stopped. Analysis and repair MySQL DB started: &gt;&gt; $logfile<br />
/usr/bin/mysqlcheck -Avrs -uroot -pxxxxxxxxx &gt;&gt; $logfile</p>
<p dir="auto">### Backup databases locally whit compression ###<br />
### Stop mysqld deamon<br />
/sbin/service mysqld stop<br />
sleep 60<br />
### Compress with tar command<br />
echo `$DateTimeStamp` - MySQL databases backup started: &gt;&gt; $logfile<br />
tar -pcjvf $tempbackdir/mysql_backup-$date.tar.bz2 $sourcedir/ ### &gt;&gt; $logfile<br />
tar -tjvf $backdir/mysql_backup-$date.tar.bz2 $sourcedir/ ### &gt;&gt; $logfile<br />
sleep 60<br />
/sbin/service mysqld start &gt;&gt; $logfile<br />
/usr/local/bin/netxmsd -d &gt;&gt; $logfile<br />
/usr/local/bin/nxagentd -d &gt;&gt; $logfile<br />
echo `$DateTimeStamp` - MySQL databases backup completed. All netxms processes have been started &gt;&gt; $logfile</p>
<p dir="auto">### Move local backup to remote server # # #<br />
### Note that the remote server must contain the server's public key (generated with the<br />
###“ssh-keygen-t rsa” command) from which you send the backup in<br />
###“$HOME/.ssh/authorized_keys” file<br />
scp $tempbackdir/mysql_backup-$date.tar.bz2 <a href="mailto:root@10.12.xxx.xxx" rel="nofollow ugc">root@10.12.xxx.xxx</a>:$remotebackdir &gt;&gt; $logfile<br />
echo `$DateTimeStamp` - Local backup has been moved to remote server &gt;&gt; $logfile</p>
<p dir="auto">### Remove daily backups over 32 days old on the remote server ###<br />
ssh <a href="mailto:root@10.12.xxx.xxx" rel="nofollow ugc">root@10.12.xxx.xxx</a> find $remotebackdir/ -name '*.tar.bz2' -type f -mtime +32 -exec "rm -f {} \;" &gt;&gt; $logfile<br />
echo `$DateTimeStamp` - Remote backups over 32 days old have been removed &gt;&gt; $logfile<br />
echo "###" &gt;&gt; $logfile<br />
echo "###" &gt;&gt; $logfile</p>
<p dir="auto">exit 0</p>
</blockquote>
<p dir="auto">Finally you must assign the appropriate permissions to the script and then schedule it in crontab:</p>
<blockquote>
<p dir="auto">00 3 * * * /usr/local/scripts/Check_db.sh</p>
</blockquote>
<p dir="auto">Best regards.</p>
]]></description><link>https://forum.netxms.org/post/9556</link><guid isPermaLink="true">https://forum.netxms.org/post/9556</guid><dc:creator><![CDATA[testos]]></dc:creator><pubDate>Wed, 06 Feb 2013 07:38:05 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted nodes still throwing events on Mon, 04 Feb 2013 09:21:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">That appears to have fixed it:</p>
<pre><code>NetXMS Database Manager Version 1.2.5

Checking database (excluding collected data):
* Checking zone objects...                                            [PASSED]
Unlinked node object 31895 ("x") can be linked to subnet 93 (x.x.x.x). Link? (Y/N) Y
Unlinked node object 31963 ("x") can be linked to subnet 93 (x.x.x.x). Link? (Y/N) Y
Unlinked node object 62336 ("x") can be linked to subnet 9262 (x.x.x.x). Link? (Y/N) Y
* Checking node objects...                                            [FIXED ]
Unlinked interface object 36721 ("x"). Delete it? (Y/N) Y
Unlinked interface object 36722 ("x"). Delete it? (Y/N) Y
* Checking interface objects...                                       [FIXED ]
* Checking network service objects...                                 [PASSED]
* Checking cluster objects...                                         [PASSED]
* Checking template to node mapping...                                [PASSED]
* Checking object properties...                                       [PASSED]
* Checking event processing policy...                                 [PASSED]
5 errors was found, 5 errors was corrected
All errors in database was fixed
Commit changes? (Y/N) Y
Committing changes...
Changes was successfully committed to database
Database check completed
</code></pre>
<p dir="auto">(Note: I removed hostnames/IPs)</p>
<p dir="auto">After starting the server again and removing those nodes again, they were gone from the database and a subsequent nxdbmgr check didn't find any issues.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.netxms.org/post/9535</link><guid isPermaLink="true">https://forum.netxms.org/post/9535</guid><dc:creator><![CDATA[bdefloo]]></dc:creator><pubDate>Mon, 04 Feb 2013 09:21:21 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted nodes still throwing events on Fri, 01 Feb 2013 13:11:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Looks like some problem with node deletion. Can you try to stop NetXMS server and run nxdbmgr check? If node is really node bound to any subnet or container, it should be detected and deleted.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/9522</link><guid isPermaLink="true">https://forum.netxms.org/post/9522</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 01 Feb 2013 13:11:43 GMT</pubDate></item></channel></rss>