--- /dev/null
+# Register the function with the plugin registry
+$PLUGINS{'ftp'} = \&check_ftp;
+
+# Check FTP service using the built-in check_simple subroutine
+sub check_ftp {
+ my ($host) = @_;
+ return &check_simple( $host, 21, "", "^\s*220", "ftp" );
+}
+
+1;
--- /dev/null
+# Register the function with the plugin registry
+$PLUGINS{'pop'} = \&check_pop;
+
+# Check FTP service using the built-in check_simple subroutine
+sub check_pop {
+ my ($host) = @_;
+ return &check_simple( $host, 110, "QUIT\n", "OK", "pop3" );
+}
+
+1;