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 - Alex Kirhenshtein

#616
Operation и Value игнорируется
#617
As temporary workaround – stop netxmsd and run following SQL query:update network_services set ip_bind_addr = 'UNSPEC' where ip_bind_addr = '0.0.0.0';
#619
Please note that if netxmsd is started without root permissions, ICMP and SNMP traps will not work (RAW sockets required for ICMP and SNMP traps are received on port 162).

If you running modern Linux you can set capabilities to overcome that:
sudo /sbin/setcap cap_net_bind_service,cap_net_raw=ep /opt/netxms/bin/netxmsd

To verify:
1) check with getcap:$ /sbin/getcap /opt/netxms/bin/netxmsd
/opt/netxms/bin/netxmsd = cap_net_bind_service,cap_net_raw+ep

2) This error should not appear anymore on log file: "[ERROR] Unable to bind socket to port 162 in function SNMPTrapReceiver: Permission denied"

P.S. setcap/getcap are from package libcap2-bin
#620
У вас JVM версии 6 или ниже; Jython собран при помощи JDK 7.
Я очень рекомендую вам обновить JVM на версию 8, потому что обновлений уже нет даже на 7-ю версию, не говоря уже про предыдущие.
#621
Общие вопросы / Re: nxshell
May 26, 2015, 05:14:40 PM
That's know bug, which was fixed in revision d73dee5
#622
Set "LogFile" in /etc/netxmsd.conf to some location where file can be created.
For example:LogFile=/var/log/netxmsd
#623
Hello. admin/netxms is default credentials, but you have another issue – WebUI can't connect to the server. Check that netxmsd is running and accepting connections on port 4701/TCP.
#624
sample nxagentd.conf: Subagent=ups.nsm
[ups]
Device = 0:"COM1:":MEGATEC


Check wiki for more details: https://wiki.netxms.org/wiki/Uninterruptible_Power_Supply_(UPS)_Monitoring
#625
Right now it's RS232-only. We have plans to integrate with NUT (they have windows version too), but definitely not in next release.
#626
Hello.

APT use it's own keyring in /etc/apt/trusted.gpg and /etc/apt/trusted.gpg.d/*.gpg
You can check that: gpg --no-default-keyring --keyring /etc/apt/trusted.gpg --list-keys

Keys 7638D0442B90D010 and 9D6D8F6BC857C906 are Debian release keys, you need to install them:
apt-get install debian-keyring debian-archive-keyring

wheezy/main contains only stable version (1.2.17 at the moment), so unless you change source to "wheezy/beta", you don't need to explicitly specify version.
#627
General Support / Re: Portech SMS Driver
May 12, 2015, 01:57:27 PM
Change SMSDrvConfig to
host=192.168.50.200;login=voip;password=1234;mode=TEXT
#628
Часть есть в документации: https://www.netxms.org/documentation/adminguide/nxsl.html
Часть есть в Wiki: https://wiki.netxms.org/wiki/Scripting_Guide
#629
General Support / Re: Nagios integration
May 11, 2015, 10:49:22 PM
Yes, it's part of agent configuration (nxagentd.conf).
You can use single instance of the agent, for example:
ExternalParameter=CheckDiskCustom(*):/usr/lib64/nagios/plugins/check_nrpe -H $1 -c check_disk_custom -a 20 10 / >/dev/null 2>&1 ; echo $$?

then configure DCIs on the server: CheckDiskCustom(webserver), CheckDiskCustom(dbserver), etc. $1 will be int he command will be replaced with first DCI parameter, $2 will be replaced with second and so on.

If you want these DCIs to appear on the target nodes (e.g webserver) instead of keeping them all on the node where agent is installed – create them there and select server where agent is running as DCI proxy. Check this post for additional explanation: https://www.netxms.org/forum/configuration/netxms-agent-checks-on-non-agent-compatible-hosts/
#630
General Support / Re: Nagios integration
May 11, 2015, 06:37:28 PM
You can add them as external parameter (please note that "$" is escaped):
ExternalParameter=CheckDiskCustom:/usr/lib64/nagios/plugins/check_nrpe -H webserver -c check_disk_custom -a 20 10 / >/dev/null 2>&1 ; echo $$?