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

#1171
Встроенного нету, можно сделать через внешний скрипт.

Например так:
@echo off

set ret=0
dir %1: 2>NUL >NUL
IF ERRORLEVEL 1 SET ret=1

echo %ret%


Если диск есть — вернет 0, нету — 0.

В nxagentd.conf добавить примерно такое:
ExternalParameter = CheckDiskExist(*):c:\check.cmd $1

После этого можно мониторить параметр CheckDiskExist(G)
#1172
General Support / Re: priority support purchase
May 03, 2009, 12:22:00 PM
Hello.

Please check your mail now.
#1173
General Support / Re: priority support purchase
May 01, 2009, 08:08:43 PM
Hello.

Sorry for delayed answer, I'll check records and answer you today.
#1174
Announcements / Recent netxms.org server crash
April 30, 2009, 12:58:25 AM
Hello.

Recently, we experienced severe server crash (file system was messed up — exact case when hardware redundancy do not work), now it's reinstalled and restored — partially. Unfortunately, in a process of restore we found issues with latest database backup, therefore forum and bugtracker data are partially lost. However, we are working on recovering rest of the data (mostly forum)

Current situation is:

  • Bugtracker — all issues are available, user registrations lost
  • Forum — restored from backup dated 07 Feb 2009; messages are lost after this date, user registrations are intact

wbr, alex.
#1175
Announcements / NetXMS 0.2.26 Released
April 30, 2009, 12:57:41 AM
Download page

*
* 0.2.26
*

- Fixed compilation problems on some UNIX platforms
- Fixed incorrect behaviour of Disk.Free parameter on some Windows systems
- Fixed broken Windows 2000 support (issue #248)


*
* 0.2.25
*

- Implemented automatic template application based on filters
- Implemented automatic node binding to containers based on filters
- Implemented database export and import
- Database checking tool (nxdbmgr) improved
- More standard parameters inplemented in Linux, FreeBSD, and Solaris subagents
- Removed inconsistencies in some parameters' behavior on different platforms
- DCI transformation scripts now can be tested from console
- Network maps improved
- Added support for matching Windows event log records by event source,
  severity, and event code
- Fixed issues: #197, #217, #239, #240, #241, #242, #243, #244, #245
#1176
в control panel -> server settings указать smtp server
в control panel -> actions добавить "send email"
в control panel -> event processing policy добавить в конец правило для нужных событий и указать ему action из второго шага.

Больше про обработку событий - https://www.netxms.org/documentation/netxms_user_manual.pdf , глава 6.
#1177
Общие вопросы / Re: unspecified error
January 30, 2009, 10:59:46 PM
127 is mostly "command not found", check paths inside of /etc/init.d/netxms script
#1178
General Support / Re: Exporting NetXMS
January 25, 2009, 07:51:50 PM
You can copy database (dump / restore) to a new host, it should work just fine.
#1179
Announcements / NetXMS 0.2.24 Released
December 15, 2008, 06:42:42 PM
Hello all!

NetXMS version 0.2.24 is released.

Changes from previous release:

- Broken DB Schema fixed

Version 0.2.23 removed from downloads.
#1180
General Support / Re: Does NetXMS support NAGIOS?
December 15, 2008, 06:38:47 PM
Short answer - yes, you can.

NetXMS gathers data in multiple ways:

  • Common ways - initiated by server (NetXMS agent build-in checks, SNMP, WMI, etc.)
  • External application can push data (and events) into NetXMS from external source using nxpush / nxevent tools. We use for integration with HP ServiceDesk, for example
  • "External Parameter" can be defined for NetXMS agent. Basically, it just an application / script which output some value. This method commonly used for parameters not provided by core agent and subagents.

Solution depends on integration level you want to achieve.
If you need only events in NetXMS (e.g. "Out of disk space", "Node Down", etc.) - you can setup Nagios to execute nxevent when something happens to push event into NetXMS. This can be done with little effort.

If you want to have not only events but data too (e.g. amount of free space for every minute), you can use two ways:

  • Use nxpush and execute it periodically by Nagios / cron.
  • Create script(s) which extract data from Nagius and configure agent to run this script as "external parameter"

This should work, but I should warn you that this way can require a lot of effort to make it work (depends on the size of your network). If you want to see all collected in NetXMS - I'd suggest to install our agent on each node.
#1181
На даный момент - внешними скриптами.  Я бы сделал простенькую обвязку вокруг dig.
#1182
Hello.

No, NetXMS server doest not provide such functionality (at least now). However, it can probable be done using standalone snmp server and some scripts for passing data between netxms and snmp servers. I never tryed it myself, but I'm pretty sure it can be done quite easily.
#1183
General Support / Re: Custom monitoring agent ?
October 30, 2008, 06:15:17 PM
Yes, you can use external application / script:

Sample from nxagentd.conf:
Quote#
# ExternalParameter
#
# Add parameter handled by external command. To add multiple parameters, you
# should use multiple ExternalParameter entries. Please note that on Windows
# agent uses system process execution API for execution of specified
# command, so you cannot use pipes or shell commands. If you need to
# execute command via shell, use ExternalParameterShellExec instead.
#
# Syntax:
# ExternalParameter = <parameter_name>:<command_line>
# If you specify parameter name as "name(*)", then you can use $1 .. $9 in
# command line to substitute actual arguments passed from server.
#
# Examples:
# ExternalParameter = Test:echo test
# ExternalParameter = LineCount(*):cat $1 | wc -l
# ExternalParameter = Test2(*):myprog $1 $2

Also you can use nxpush/nxevent to push data to the monitoring server directly from your application.
#1184
General Support / Re: Received fatal Debug message
October 20, 2008, 02:43:03 AM
Thank you for report, we will investigate it.
#1185
Проверил на XP sp3 - всё замечательно. Попробуй тест из аттача, это консольное приложение, которые должно вывести время с таймзоной.

Примерно так:
Date: Sun, 05 Oct 2008 19:13:28 FLE Standard Time