使用nvidia smi检查nvidia gpu状态的nagios插件

nagios-nvidia-smi-plugin的Python项目详细描述


此插件通过提供的nvidia smi可执行文件检查nvidia gpu状态 通过英伟达电流。

设置

  1. pip安装nagios nvidia smi插件

  2. /usr/local/bin/check_nvidiasmi.py-h:

    usage: check_nvidiasmi.py [-h] [-w RANGE] [-c RANGE] [-W RANGE] [-C RANGE]
                              [-t RANGE] [-T RANGE] [-d DEVICE] [-v]
    
    Nagios plugin to check Nvidia GPU status using nvidia-smi
    
    optional arguments:
      -h, --help            show this help message and exit
      -w RANGE, --gpu_warning RANGE
                            warning if threshold is outside RANGE
      -c RANGE, --gpu_critical RANGE
                            critical if threshold is outside RANGE
      -W RANGE, --mem_warning RANGE
                            warning if threshold is outside RANGE
      -C RANGE, --mem_critical RANGE
                            critical if threshold is outside RANGE
      -t RANGE, --gputemp_warning RANGE
                            warning if threshold is outside RANGE
      -T RANGE, --gputemp_critical RANGE
                            critical if threshold is outside RANGE
      -d DEVICE, --device DEVICE
                            Device ID (starting from 0)
      -v, --verbose         increase verbosity (use up to 3 times)
    

释放量

0.4.0-2015年5月6日:指定要检查的设备,并添加温度检查;谢谢@gslongo! 0.2.0-2013年1月16日:首次发布

开发

把我叉在Github上。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java从BatchUpdateException确定每行执行失败的原因   switch语句的java替代方案   java是一个范围内的所有毕达哥拉斯三胞胎   java ComboPooledDataSource com。太阳代理$Proxy78无法强制转换为oracle。sql。克洛布   Eclipse Java编辑器不显示减号()   JavaFX/JavaFX根据另一个可观察属性过滤可观察列表   设计模式如何在Java项目中构造我的类   性能交换机与ArrayList Java   java如何将Cucumber与TestNG示例集成?   如何在groovy中使用JIRA REST客户端JAVA创建特定项目的版本并获取任何版本的详细信息?   字节码Bytebuddy拦截java。网服务器socket构造函数   javatomcat6。x网络。xml默认和自定义servlet路由   javagwt单元表问题   java下载文本文件   java如何在Spring OAuth+引导中捕获无效的_客户端