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

#31
sub main()
{
      value = strftime("%Y-%m-%d %H:%M:%S", time())  //; leave off semicolon
      return value;
}

Press the Compile button causes server to crash.  Should Compile show any syntax errors before saving?
#32
like missing semicolon.  Version 2.2.8
#33
General Support / Expand All in conjunction with Filter
January 31, 2017, 10:07:51 PM
When filtering objects it would be very useful to have Expand All functionality to show where in the Infrastructure Services tree the node is referenced.
#34
In the mapping tables data you have Key, Value, Comments.  Is there a way in script to return Comments for matched key?
#35
When using LogWatch to monitor Windows EventLogs, it would be very helpful to return the EventRecordID with the other params. 
#36
General Support / LogWatch EventRecordId
January 24, 2017, 02:17:13 PM
Is there a way to capture the EventRecordId of an event and return with other event params?

Thanks.
#37
It appears the sort is the node/container id.  It would be nice to sort by the node/container name/text.
#38
General Support / Prevent Alert Storm
May 16, 2013, 07:25:22 PM
Hi,

Is there a way to prevent an Alert Storm?  I monitor the Application and System event logs and on one server the application services generated 18K+ errors.  I received an Alert (email) for each of those errors.  Is there a configuration that could monitor how many errors were generated and when over a set threshold, suppress Alerts, and generate an "Email Storm Alert"?

Thanks.
#39
ServiceCheck.SMTP("<my ip addr>","[email protected]") always returns 3

Here is the log from my SMTP server (I am using hMailServer)
"SMTPD"   3784   5793   "2013-04-09 08:45:25.814"   "<my ip addr>"   "SENT: 220 domain.local"
"SMTPD"   3784   5793   "2013-04-09 08:45:25.814"   "<my ip addr>"   "RECEIVED: HELO MAILSVR"
"SMTPD"   3784   5793   "2013-04-09 08:45:25.814"   "<my ip addr>"   "SENT: 250 Hello."
"SMTPD"   3784   5793   "2013-04-09 08:45:25.814"   "<my ip addr>"   "RECEIVED: MAIL FROM: noreply@n"
"SMTPD"   3784   5793   "2013-04-09 08:45:25.829"   "<my ip addr>"   "SENT: 550 The address is not valid."

I also tried this in the agent config
*portCheck
DomainName = domain.local

The only diff
"SMTPD"   3784   5793   "2013-04-09 08:45:25.814"   "<my ip addr>"   "RECEIVED: MAIL FROM: noreply@d"

It appears the DomainName is truncated to 1 char

#40
General Support / upgrade 1.2.3 to 1.2.5
January 31, 2013, 05:22:51 PM
Hi,

I am getting this system error frequently since upgrading to 1.2.5 - any ideas?

SQL query failed (Query = "INSERT INTO alarm_events (alarm_id,event_id,event_code,event_name,severity,source_object_id,event_timestamp,message) VALUES (?,?,?,?,?,?,?,?)"): [Microsoft][SQL Server Native Client 10.0][SQL Server]String or binary data would be truncated.
#41
General Support / Re: Using Custom Events
June 22, 2012, 07:35:03 PM
Thanks!
#42
Thanks for the update.  The implementation you suggest would be comprehensive.  I was hoping for a simple solution based on how it appears to work now (I don't know the internal details).  The Tools context menu that is displayed from node on right-click shows the Object Tool option on all nodes.  When you click that option and the agent has the action - all works as expected.  If you click and the agent does not, then you get error that agent does not support action.  I was hoping there was a way to filter from the Object Tool option - it has a filter property but not for node filtering.  This filtering would allow the Tool option to be filtered to a specific node - but understood that the agent would still need the action configured.

Thanks again.
#43
General Support / Using Custom Events
June 18, 2012, 05:03:54 PM
Hi,

NetXMS version 1.2.1 - I have multiple NetXMS Servers and have created custom Events.  Each custom Event gets it's unique Event Code and could be different if created on different servers.  I want to use common Agent config and LogParser files.  I would like to use a lookup for an Event instead of using the hardcoded code.

Thanks

Currently using this
<parser>
  <file>*Application</file>
  <rules>
    <rule>
      <level>1</level>
      <match>(.*)</match>
      <event params="1">100004</event>
    </rule>
  </rules>
</parser>

Would like this
<parser>
  <file>*Application</file>
  <rules>
    <rule>
      <level>1</level>
      <match>(.*)</match>
      <event params="1">EVENTLOG_APPLICATION_ERROR_MESSAGE</event>
    </rule>
  </rules>
</parser>
#44
Hi,

I have been using NetXMS since version 1.0.7 (Windows) and now on version 1.2.1.  Great work on the Web UI!  Since the Web UI is now full featured, I would like to extend functionality to some power users.  Is there a way to tie an Agent's Action (ActionShellExec) with the Node's context menu (from Object Tool)?  It would be great to have a Node filter to display only Agent's Actions that match.

Thanks.