Unfortunately, your method is, as other posters have pointed out, rather flawed.
You have no idea of the true excitation amplitude of you "shaker" vs input frequency, and even more important, no idea of the coupling ratio between the exciter and the sensor.
Luckily, none of that really matters, because, broadly speaking, what you care about isn't the knock sensors natural frequency, but that of the knocking pressure wave in your engine.
Knock sensors fall into two categories:
1) resonant
2) non resonant.
In early EMS systems an resonant sensor was used, that was carefully matched to F(Kp) as this did not require "high speed" crankshaft position synchronous signal processing in the ecu. The ECU could just low pass filter the input signal to get a roughly RMS knocking voltage, and when that exceeds a certain value within a certain crank angle window, could flag up "knocking" and retard ignition etc. These sensors are highly dependent upon their installation environment, and use a spring/mass system that puts their resonant (and hence highest output) voltage at the corresponding F(Kp).
As the power of EMS system processing has increased, all modern systems moved away to a non resonant sensor architecture, in which the frequency response of the sensor is broadly flat across the measurement spectrum (4 to 16Khz typically). These sensors require some analogue or Digital signal processing to maximise the signal to noise ratio of the knock intensity signal, but are much easier to use (as you don't need to develop a specific sensor hardware specification per engine derivative)
Now, assuming you want to use this sensor to measure engine knock, rather than some other kind of signal, you simple need to install the sensor on your engine, record it's output with a PC sound card or similar (needs a high impedance Opamp front end really), run your engine without knock (retard spark, or run super high grade fuel and log the frequency spectrum, then run deliberately into knock (at low speed, lowest load possible to avoid engine damage) and re-record the output spectrum. By taking A result away from B result, you will see the various (fundamental + harmonics) knocking frequencies of your engine. You will also see, especially if you are not crank angle filtering the signal, a load of noise from things like valve events or piston slap etc.
Vehicle OEMs spend literally millions optimising their knock sensing and response calibration, and it becomes very complex and quite subtle. Even silly things such as road gravel hitting the sump (in the days before cars all had "aero" undertrays/guards) could trigger a false knock detection event! ;-)