 | BF1942 Server Monitoring with Nagios |
Here's a way I figured out how to use Nagios to monitor a Battlefield 1942 server.
I can't use a php script on the server since it is a rented/managed server, but I want an independant way of tracking the up time to hold the provider accountable for any unplanned downtime (they have a refund policy of it happens). I'm running Nagios. I looked at the source code for that smurf-like attack against bf1942 servers and found out that if I send it a udp packet to port 23000 with the contents of echo, it'll send back a packet containing echoresponse. That's enough for me to check that the server is running. You can replace echo with rules, players,or status to get more info but I don't need that for my monitoring app.
I used a command line of
check_udp -H 66.28.23.75 -p 23000 -s echo -e echoresponse when using the Nagios plugins. There are double-blackslashes in there since the shell uses as an escape character.
|
|
|
|
| |
| Related Links |  |
| Article Rating |  |
| Options |  |
|