⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 check4file.pl

📁 JdonFramework need above jdk 1.4.0 This version has passed under Tomcat 4.x/5.x JBoss 3.x/JBoss 4.0
💻 PL
字号:
#!/usr/local/bin/perl# Filename: /opt/local/perl_scripts/check4file.pluse SNMP_util "0.54";  # This will load the BER and SNMP_Session for us$FILENAME = "/etc/passwd";## if the /etc/passwd file does not exist, send a trap!#if(!(-e $FILENAME)) {    snmptrap("public\@nms:162", ".1.3.6.1.4.1.2789", "sunserver1", 6, 1547, \             ".1.3.6.1.4.1.2789.1547.1", "string", "File \:$FILENAME\: Could\             NOT Be Found");}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -