privacysavvy

privacysavvy

Friday, June 2, 2023

[New post] How to Add a Cronjob for phpIPAM Discovery and Host Checks

Site logo image iwiizkiid posted: " Once phpIPAM is installed and subnets have been added, in order to keep subnets up to date we can create Cronjobs to run discovery and checks on each subnet. To do so, following the steps below. The following configuration focuses on the configuration re" https://networkwizkid.com

How to Add a Cronjob for phpIPAM Discovery and Host Checks

iwiizkiid

Jun 2

Once phpIPAM is installed and subnets have been added, in order to keep subnets up to date we can create Cronjobs to run discovery and checks on each subnet. To do so, following the steps below. The following configuration focuses on the configuration required on the CLI. Additionally you need to ensure that each subnet has the following flags enabled:

  • Check host status
  • Discover new hosts
  • Resolve DNS names

Note

The following steps were carried out and tested on Ubuntu.

Enter crontab

 crontab -e 

Enter the following configuration and ensure that the paths are correct for your deployment

Note

The following configuration will run cronjobs every 15 minutes to see if devices are still connected, to see if any new devices have been discovered and also to see whether any of the IP addresses can be resolved.
 */15 * * * * /usr/bin/php /var/www/html/phpipam/functions/scripts/pingCheck.php */15 * * * * /usr/bin/php /var/www/html/phpipam/functions/scripts/discoveryCheck.php */15 * * * * /usr/bin/php /var/www/html/phpipam/functions/scripts/resolveIPaddresses.php 

If you're not sure of the php path, run the following configuration

  which php 

Once the above has been configured, the relevant subnets will be automatically updated.

Comment

Unsubscribe to no longer receive posts from https://networkwizkid.com.
Change your email settings at manage subscriptions.

Trouble clicking? Copy and paste this URL into your browser:
https://networkwizkid.com/how-to-add-a-cronjob-for-phpipam-discovery-and-host-checks/

WordPress.com and Jetpack Logos

Get the Jetpack app to use Reader anywhere, anytime

Follow your favorite sites, save posts to read later, and get real-time notifications for likes and comments.

Download Jetpack on Google Play Download Jetpack from the App Store
WordPress.com on Twitter WordPress.com on Facebook WordPress.com on Instagram WordPress.com on YouTube
WordPress.com Logo and Wordmark title=

Learn how to build your website with our video tutorials on YouTube.


Automattic, Inc. - 60 29th St. #343, San Francisco, CA 94110  

at June 02, 2023
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Coffee with the Council Podcast: PCI SSC Releases Version 2.0 of the PCI Secure Software Standard 

...

  • [New post] Norwegian Black Metal Bands – Satanic or Psychotic?
    Dawn ...
  • [New post] Estrazioni Lotto di oggi martedì 30 novembre 2021
    Redazione News posted: "Seguite su Cyberludus.com la diretta delle estrazioni di Lotto, 10eLotto e Superenalotto di martedì...
  • [New post] After Announcing a New CEO, is Lordstown Motors Worth Buying?
    Editorial Team posted: "To improve its market reputation and streamline its operations, on Aug. 26 electric vehicle (EV) ma...

Search This Blog

  • Home

About Me

privacysavvy
View my complete profile

Report Abuse

Blog Archive

  • January 2026 (69)
  • December 2025 (79)
  • November 2025 (73)
  • October 2025 (88)
  • September 2025 (79)
  • August 2025 (71)
  • July 2025 (89)
  • June 2025 (78)
  • May 2025 (95)
  • April 2025 (85)
  • March 2025 (78)
  • February 2025 (31)
  • January 2025 (50)
  • December 2024 (39)
  • November 2024 (42)
  • October 2024 (54)
  • September 2024 (83)
  • August 2024 (2665)
  • July 2024 (3210)
  • June 2024 (2908)
  • May 2024 (3025)
  • April 2024 (3132)
  • March 2024 (3115)
  • February 2024 (2893)
  • January 2024 (3169)
  • December 2023 (3031)
  • November 2023 (3021)
  • October 2023 (2352)
  • September 2023 (1900)
  • August 2023 (2009)
  • July 2023 (1878)
  • June 2023 (1594)
  • May 2023 (1716)
  • April 2023 (1657)
  • March 2023 (1737)
  • February 2023 (1597)
  • January 2023 (1574)
  • December 2022 (1543)
  • November 2022 (1684)
  • October 2022 (1617)
  • September 2022 (1310)
  • August 2022 (1676)
  • July 2022 (1375)
  • June 2022 (1458)
  • May 2022 (1297)
  • April 2022 (1464)
  • March 2022 (1491)
  • February 2022 (1249)
  • January 2022 (1282)
  • December 2021 (1663)
  • November 2021 (3139)
  • October 2021 (3253)
  • September 2021 (3136)
  • August 2021 (732)
Powered by Blogger.