windows - Nagios 插件 check_logfiles 用户和实施者在 windows 上的使用情况
问题描述
我正在寻找任何使用 Nagios Plugin check_logfiles for Windows 的人。
我有这个插件在 Linux 操作系统下工作。我真的很难让它在 Windows 操作系统下构建和工作。
这么多东西,但我无法为 Windows 构建一个好的插件。我一定做错了什么,因为我看到其他人在这方面取得了成功。另一件事是它是在 Perl 中的,由于这个原因,我现在只是在学习 Perl,所以,我对这个插件的编程语言不太感兴趣,这有点伤人。
C:\Program Files (x86)\Nagios\NCPA\plugins\check_logfiles-3.12\plugins-scripts>check_logfiles -f "C:\Program Files (x86)\Nagios\NCPA\contrib\chec
k_logfiles.cfg"
Can't locate object method "new" via package "Nagios::CheckLogfiles" at C:\Program Files (x86)\Nagios\NCPA\plugins\check_logfiles-3.12\plugins-sc
ripts\check_logfiles.pl line 360.
谢谢您的帮助
解决方案
well, sometimes you just have to sit back and laugh at yourself sometimes.
this problem was / is due to the Perl Windows build process and I didn't have internet to CPAN install modules.
I set the env http_proxy= and https_proxy= and I can build successfully.
sorry I panicked. thanks everyone.
推荐阅读
- entity-framework-core - 实体框架核心排除 INNER JOIN
- c# - 封装没有 lambda 表达式的字段
- c# - 如何使用 C# 中的 zkemkeeper 库在图片框中的运行时获取指纹?
- python - 根据熊猫组比较日期
- machine-learning - TFF 联邦学习,评估方法
- ios - 自定义委托以使用 UIView 类中的 pushViewController
- css - Pdfkit python css在aws ec2服务器上没有按预期工作
- r - RMarkdown 使列表的元素在环境中可用
- r - 计算列中重复出现的值的列,重置为新值
- uitableview - 如何删除 Xamarin iOS 中每个单元格中的默认编辑图标