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

#1
hi Token, thank you so much for your reply! The trick is very useful!
#2
Hi All, I am trying to create a filtering script to check if a delay timer key has expired or not.  Is there any NXSL Class serves such purpose?

Here is what I am trying to achieve :-

1) Delay the email alert by 180 seconds if any node/interface is down [Done]
2) When the node/interface is up and the delay timer is still within 180 seconds, no email alert. Otherwise, an email alert on the node/interface is UP.

Any help is greatly appreciated!

Pedro
#3
General Support / Re: Web Page Load Time
June 26, 2017, 12:27:21 PM
Thanks for you information! Let me check!!
#4
General Support / Re: Web Page Load Time
June 26, 2017, 04:05:58 AM
Up!
#5
General Support / Web Page Load Time
June 21, 2017, 04:26:37 AM
Hi All,

We have some heavy web page so we would like to monitor the load time of these pages from NetXMS server. Is there any plugin can do it?

Many thanks!

Pedro
#6
Hi All,

I found that a few Windows 2012 R2 server has sometimes this warning message "Too Many Communication Sessions Open - Unable to accept new connection". When it happens, I could not login or remote desktop to the server any more. I need to do a hard reset of the server. 

My NetXMS version is
Server 1.2.14
Agent: 1.2.17

Anyone has similar problem? How to fix it?

Any help is greatly appreciated!

Pedro
#7
General Support / Re: Traceroute
May 29, 2014, 10:53:24 AM
hi All, after digging on the forum, I finally figured out how to do that. Basically, I use ExternalParameter to implement the traceroute checking function.  Here is what I did :-

1) Create a powershell script in a host, check_3hoptracert.ps1

2) In the nxagentd.conf, add this line

ExternalParameter = Check_3Hop(*): "c:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" "D:\netxms-agent\bin\check_3hoptracert.ps1" $1 $2 $3 $4

3) In NetXMS console, add a DCI per the screen attached.

Please make sure the AgentCommandTimeout specified in server configuration and exectimeout specified in nxagentd.conf are large enough to execute the script.

I hope this can help someone in the future. Thanks!

check_3hoptracert.ps1
===============
# This script is to check whether the first 3 hops of a traceroute is the same as the specifed ip addresses
# Return "OK" if same; otherwise "Changed"
#
# Usage : check_3hoptracert hostname 1st-hop 2nd-hop 3rd-hop
#
# Written by Pedro on 29/5/2014


# Get arguments
$hostname = $args[0]
$ip1 = $args[1]
$ip2 = $args[2]
$ip3 = $args[3]


# Run traceroute
tracert -d $hostname > c:\temp\tracert.txt

# Get 1st hop
$hop1 = get-content c:\temp\tracert.txt | select-object -skip 3 | select-object -First 1 | % { $_.substring(32,9); }
#write-host $hop1  " " $ip1
if ( $hop1 -ne $ip1 ) {  write-host "Changed"; EXIT 0; }

# Get 2nd hop
$hop2 = get-content c:\temp\tracert.txt | select-object -skip 4 | select-object -First 1 | % { $_.substring(32,9); }
#write-host $hop2
if ( $hop2 -ne $ip2 ) {  write-host "Changed"; EXIT 0; }


# Get 3rd hop
$hop3 = get-content c:\temp\tracert.txt | select-object -skip 5 | select-object -First 1 | % { $_.substring(32,9); }
#write-host $hop3
if ( $hop3 -ne $ip3 ) {  write-host "Changed"; EXIT 0; }

# The traceroute result is the same as specified
write-host "OK"
del c:\temp\tracert.txt
EXIT 1



#8
Victor, thank you very much!
#9
hi hksulja, have you found an answer to your question? If so, could you share with us? Thanks!!
#10
General Support / Traceroute
May 22, 2014, 10:00:58 AM
hi all,

I just wonder if there is any monitor on the trace route result! What I want to do is if the predefined traceroute result is different from the real time traceroute result, an alert should be sent out.

Thanks!

Pedro
#11
General Support / Network Service Alert
March 05, 2013, 05:24:01 PM
Hi All,

In DCI, we can set the no. of poll before setting the threshold alarm. Is there any similar parameter we can set for Network Service?

Thanks!!
Pedro
#12
hi Victor, where I can find the server log? Thanks!
#13
General Support / Re: ICMP PING
March 05, 2013, 05:19:50 PM
Hi Victor, thanks for your reply! I use 1.2.5. Will update to 1.2.5

Thanks!
#14
Hi SKYnv, I tried both "," & ";". Both doesn't work. Any idea? Thanks!
#15
Hi All,

In the Action Configuration, is it possible to enter multiple email address in the recipient's address field?

Thanks!

Pedro