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

#16
General Support / Re: DATE fields in mysql database.
February 01, 2008, 05:04:13 PM
Thank you very much for your information!

I don't seem to get the localhost part working, but am still trying. Apparently, I always get status 2 back instead of status 0. In case I don't use the (127.0.0.1,9000) but by a remote host, it works... It think it has not to do with the Peoplesoft JOLT listener because also ServiceCheck.Custom(127.0.0.1,21) on FTP-host returns dci-value 2.
#17
General Support / Re: DATE fields in mysql database.
January 30, 2008, 01:10:55 PM
Thank you very much for the info.

I still have a question though. Does netxms also keep a history of "NETWORK SERVICES" data? I can find the DCI data in the IDATA_xx tables, but not the network services data?

If this is not the case, this means I need to get the status of ports via a DCI (Eg Peoplesoft JOLT listener on port 9000). I could us the ServiceCheck.Custom(x).
What do I give as a parameter x?

EG: I need to check port 9000 of node 12. How can I define a DCI for this?
ServiceCheck.Custom(localhost, 9000) -> returns status 2
ServiceCheck.Custom(9000) -> returns status 2

Thanxx in advance!
#18
General Support / DATE fields in mysql database.
January 25, 2008, 04:36:42 PM
Hello again,

I need to make a php page that shows the uptime of various services monitored by NETXMS.
I found most of the data I need, but have a problem with 'DATES' that are stored in the database. Could you please tell me how I can extract the date and time from date and time fields (eg: alarms.creation_time, alarms.change_time, idata_xx.idata_timestamp etc)?
Also, the idata_xx tables. What is the number the xx refers to?

Thank you very much in advance!
Peter.
#19
General Support / Re: Log.Scan()?
January 21, 2008, 12:55:32 PM
Ok, thank you very much for your help. After adding the Logscan.nsm to the client config file and restarting the client and core, I can indeed search a textfile... Very nice!
#20
General Support / Log.Scan()?
January 09, 2008, 12:03:51 PM
Hello everyone,

First a happy new year and best wishes for everyone.

I would like to know how the function Log.Scan is used. I can see it on one of the screenshots, but don't find any documentation on it.
I basically want to read a text file, and check for the content of the file...

Thanxx in advance for the help...
Peter.
#21
General Support / Re: Services: Request and Return codes.
November 29, 2007, 06:15:56 PM
Thank you very much.
What do you mean by "Don't realised"? Do you mean that the functionality is not implemented yet?
And what about the "User-defined" functionality?

Thank you very much...
#22
General Support / Services: Request and Return codes.
November 29, 2007, 05:19:49 PM
Hello there,

Thank you in advance for such a nice piece of software! However I have a question about some service checking functionality. Ill try to keep it as general as possible, so that everyone can use the post.

If you create a service for a managed node to check, how do you create the service? Below is a table, and I only know the request and return codes for http. I'm very interested in FTP and user-defined.

Service:         Request code:                Return Code:

http:             server:/page.html            ^HTTP/1\.[01] 200.*
ftp:               ??                                 ??
pop3:            ??                                 ??
snmp:            ??                                 ??
ssh:              ??                                 ??
user-defined:  ??                                 ??

Thank you for your help,
Best regards,
Peter.