Welcome to the JaguarPC Community
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 36

This is a discussion on Network status in the Resellers forum
I would think whoever wrote the script was smart enough to just use the info the public status page uses which checks every 5 minutes. ...

  1. #16
    Loyal Client
    Join Date
    Jul 2005
    Posts
    243
    I would think whoever wrote the script was smart enough to just use the info the public status page uses which checks every 5 minutes. If it is, I doubt it works on any ip address other than jags since it should just be pulling stored info instead of checking ports again...so i don't really see any security risk.

  2. #17
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,136
    Quote Originally Posted by jdigital View Post
    I would think whoever wrote the script was smart enough to just use the info the public status page uses which checks every 5 minutes. If it is, I doubt it works on any ip address other than jags since it should just be pulling stored info instead of checking ports again...so i don't really see any security risk.
    No it worked on any ip.

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  3. #18
    Loyal Client
    Join Date
    Jul 2005
    Posts
    243
    Well there's plenty of ways to check if a port is up or down and not limited to just the 5 or 6 we're checking...how is that a security risk?

  4. #19
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,136
    Here you go.

    Code:
    https://secure.jaguarpc.com/clients/ext/network_status.php?s=amazon.nocdirect.com
    Just replace amazon.nocdirect.com with your server name. And if you omit variable s then it will show full network status.

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  5. #20
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,136
    Quote Originally Posted by jdigital View Post
    Well there's plenty of ways to check if a port is up or down and not limited to just the 5 or 6 we're checking...how is that a security risk?
    dos against outside ips.

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  6. #21
    Loyal Client
    Join Date
    Jul 2005
    Posts
    243
    Could it return the results the way old script did so I and anyone else who uses this script don't have to redo our status pages to get the formatting we wanted back?

  7. #22
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,136
    The old script seems to output 1s and 0s e.g. 1010111. Is that what you would like to see as output?

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  8. #23
    Loyal Client
    Join Date
    Jul 2005
    Posts
    243

    Output

    Yea if it could. I already have status page and the simple output allowed me to format the page to fit my current layout

  9. #24
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,136
    Please add another variable to the URL &f=1 to get simple 1s and 0s output. e.g.

    Code:
    https://secure.jaguarpc.com/clients/ext/network_status.php?s=amazon.nocdirect.com&f=1

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  10. #25
    Loyal Client
    Join Date
    Jul 2005
    Posts
    243
    Sweet! Appreciate the effort.

  11. #26
    Loyal Client Poirot's Avatar
    Join Date
    Jun 2007
    Location
    Brisbane, Australia
    Posts
    17
    Quote Originally Posted by JPC-Greg View Post
    this is the source to a free script we would like to extend to all our clients
    http://www.jaguarpc.com/clients/ext/checkserver.phps
    Can this script be extended so it also shows the last time checked, cPanel and Https like this one: https://secure.jaguarpc.com/clients/...ocdir ect.com

  12. #27
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    2,136
    Quote Originally Posted by Poirot View Post
    Can this script be extended so it also shows the last time checked, cPanel and Https like this one: https://secure.jaguarpc.com/clients/...ocdir ect.com
    That script you are referring to is very basic. You can add date time of port checking at any place but it will be of no use as last time checked is same when the script will run. The one you are comparing to is part of a very large monitoring system where ports are checked from other scripts on different servers at different times, hence the need to see when was it checked.

    Masood N. | Chief Technical Officer
    JaguarPC.com


    Helpful Links
    Knowledge Base | Network Status

  13. #28
    Loyal Client Poirot's Avatar
    Join Date
    Jun 2007
    Location
    Brisbane, Australia
    Posts
    17
    Righto, thanks Masood.

  14. #29
    Loyal Client
    Join Date
    Dec 2010
    Posts
    20
    Old thread, I know...but I need help getting this to work and can't find any other post or guide on this topic any newer elsewhere.

    The link "https://secure.jaguarpc.com/clients/ext/network_status.php?s=amazon.nocdirect.co m" above works for me - shows the network status perfectly.

    But, when I try to replace "amazon.nocdirect.com" with my server name (aka: server2.poweredbyfish.com), all I get is blank data. For example: https://secure.jaguarpc.com/clients/...edbyfi sh.com just loads with no server information.

    What am I doing wrong?

    Thanks in advance for any input you can provide.

  15. #30
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,826
    Perhaps the script needs to be modified to allow for non-nocdirect names but still within the complex, or perhaps a set of (pre) approved servers?

    I don't know what Masood's security issue is though.
    Good luck

Page 2 of 3 FirstFirst 123 LastLast

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
  •