Recommend this page to a friend! |
All requests ![]() |
> | Web page to monitor devices via SNMP | > | Request new recommendation | > | ![]() |
> | ![]() |
by Pedro Agriarte - 3 years ago (2021-10-15)
+3 | In local PHP Web with XAMPP, I can get SNMP data from my network printer. I can see, for example, if it has toner, a paper jam, etc. The same Web site hosted on a virtual private server does not return data because the SNMP library only has a scope on the server-side. I'm looking for a way that the SNMP library can see the local network. Maybe Laravel/Apache or maybe Node/Angular or JavaScript? |
2. by Pedro Agriarte - 3 years ago (2021-10-18) Reply
Thanks Manuel,
Do you mean that with this class I can see a local network from a web page hosted on an internet server (VPS)?
Or will I only be able to see the server side?
3. by Manuel Lemos - 3 years ago (2021-10-29) in reply to comment 2 by Pedro Agriarte Comment
Sorry for the delay. I only have seen your question now.
You can also see the network devices that are accessible from the server computer where PHP is running.
If your server is on the same local network as you computer that runs your browser, you may also see the devices that are in the local network.
4. by Pedro Agriarte - 3 years ago (2021-10-30) in reply to comment 3 by Manuel Lemos Comment
Thanks Manuel, all answers are always welcome
Maybe I'm looking for an impossible challenge. PHP/Laravel and nodejs are running on the backend and I want to see the frontend
5. by Manuel Lemos - 3 years ago (2021-10-30) in reply to comment 4 by Pedro Agriarte Comment
Well, if the server is not the same network that you call local, the server that runs this package using the PHP SNMP support usually cannot connect to the local devices because these use private IP addresses.
The SNMP query components can only query reachable devices. Devices with private IP addresses are not reachable when they are inside a local network unless some routing service would make them reachable.
Usually, this does not happen because it would expose those devices to eventual security attacks.
1. by Pedro Agriarte - 3 years ago (2021-10-18) Reply
Thanks Manuel,
Do you mean that with this class I can see a local network from a web page hosted on an internet server (VPS)?
Or will I only be able to see the server side?
+2 |
You can use this package to extract the status information on the devices you want to query on the network server. Then you can develop the code for a page that will use the information returned by this package to show the status of the devices on that page. |
Recommend package | |
|