[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - Host template for all servers and devices

Cheshire Cat Computing

Software support and information
It is currently Mon Aug 19, 2019 5:26 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 63 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
PostPosted: Thu Feb 06, 2014 9:30 am 
Offline
Silver User

Joined: Thu Jan 26, 2012 11:32 am
Posts: 29
Location: Linköping, Sweden


Attachments:
File comment: Added support for CPU core temperatures when the host is running snmpd with lm-sensors
host-generic-lm.htp [16.12 KiB]
Downloaded 475 times
Top
 Profile Send private message  
 
PostPosted: Thu Feb 06, 2014 10:08 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Thanks for providing this.

I would think it might be better to use " / 1000" on the Target[] line to convert to degrees Celsius, rather than using Factor[]:0.001, in the CPU temperature definition, so that the values are stored in Celsius. If you do this, it makes it easier to potentially use the c2fin options to display in Farenheit (for the benefit of Americans). I also think that (while technicaly Kelvin is the SI) it's still best to store the data in Celsius rather man in millidegrees. I think that it's always best to do the calculations on the Target line rather than using Factor if you have the choice.

S

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Fri Feb 07, 2014 10:52 am 
Offline
Silver User

Joined: Thu Jan 26, 2012 11:32 am
Posts: 29
Location: Linköping, Sweden
Sorry about the Factor in my first version. I first hacked the host template file together, then returned to this forum and was reminded about the preference for SI units in the thread about DELL UPS host template.

Included with this message is a fixed host template which no longer relies on Factor to fix the scaling.

Even though I have added some host template files to this forum I must admit that I am no expert in template writing. I would not be able to write a new host template from scratch without heavy consulting of documentation. Instead my method of writing or modifying templates usually are: copy and paste from something similar and then more or less random hacking with trial and error until the template behaves as expected. :roll:

regards Henrik


Attachments:
File comment: No longer relies on Factor to fix temperature scaling to Celsius.
host-generic-lm.htp [16.07 KiB]
Downloaded 494 times
Top
 Profile Send private message  
 
PostPosted: Sat Feb 08, 2014 8:55 am 
Offline
Silver User

Joined: Thu Jan 26, 2012 11:32 am
Posts: 29
Location: Linköping, Sweden


Top
 Profile Send private message  
 
PostPosted: Thu Feb 13, 2014 8:57 am 
Offline
Silver User

Joined: Thu Jan 26, 2012 11:32 am
Posts: 29
Location: Linköping, Sweden
I have now updated the host template to also support fan speeds and voltages. As before, the host template is fully backwards compatible for hosts which does not support lm-sensors.

As the lm-sensors MIB states that the temperature shall be given in millidegrees Celsius and the voltages in milliVolt I have also reverted back to the usage of Factor for temperatures and also for the new voltage functionality.
As far as the temperatures are concerned, I think it wouldn't harm much to use "/1000" on the Target instead, but for some of the voltages those fractions really get significant. You would not want to lose the precision and be unable to tell the difference between 3.31 V and 3.0 V.

I have also now gotten some experience from a little weirdness of net-snmp:

If the lm-sensors gives the same name for two different sensors, like "fan1" on both the motherboard and the graphics card, using the lm-sensors command "sensors" will display the values of both these "fan1". However, snmpwalk and then also of course my host template will only show the value of one of these sensors. The solution to this problem is to rename at least one of these sensors, this is done by editing a file named something like /etc/sensors.conf. Once that file has been edited, snmpd should be restarted on that host. After that snmpwalk will be able to tell the sensors apart and my host template will give graphs for both sensors.

regards Henrik


Attachments:
File comment: Now also displays fan speeds and voltages
host-generic-lm.htp [19.9 KiB]
Downloaded 504 times
Top
 Profile Send private message  
 
PostPosted: Tue Mar 24, 2015 8:41 am 
Offline
Silver User

Joined: Thu Jan 26, 2012 11:32 am
Posts: 29
Location: Linköping, Sweden


Attachments:
host-generic-lm.htp [21.36 KiB]
Downloaded 403 times
Top
 Profile Send private message  
 
PostPosted: Sun May 01, 2016 7:04 am 
Offline
Silver User

Joined: Thu Jan 26, 2012 11:32 am
Posts: 29
Location: Linköping, Sweden


Attachments:
File comment: Making system call to rup to find uptime
host-generic-lm-rup.htp [21.29 KiB]
Downloaded 387 times
Top
 Profile Send private message  
 
PostPosted: Sun Dec 10, 2017 10:20 am 
Offline
Diamond User
User avatar

Joined: Wed Dec 06, 2017 2:34 am
Posts: 819
Location: Philippines
плитка испания памеса вин бланко kerama marazzi салон керамической плитки и сантехники плитка белый мрамор для ванной комнаты фото плитка на фартук бежевая с геометрическим декором плитка на стену дизайн кухни щелочное моющее средство для керамической плитки керамическая плитка улица борисовские пруды флоранс кафельная плитка керамическая плитка для пола 40х40 купить минск плитка испания monopole toscana утепление дома с облицовкой керамической плиткой фото ванной комнаты с плиткой фиеста укладка плитки в ванной до потолка плитка для ванны с рыбками фото виды панно из кафельной плитки для ванной комнаты интернет магазин мебели в спб стеллажей для книг как мыть потолочную плитку на кухне керамическая плитка прыщи на лбу лечение тарифы на замену напольной плитки керамогранит керамическая плитка апрель варианты укладки
http://holyfamilykuru.abestmodel.com/in ... &id=422607
http://rufoeventos.com/index.php?option ... r&id=44971
http://abh.co.il/index.php?option=com_k ... &id=683857
http://mothobiattorneys.co.za/index.php ... &id=479407
http://www.inpatmos.gr/index.php?option ... &id=419175
смартфон kyocera купить в россии телефонный номер оператора мтс купить телефон планшет купить без предоплаты смартфоны андроид 4 регистратор для автомобиля купить в москве телефон samsung с 5212 купить в жуковском телефоны без рст купить спб что купить планшет или нетбук или ноутбук планшет самсунг купить в екатеринбурге смартфон на 2 сим карты нокиа 311 купить где купить самые дешевые смартфоны якутске купить наушники g501 планшет microsoft surface rt 32gb 9hr 00016 купить где в городе зернограде можно купить телефон дисплеи мобильных телефонов купить смартфоны б у купить через интернет магазин планшет htc купить спб купить дисплей для смартфона lenovo a1000 защищенный смартфон купить в новороссийске смартфон apple iphone 5s 16gb space gray me432ru a купить смартфоны inew купить в новосибирске изменение фамилии в авиабилете чешских авиалиний http://verticearq.com.mx/index.php?opti ... id=1167444
http://ptacademie.fr/component/k2/itemlist/user/360753
куда подавать документы на приватизацию квартиры в московской области квартира в кредит для молодоженов в москве сколько стоит снять 2 комнатная квартира в москве купить 1 комнатную квартиру в москве бабушкинская y квартиру в подмосковье в микрорайон светлый стоматит лечение яичным белком стоматит лечение у детей по комаровському глаза красные и чешутся лечение народными средствами зуд после молочницы лечение xiaomi redmi note 2 keddr com
http://mothobiattorneys.co.za/index.php ... &id=477127
http://larutadelyo.cl/component/k2/item ... er/2151480

_________________
http://espacioilusorio.com/index.php?op ... r&id=17612


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 63 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group