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

Topics - jds

#1
General Support / Asterisk Subagent
January 30, 2023, 11:33:41 PM
I was trying to install the asterisk subagent on ubuntu from .deb package. I ran the command 'sudo apt install netxms-agent-asterisk' and it finds the subagent but it gives the error "netxms-agent-asterisk : Depends: libexosip2-11 but it is not installable". I have tried install libexosip2-11 but it's not found. Any help would be appreciated.
#2
General Support / WebAPI custom attribute filter
December 05, 2022, 09:41:57 PM
Good day all, I have been trying to use the webapi to filter objects with a particular custom attribute name. Everything I have tried either comes back with all the objects or empty. Reading the documentation I assumed the url to call this is API_BASE/objects?@custom_attribute_name={insert attribute name}. I'm thinking I have a formatting problem but I'm not sure. I am using an Admin account to call the API so permissions shouldn't be an issue. Any help would be appreciated. Thank you
#3
We are monitor some W3SVC_W3WP counters in netxms. The counters have a name format such as PID_APPPOOL. I was able to remove the PID from {instance-name} but if I remove it from {instance} the DCI doesn't work anymore. When the service restarts there is a new PID generated which creates a new DCI with the same {instance-name} but a different {instance}. What I would like to see if it's possible, is somehow keep the same DCI but allow the PID to change. The problem is we lose historical data when the new DCI is created and the old one ages out. Does anyone know of a solution for this?
#4
I have been trying to get the new web interface (war) working in our system. Our webserver is on a different server from the netxms server itself. With the old webserver we had the nxmc.properties file to set the server= parameter but with the new interface when I try to log in I get a "Connection Refused" response instead of logging in. I can log in if I change back to the legacy war file.
#5
General Support / Set Node data values
June 14, 2022, 04:31:38 PM
We have some devices that are SNMP but don't set the vendor, product name, etc via SNMP. They do state it in the SNMP description. I have parsed the snmp description to get me the info I need but I can't figure out if I can set the vendor, product name, etc via the configuration poll script. Is there a way I can set the info via the script?

Thank you,
Josh
#6
General Support / LDAP Sync Invalid Credentials
April 13, 2022, 05:49:23 PM
Hello,

Our server is spamming an alarm for Invalid Credentials on LDAP sync but I can't figure out what is wrong in my LDAP setup. It was previously working and I just recently noticed the alarms. I have made the user a domain admin, I have reset its password in the domain. I'm at a loss and any help would be appreciated.


LDAP.ConnectionString       ldap://{dc server}:389
LDAP.GroupClass               group
LDAP.GroupUniqueID         objectGUID
LDAP.SeachBase               {OU of users in domain}
LDAP.SearchFilter              (objectClass=*)
LDAP.SyncUser                 {distingushed name of user in domain}
LDAP.SyncUserPassword    {sync user password}
LDAP.UserClass                 user
LDAP.UserUniqueID           objectGUID
#7
General Support / Web API on external linux server
February 22, 2022, 05:19:57 PM
Hello,

I have installed both the website and api on an external linux server. They are in the same network as the Netxms Server. I was able to get the webserver running by putting the nxmc.properties file in the tomcat directory and it's working great. The api website on the otherhand is not. I used the nxapisrv.properties file and set "netxms.server.address" to the server name for the Netxms Server. Restarted tomcat and the /info page gives me back data but when I try to log in with my account I get connection refused and a 500 error. I've tried basic authentication, sessions, and authenticate. I tried the ip address and the FQDN instead of just the hostname of the Netxms Server. I also tried removing the properties file as the webserver and the api site are on the same box. All give me the same response. Any help would be appreciated.
#8
General Support / Webserver on a seperate server
February 09, 2022, 08:37:14 PM
Howdy,

I have been trying to get the nxmc website up and running on a seperate tomcat server. I know I'm suppose to put a file called nxmc.properties into the lib folder of tomcat but I just keep getting "The server session timed out" when I try to load the webpage. I also tried putting the file under the webapp folder inside the nxmc folder and in the tomcat config folder but got the same results. All I have in the nxmc.properties file is "server={IP of NetXMS Server}" and the servers are in the same network together.

Any help would be appreciated.

Thank you!

#9
General Support / 3.8 reporting server
April 08, 2021, 03:21:29 AM
I saw that with version 3.8 the reporting server was being bundled with the server. My question, how do we setup the reporting server on a linux box? We are running the core server in Ubuntu and install/update it with apt-get. I couldn't find the files or a services to start to get the reporting server running.

