Menu

#105 Incorrect Online / Offline status

version 0.8
closed
None
5
2022-09-09
2014-10-13
No

Hey,

I've successfully setup the crontab and added an IP. When checking the IP manually it states that the IP is online (which is true). But when refreshing (or just executing the cron manually) the page states that the IP is offline (which is false). See attached screenshots.

Please note that I've correctly set the ping and nmap location, and that - when executing functions/scripts/pingCheck.php - I get no errors.

Please let me know how can I fix this.

Thanks!

2 Attachments

Related

Support Requests: #105

Discussion

<< < 1 2 (Page 2 of 2)
  • Anonymous

    Anonymous - 2017-03-21
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2017-04-03
    Post awaiting moderation.
  • dmds

    dmds - 2017-05-02

    in ../phpipam/functions/scripts/pingcheck.php change
    if(sizeof($subnet_addresses)>1)
    to
    if(sizeof($subnet_addresses)>0)

     

    Last edit: dmds 2017-05-02
  • dmds

    dmds - 2017-05-02

    Online detection is triggered if two or more online hosts were previously detected.
    if(sizeof($subnet_addresses)> 1) - 2 hosts or more.
    If there is only 1 online host or all hosts are offline, detection will never start again, even if later all hosts are connected to the network. It seems that the size of the subnet is taken from the number of previously detected online hosts.
    If you set the network size to be greater than 0, then the detection trigger will always work. (The size of the subnet is always 1 or more).
    I could be wrong....
    However, if(sizeof($subnet_addresses)> 0) works.

     

    Last edit: dmds 2017-05-02
  • Anonymous

    Anonymous - 2018-04-17
    Post awaiting moderation.
  • sachin

    sachin - 2018-04-17

    I am also facing the same issue on ipam v1.3

     

    Last edit: sachin 2018-04-17
  • Anonymous

    Anonymous - 2022-09-09
    Post awaiting moderation.
<< < 1 2 (Page 2 of 2)

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.