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 - tivanni

#1
Hi!

I'm using ServiceCheck.SMTP to monitor an SMTP! I add the following line at the end of my nxagentd.conf file:

SubAgent = portcheck.nsm
*portCheck
DomainName = mydomain.com

Even if the DomainName is set, Netxms ignore it and set the from address as "netxms.mydomain.com", that is the hostname of the server.

I do some mistake on the configuration?

Thanks!


#2
General Support / Network Service vs ServiceCheck.SMTP
August 26, 2015, 03:46:17 PM
Hi all!

I have to monitor an SMTP server and i'd like to have some information about Network Service and ServiceCheck.SMTP.

I'm able to monitor the SMTP using the ServiceCheck.SMTP, but i'd like to know how use the Network Service for monitoring an SMTP. What I have to use as field "Request" and "Response"?

I have read this https://www.netxms.org/forum/configuration/web-site-monitoring/ and i have understand that ServiceCheck is used when the node monitored is not present as Node on Netxms and Network Service is used otherwise, but I like to know another thing:
another difference beetwen ServiceCheck.SMTP and Network Service is that the first is managed by netxms agent and the second in handled by Netxms server?

Thank you for the help, this community and this product are great!

#3
General Support / Nxevent not working
July 31, 2015, 04:20:41 PM
Hi,

i have two Netxms 1.2.13. . .On one of the two server, nxevent is not working!

When I try to use it, in this way:

nxevent -o 3637 -u user -P password  127.0.0.1 28, i got this error:

nxevent: symbol lookup error: /usr/local/lib/libnxcl.so.1: undefined symbol: _ZN11CSCPMessage13CreateMessageEv

The object 3637 exists and don't have problem. If i try with other object is the same. Event 28 is SYS_NODE_DOWN.

On the other server, with the same version of software, the command works fine.

Can someone solve this?

Thank you !
#4
Hi All!

I have two netxms server: one local and one remote . I have to forward the event from the local server to the remote.
Between the two server, there are several router and firewall. I have to configure the router to permit the traffic between the two server, but for this i need some information:
-What protocol is used in the comunication, udp or tcp?
-What is the source porte used?and the destination?

Also, for my knowledge, how the event are forwarded from one server to another? The local server send a string to the remote server?

Thank you for the info!

#5
Hi All!

I have a little problem with the alarm key associated to alarm creation/generation: the effect of the problem is that the alarm browser don't show all the ("real") alarms actually active.

I try to explain the problem with a little example:

In the alarm Processing policy, for service problems I have the following two rules:
     for "SERVICE_DOWN" event generate an alarm with alarm key "SERVICE_DOWN_%i" and send an email
     for "SERVICE_UP" event resolve the alarm with key "SERVICE_DOWN_%i" and send an email

Suppose than on node X, I have two service with name "A" and "B".

Suppose that on node X the following event happens(in temporally order):
1)Service A goes down -> netxms create an alarm with key SERVICE_DOWN_IDNODEX
2)Service B goes down -> netxms create an alarm with key SERVICE_DOWN_IDNODEX -> The alarm key is equal to the alarm key of alarm 1, so alarm 2 overwrites alarm1!
3)Service B goes up -> netxms resolve alarms with SERVICE_DOWN_IDNODEX

In this case, the service A is down but no alarms is showed on Alarm Viewer!(Netxms do his job correctly)
Mail notification work correctly of course.

**)
I want to fix the situation changing the alarm key generation to:
     SERVICE_DOWN -> create alarm with key "SERVICE_DOWN_%i_%5"
     SERVICE_UP      ->  resolve alarm wth key "SERVICE_DOWN_%i_%3"

The %5 and %3, in alarm creation and alarm resolving respectively, provide the unique id of the dci.

Unfortunately, i have this problem for many events and many rules, and i can't test all of it.

So my question is, can i do the changes at point **) and be sure that alarm generation continue to works correctly?Are there some event for which macros %5 and %3 don't works?
I know that answer can be obvious, but i have to be sure that mail notification continue to works!

There is the hazard that a problem in the creation of alarm key cause problem to alarm creation and mail notification?

Thank You to All!

#6
Hi guys!

I have a centos server with agent installed (1.2.13) and I use the agent to get the percentage of used space on a specific file system (using parameter FileSystem.UsedPerc()).

If I check the filesystem used space using the command "df" i got a value, while FileSystem.UsedPerc return a different value.

I know that sometimes the output of df is not up to date, but i'd like to know how the agent get the FileSystem.UsedPerc...This filesystem have a huge number of file, so i can't use the command du because it takes about an hour

Is the value returned from netxms agent more updated of the value obtained through "df"?

Thank you for the help!
#7
Hi at all,

i'm using netxms for monitoring the traffic of all interface of an AP. I create the dci by the usual (and very useful) procedure:

1)right click on the interface
2)create data collection item, and then select inbound and outbound(bytes)

As polling interval, i set 10 seconds; the retention is 30 days.

I have created the dci last week, the problem is when i try to export or to see the value in the history, i can't get all history value! I get only the value of about the last ten hours.
Netxms version is the 1.2.14, i tried both with web console and standalone console but no success.
How can i get the full history of this dci? If this data ara not accessible on console,i can found them in some table of the db?

Thank you in advance!
#8
Hi to all!

I'd like to check the status of a disk, used individually or in raid.

I see that there is a agent parameter called PhisycalDisk.SmartStatus but i don't understand how to use it. I see that netxms agent is able to retrieve data only if i pass to the function the 0 argument (PhisycalDisk.SmartStatus(0) ), also in the case in wich the server have 2 or more disk(if i pass 1 or 2 to the function, no value is returned).

Can someone please explain me how can i use this parameter?Thank you!

Another thing i see is that if a check the status of the disk with the netxms agent's parameter on a perfectly working disk, the value returned from the agent is 0; but if i check the status of a raid5 array with 1 disk damaged, the  status returned in anyway 0! Which value means that the disk is damaged?


Thank you!
#9
Hi!

i have to monitor the network bandwith used by a specified process on Window XP & 7...how can i do this?
I have searched on agent's parameter, but it seem there isn't a parameter useful for this task...
May be have i to use wmi?

Thank you!
#10
Hi!

I have a debian server with netxms 1.2.11. I have executed the upgrade from 1.2.11 to 1.2.13 and everything go fine. The only problem is the upgrade of the web ui:
when I put the 1.2.13 .war file in the webapps directory of tomcat, nothing happens (i mean, the .war archive isn't unpacked). So i can't access to the server with the 1.2.13 ui.

Anyway, the 1.2.13 server is compatible with 1.2.11 ui, so actually i login with the old web ui.

How can i resolve?

Thank you!
#11
Feature Requests / Mail with alarms summary
January 29, 2014, 06:22:33 PM
Hi,

if netxms can sent periodically a mail with the summary of the active alarms it can be so useful.

For example, configure netxms for sent a mail every 3 hours with the critical alarm still active.

Sometime, after that many up/down alarms for many host are raised, my client asks my if all equipment returned up: if I can't access the console, i have to control every up&down mail to check that all it's ok. With a summury alarm mail, i have the complete scenario under control.

Thank you! 
#12
Hi,

With nxshell, I execute some of the scripts posted in http://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations .
Sometimes the script works, sometime it returns the following exception:
org.netxms.client.NXCException: Request timed out

Here is the command i use to launch the script: java -Dnetxms.server=127.0.0.1 -Dnetxms.admin=admin -Dnetxms.password=mypwd -jar nxshell-1.2.11.jar show_alarms.py

How can i resolve the problems?

Thank you|
#13
Hi,
it can be so useful change the "propagate status as" of many items( es: interface) in one time, I mean:
1)select all the items
2)right click
3)change "propagate status as"

I have some switch with 48 interfaces, the status of the switch have to change if one of the two uplink interfaces go down...I have to monitor the other 46 interfaces, so i cannot set them as unmanaged or set expected status to "ignore" or "down"....So, actually i have to change one interface at time the "propagate status as".

Thank you!
#14
Hi,

i have two netxms server and i want to import a template from "netxms1" to "netxms2". I export the template from netxms1 on a .xml file and then i import the same file on "netxms2", but i got the following error "Cannot import configuration: component locked from admin@netxms1"...When i export the template from netxms there are no window opened in console, and when i import the configuration on netxms2, netxms1's console is closed.
Any help?
netxms1 is version 1.2.8 and netxms2 is 1.2.5

Thanks!
#15
Hi,

i'm monitoring the CRC errors for my switch's interface through snmp. I create a DCI for each interface (each DCI have a different oid), and when there are too many CRC errors a "Too Many CRC errors" event is created.
Now i want to configure the email alarm. I want in the mail alarm the interface that have too many CRC errors. For obtain this goal, i need that when event "Too Many..." is raised, the oid of the DCI is passed as parameter of the event. In that way, in event processing policy i can do the filtering that i need.
How can i pass an oid as event parameter?
I don't want to create an event for each interface.
Thank you for the help.

Giovanni

#16
General Support / Script for change propagate status
November 14, 2013, 02:03:23 PM
Hi!

I have a container with a great number of node (more then one hundred) and each node have 5/6 interface. My goal is to set the "Propagate Status" as "Normal" for each interface of each node in this containar.

Is it possible to set the interface's Propagate Status from Nxshell? I've searched in the docs for this function but i don't find it.
If is impossible to do through Nxshell, do you advice me to realize the script with directly Mysql or using the Java API?

I want to realize a dashboard and put in it all of this node. The status of the node is calculated from some DCI obtained from the agent and i don't want are generated alarms if some interface is down.
Than i put the dashboard on a big TV and i show to the client he's equipment are monitored in everymoment  ^_^

PS: Dashboard are great for this kind of job!!


#17
General Support / NXSL: Casting problems
October 28, 2013, 02:36:51 PM
Hi,

i'am trying to realize a filtering script that when an interface goes down get an snmp value from the switch, using the IfIndex of the interface.

Here is my filtering script:

sub main() {
   
   transport = CreateSNMPTransport($node);    // Create SNMP transport for node
   
   ifIndex= %5;   
   
   value = SNMPGetValue(transport, ".1.3.6.1.4.1.9.2.2.1.1.28.".ifIndex);
   
   
   
   CUSTOM_MESSAGE = "Description: ".value;
   
   
 
  return true;
}

The IfIndex of the interface is rapresented by the %5 special variable, because the filtering script is relative to "SYS_IF_DOWN" event which has as parameter:

"
   1) Interface object ID
   2) Interface name
   3) Interface IP address
   4) Interface netmask
   5) Interface index
"

But when the script is executed i get the following error code:

Error in line 5: syntax error, unexpected T_INT32, expecting '('.

I have tryed to cast the value -> ifIndex = string(%5);

or

I have tryed to use a switch case to convert the value:

switch(%5):
   case "10134": etc

but nothing works :(

Can you help me?

Tnx
#18
Hi,

i have the following scenario:

one netxms server monitoring many Cisco 2960. When an interface of switch goes down, i want that netxms sent a mail alarm with the interface name and the host connected to that interface.

Unfortuneatly, my netxms can't get the list of peer connected to the switch (https://www.netxms.org/forum/general-support/can%27t-get-switch-forwarding-database-on-cisco-2960/msg10277/#msg10277). There are news about this problems?

If no, i realize a filtering script that get interface description from the switch through SNMP and add it to the message mail .

Thank You



#19
Hi,

when netxms check a node throught icmp, how many icmp packets sent?
I've to check a node over a vpn tunnel, if i ping that node from my network, usually I lose some icmp packets.
So, my goal is similar to this:
i sent 5 icmp packet, if I lose all the packets then netxms have to consider the icmp status polling failed.
Is it possible to configure this?
If not, no problem, i write a simple script that do this task and i execute it throght netxms.

Thank you!
#20
General Support / How to use nxaction from command line
September 02, 2013, 05:48:53 PM
Hi,

i need to run a netxms action from a script, so i want to use nxaction from command line. I have Netxms installed on Debian.
My action is saved as "test_action", when executed it send a mail.
if i run from command line "nxaction netxms test_action" (where netxms is the name of the node of the Netxms Server) , I got "Error 500: Internal Error".
How can i run this action from command line?
Thank you :)