Thank you
#10
General Support / Cannot figure out web service DCI
March 29, 2021, 07:04:47 PM
Hello all,

We are trying to create a DCI that will read an Rest API json response for a value. We set up a web definition called "Test" with the api url, we added the authorization token and application/json headers. I set up the DCI according to the admin guide with "Test:/cellularBandwidth/values/total_usage" but the DCI returns <ERROR>. Here is an example of the json response:

{"cellularRssi":{"unit":"dBm","values":[{"name":"AT\u0026T","data":[{"timestamp":1616719359000,"value":"-27.0"},{"timestamp":1616721157000,"value":"-55.0"},{"timestamp":1616722951000,"value":"-48.0"},{"timestamp":1616724761000,"value":"-36.0"},{"timestamp":1616726556000,"value":"-45.0"},{"timestamp":1616728358000,"value":"-63.0"},{"timestamp":1616730161000,"value":"-52.0"},{"timestamp":1616731961000,"value":"-68.0"},{"timestamp":1616733762000,"value":"-32.0"},{"timestamp":1616735576000,"value":"-39.0"}]}]},"cellularBandwidth":{"unit":"MB","values":[{"name":"AT\u0026T","total_usage":"42.88 MB","data":[{"timestamp":1616722200000,"value":8.62},{"timestamp":1616725800000,"value":9.51},{"timestamp":1616729400000,"value":8.98},{"timestamp":1616733000000,"value":10.82},{"timestamp":1616736600000,"value":4.94}]}]}}

I think it's going to be something simple but I can't seem to find what we are doing wrong. Any help would be appreciated. Thank you!
#11
General Support / Multiple Nodes Same DCI report
February 10, 2021, 12:32:03 AM
Howdy,

Has anyone figured out how to report a DCI for multiple nodes with nxreporting? We have cellular routers that are reporting their data usages to netxms and our management would like a report that is emailed to them every monday morning. The issues is I haven't figured out how to create the postgresql query to put into jaspersoft to create the report. Full disclosure I'm a IT Security Admin and not a DB Admin so basic queries I can do but not more technical ones. I was hoping to not having to create a dataset for each of the routers as there is about 110 of them. Thank you in advanced
#12
General Support / Nodes missing from console
February 03, 2021, 04:33:29 PM
Howdy all,

I've upgrade my server to 3.7.145 and I've noticed in my console that my computer's node is missing. I haven't done a deep dive to see if any other nodes are missing yet. What makes this weird is if I look in the database for my computer, it's there and it's updating it's information like the agent is communicating just not showing up in the consoles. It was there before the server upgrade. Has anybody seen this before?

Thank you

Update: I was able to get my computer to show back in the console but I had to manually remove it from the database and restart the server. i have identified other nodes that are in the database and updating but are not in the console. The are randomly spread out among our subnets. At this point I may have to get a list from the database and go through the console to see what's missing.
#13
General Support / Cisco MIBs
November 17, 2020, 09:22:58 PM
Does anyone know how to fix MIBs that throw an error like "Import Symbol "xyz" unresolved"? I'm trying to import MIBs for our firewalls and 4 of the files throw this error. I've tried fixing them myself but nothing I do seems to work. If I remove them, the rest of the files will import fine. I have attached the MIBs

CISCO-FIREPOWER-AP-EQUIPMENT-MIB: ERROR 001: Import symbol "CfprApEquipmentPsuOperability" unresolved
CISCO-FIREPOWER-AP-PROCESSOR-MIB: ERROR 001: Import symbol "CfprApProcessorUnitId" unresolved
#14
General Support / NXShell - Create Node and Interfaces
November 09, 2020, 08:37:21 PM
Howdy,

I have been using Nxshell to create switches that we don't manage and it is creating the switch nodes great. When I try to get it to create the interfaces on the switch, it will create them but it's not setting the flags or the description for each node. It won't set the flags as all and the description is set to the name of the interface even though I use setDescription command. Does anyone know why the following script won't set the flags or description? Other than those, it has been working great.


for i in xrange(0, 48):
    name = "Gi1/0/%d" % (i + 1, )
    cd = NXCObjectCreationData(objects.GenericObject.OBJECT_INTERFACE, name, <parentnodeID>);
    cd.setCreationFlags(flags);
    cd.setDescription("GigabitEthernet1/0/%d");
    cd.setPhysicalPort(True);
    cd.setIfType(6);
    nodeId = session.createObject(cd);
    print '"%s" created, id=%d' % (name, nodeId)


