SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Server Monitor

  1. #1
    SitePoint Evangelist captainccs's Avatar
    Join Date
    Mar 2004
    Location
    Caracas, Venezuela
    Posts
    514
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Server Monitor

    The guy who wrote my monitring scripts is AWOL and I need to update my scripts. cURL works fine for monitoring http (port 80) and https (port 443) but I haven't figured out how best to monitor:

    ftp (port 21)
    smtp (port 26 or 25)
    pop (port 110)
    mysql (port 3306)

    Any guidance would be highly appreciated.
    Denny Schlesinger
    web services

  2. #2
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    4,807
    Mentioned
    141 Post(s)
    Tagged
    0 Thread(s)
    You could use nmap via exec or system.

    Code:
    nmap -p 21 myftp.com
    Be sure to congratulate xMog on earning April's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •