NetXMS Support Forum

Please login or register.

Login with username, password and session length
Pages: [1] 2 3 ... 10
 1 
 on: Today at 09:05:20 am 
Started by Millenium7 - Last post by Millenium7
Ok I can see it in there and it was automatically migrated, however not entirely as its not working
Driver name was empty so i've changed that to Slack
Driver Configuration is in the format of
username=NetXMS;url=[WEBHOOK URL]

Then i've gone into my action and changed it to type 'Send Notification' and set channel name to the migrated SMS one
recipient address is #alerts (same as before) and message text %n - %m %M (same as before)
Yet it's not working, still no alerts

Is there a guide to setting it up?

 2 
 on: Today at 08:52:16 am 
Started by Millenium7 - Last post by Millenium7
SNMP walk doesn't help me because you can't tell what a value is without the MIB to decode and say "thats temperature". I'd just have to guess at a bunch of values that roughly look like the right temperature

Turns out the value is .1.3.6.1.4.1.3902.1004.3.1.2.1.0 which isn't in the ZXR10 MIB files

 3 
 on: October 13, 2019, 04:16:05 am 
Started by tolimanjo - Last post by tolimanjo
Trying to do a transformation on a trap parameter. Have tried doing it this way:

oid = $1;
status = $2;
newStatus = "unknown";

switch (status)
{
   case "1"
      newStatus = "up";
      break;
   case "2":
      newStatus = "down";
      break;
}

return %(oid, newStatus);


It doesn't appear to work though, so how should I reference (and return) the parameter values?

Thanks.

 4 
 on: October 12, 2019, 10:54:12 am 
Started by TOLeg - Last post by TOLeg
Решил пока SUSE оставить. По инструкции всё чётко работает с deb пакетами.
Установил Debian 10. Скачал netxms-release_1.6_all.deb. Выполнил все по инструкции, но файлов для конфигурации не нашел, может не там искал /usr/local/bin, а может чего-то не хватает?
Результат выполнения второй команды - apt-get install netxms-agent:
Reading package lists...Done
Building dependency tree
Reading state information … Done
E: Unable to locate package netxms-agent

Дальше, я так понимаю, надо в конфиг файле указать адрес сервера и путь для логов. Но файлов нет.(см выше).
Прошу помощи. Надо принципиально Linux-овую машинку замониторить :)


 5 
 on: October 11, 2019, 09:22:30 pm 
Started by Borgso - Last post by Borgso
Have been using AgentReadList in different scenarios to dynamic apply template and dci instances
Could need some help to get it rewritten for NXLSv3


What worked in 2.2.x

Scenario 1:

DCI on agentless node, using a "source node" and "Instance discovery method: Script", called with
Quote
DW::DiscoverActiveMQ("DLQDetailsQueue")

DW::DiscoverActiveMQ script is:
Code: [Select]
if ($1 == "ActiveMQ") {
  //return AgentReadList($node, "DiscoverActiveMQ(" . $targetObject->ipAddr . ")");
  return $targetObject->readAgentList("DiscoverActiveMQ(" . $targetObject->ipAddr . ")");
}

ExternalList DiscoverActiveMQ do a do a call from source node to node and get a instance list to create DCI to poll info using a ExternalParameter (script on source node -> node) on each instance.




Scenario 2:
AutoApply template if user X is within /etc/passwd.

Using a script library with following code and "ExternalList = UserList:cut -d: -f1 /etc/passwd"
Code: [Select]
sub ServiceCheck(ServiceName) {
  if ($node->isAgent && $node->platformName like "Linux-*") {
    users = AgentReadList($node,"UserList");
    if ( users == null ) return null;
    foreach ( user : users ) {
      if ( user == ServiceName ) return true;
    }
  }
  return false;
}

 6 
 on: October 11, 2019, 09:38:45 am 
Started by szabolcs - Last post by szabolcs
One more thing :)
Is it possible to somehow display the date/time on dashboard when stored as uint? Tried to play around with formatting string %tY for example, but all i get is invalid format.

 7 
 on: October 10, 2019, 05:45:37 pm 
Started by szabolcs - Last post by szabolcs
Dear Filipp, thank you very much, think I can get this work now with, had a lack of understanding of the time functions but think I got it now. :)

 8 
 on: October 10, 2019, 04:50:58 pm 
Started by szabolcs - Last post by Filipp Sudanov
In the action script you can push the result to several DCIs, so you can store the result to one DCI and timestamp to another.
Displaying on dashboard is easier, if you have a DCI with the same name present on several nodes - in that case you can create a DCI Summary Table and use it in a Dashboard, specifying a container, where the needed nodes are located.
If all DCIs are on a single node, then it would be necessary to create a gauge for each DCI manually. Or it could be possible to create a table DCI on that node and populate data into it by script, but it would require quite complicated scripting.

 9 
 on: October 10, 2019, 03:24:46 pm 
Started by FHSRZ - Last post by FHSRZ
Thank you. I added a Key in the Event Processing Policy and now it works.

 10 
 on: October 10, 2019, 02:49:48 pm 
Started by TOLeg - Last post by Filipp Sudanov
1) Вот какой-то древний пост на форуме, там описан способ брать пакеты с одной машины с opensuse, подключенной к интернету и ставить на другую, оффлайновую. https://www.linuxquestions.org/questions/suse-opensuse-60/%5Bopensuse%5D-how-to-manage-packages-in-an-offline-computer-4175435581/
3) Это какой-то глюк с тем, что он не видит библиотеки, которые сам и скомпилил, попробуйте после сборки запустить
Code: [Select]
ldconfig
Ну и есть еще путь попробовать статически собранный линукс агент https://www.netxms.org/download/

Pages: [1] 2 3 ... 10