Thank you,
Josh
#15
Howdy,

We have a VMWare server that is not being mapped via CDP on our Cisco C9300 switch. I have confirmed that the the switch can see the server with "sh cdp neighbor" but the Netxms Server is not making the connection. The VMWare server is SNMP active on v2c and the interfaces are populated. My current thought is because the server is connected via a Port-Channel in the switch, the MAC addresses for the physical ports are associated with the port channel and not the interface the cable is plugged into. Is there something I am missing that would help make the connection without the MAC address being in the MAC address table?
#16
General Support / Add peer manually to interface
October 27, 2020, 03:51:22 PM
Good morning!

We are loving Netxms and what all it can do. We are slow integrating it with a lot of our systems. One question that has come up is, how do we manual specify a peer for an interface? We are an University Department, we do not control the switches that most our user devices are plugged into. What switches we do control we have managed to get the peer interfaces populated. We can physically get to the switch that the devices are plugged into, so we know what ports they are in but we would like to reflect that in Netxms if possible. Does anyone know how I can do this?

Thank you in advance,
Josh
#17
General Support / Data Collection Table and regex
August 22, 2020, 12:40:59 AM
Howdy,

We were trying to get an agent to monitor SSL certificate expiration dates. We were able to achieve this with the ExternalParameterShellExec command, regex and some other commands to calculate the remaining seconds before expiration. My manager wanted me to create a table with all our SSL websites and the remaining time for each. I tried several ways to use regex to validate the string before the calculations but it seems that the transformation script on the Data Collection table doesn't support regex at all. Below are the two ways I tried to get regex to work, I use the "match" version in the ExternalParameterShellExec command and it's working flawless. If there is any regex in the transformation script, the collection errors out.


idate = $1->getColumnIndex("Date");
ireman = $1->getColumnIndex("Remaining");
for (i=0; i<$1->rowCount; i++)
{
   value = $1->get(i,idate);
   if (value match "^([A-Za-z]+)\s+([0-9]+)\s+([0-9]+):([0-9]+):([0-9]+)\s+([0-9]+)")
  {
     //alot of conversion and math is omitted
     $1->set(i,ireman,value);
  }
}



idate = $1->getColumnIndex("Date");
ireman = $1->getColumnIndex("Remaining");
for (i=0; i<$1->rowCount; i++)
{
   value = $1->get(i,idate);
   if (value ~= "^([A-Za-z]+)\s+([0-9]+)\s+([0-9]+):([0-9]+):([0-9]+)\s+([0-9]+)")
  {
     //alot of conversion and math is omitted
     $1->set(i,ireman,value);
  }
}


I've also tried to just inject a value myself instead of pulling from the table and it still gives an Error on updating the table


idate = $1->getColumnIndex("Date");
ireman = $1->getColumnIndex("Remaining");
for (i=0; i<$1->rowCount; i++)
{
        value = 1;
if (value ~= "([0-9])") //tried both match and ~= for the regex
{
$1->set(i,ireman,1);
}
}


I can't seem to find the answer on the forum of in any documentation that I can find. Any help would be appreciated.

Thank you,
Josh
#18
Howdy,

We are trying to install version 3.4.310 on Windows Server 2019 with postgres (we have also tried MS SQL). We get the install to work correctly and the database up and running quickly. When we add any users (local or LDAP) to the built-in Admin group, we get the following errors in the log files:

2020.08.14 17:34:43.135 *E* [db.drv             ] SQL query failed (Query = "SELECT id FROM user_groups WHERE id=?"): 22003 ERROR:  value "2147483649" is out of range for type integer
2020.08.14 17:34:43.150 *E* [db.drv             ] SQL query failed (Query = "INSERT INTO user_groups (name,system_access,flags,description,guid,ldap_dn,ldap_unique_id,created,id) VALUES (?,?,?,?,?,?,?,?,?)"): 23505 ERROR:  duplicate key value violates unique constraint "user_groups_pkey"
DETAIL:  Key (id)=(-2147483647) already exists.

No matter how we add the users (either through the user panel or the group panel itself). We have also created a group and added users, which gave the same error. Any help would be appreciated.

Thank you in advance.