#ifndef CHECK_SENSORS_H #define CHECK_SENSORS_H #include #include #include #include #include #include #include #include #include "auxiliar.h" #include #define OK 0 #define WARN 1 #define CRIT 2 #define UNKN 3 #define VERSION "1.0" int getTemps(const std::string& sensorName, std::map& temps); int evalStatus(const std::string& sensorName, double warn, double crit, std::string& status); void printVersion(); void printHelp(bool longVersion); void set_timeout(unsigned int sec); #endif