1.Do I understand correctly, SNMP is more acceptable from the point of view of security(in cases if it is forbidden to unlink the folder on the network), while the downside is that UDP packets will load the network?
2."sharing" can only be used if you share it, which is not always acceptable.
3.WMI is not sure what the advantages are, for example, before SNMP, I know that a minus is that it works only with Windows?

3 Answers 3

Something I poorly understood the vehicle, although I read it three times.
What will you monitor? If something universal, then monitor via SNMP, it was created for that.
  • Here or someone is drunk or sober, judging by the fact that I am sober, I think that the author is drunk :) – Unsightly49 Jul 1 '19 at 13:49
  • Currently considering LANState Pro? there, for example, in the settings of monitoring disk space(or a folder), there are three options for determining the volume,"Shared Access", SNMP, WMI, to be honest, I thought that other monitoring programs work along roughly the same principle. – Night82 Jul 2 '19 at 09:47
SNMP for monitoring devices is not computers.You won’t poll them using WMI
Computers can be monitored via WMI(SNMP agent may not be on them)
What is “shared access” is unclear...
It is better to build on a specific task.
You can use the finished prog also.They are full.
  • So why do you need the SNMP service on Windows? Does it not transmit data to the network about its condition(well, that is, about the state of the machine on which this OS is installed)? – Night82 Jul 2 '19 at 09:54
  • [[anton13ms]], it works, but first you need to put it.And a more advanced version of WMI scripts.You can write a request there, and not just get the values. – Homely84 Jul 2 '19 at 15:27
  • [[dmfun]], That is:
    1.SNMP only deals with sending broadcast packets with diagnostic data with some specific timeout, right?
    2.A WMI, can send data only on request, thus does not load the network? But in response to a request, he also sends a broadcast packet? Or already a specific recipient?
    – Night82 Jul 5 '19 at 07:33
  • [[anton13ms]],
    Both SNMP and WMI send data on request and by event.But everything needs to be customized and understood.
    WMI gives the answer to the person who sent the request.SNMP can also do this.

    There are several options and SNMP and WMI are suitable.
    1) Use ready-made software(do not reinvent the wheel) - everything is ready and debugged and, as a rule, there is a lot of other useful functionality.
    2) Use WMI scripts.It is necessary to select a script and configure the polling mechanism on the list of computers so that the computer is substituted from the list. 3) Use SNMP, as I understand it, you need SNMP trap traps.The catch is that the default
    SNMP agents on computers may not be and after the agent is installed, you can still configure it.You can configure and work SNMP on request.

    Any solution is appropriate.The question is which is simpler.Therefore, you need to fully evaluate everything, and then try.
    – Homely84 Jul 5 '19 at 12:54
The use of SNMP will be correct.The amount of traffic during snmp-exchange is much less than that of everything else - because they only drive numbers.Besides, versatility - snmp was designed to monitor anything - a computer, a printer, a switch, an upsnika, a shelf.As a rule, You can limit the list of IPs from which snmp is being received - so that all kinds of snoops will not scan the network.
  • 1.Do I understand correctly that SNMP works something like this, are SNMP broadcast packets sent cyclically from a monitored machine?
    2.And theoretically, anyone on the network can catch and view this package?
    – Night82 Jul 2 '19 at 09:56
  • [[anton13ms]], No.There is a daemon running on the machine that accepts connections.From all or not from all, depending on the configuration.In response to a request, it sends an answer.There are no Broadcast messages.
    Theoretically, catch and view if encryption is not enabled(and I’m not sure if it is there at all) anyone can.But this is not a question for the snmp protocol, but for networking — there is a zillion protocols that do not have encryption.
    – Gifted9 Jul 2 '19 at 13:19