This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// login: <synologyUrl>/webapi/auth.cgi?api=SYNO.API.Auth&method=login&version=7&account=<user>&passwd=<pass>&session=SurveillanceStation&format=sid | |
// camera list: <synologyUrl>/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&method=List&version=7&start=0&limit=100&_sid=<sid> | |
$synologyUrl = 'https://192.168.1.XX:5001'; | |
$user = "<user>"; | |
$pass = "<password>"; | |
$cameraID = 1; // field "ID" from camera list | |
$cameraStream = 1; // 0 = live stream, 1 = recording stream, 2 = mobile stream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
/* | |
|-------------------------------------------------------------------------- | |
| Host | |
|-------------------------------------------------------------------------- | |
| | |
| The expose server to connect to. By default, expose is using the free |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
=head1 PLUGIN | |
check_disk_inodes.pl : check inodes of disks on Unix servers | |
=head1 ENVIRONNEMENT | |
Linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Title</title> | |
<style type="text/css"> | |
html, body { | |
height: 100%; | |
} | |
body { | |
margin: 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* ISPConfig Icingia2 HTTP Service Plugin for ISPConfig Version 3.1.2 and above. | |
* | |
* This class extends ISPConfig's vhost management with the functionality to manage icingia2 HTTP services. | |
* | |
* This Plugin requires Icinga2 (https://www.icinga.com/products/icinga-2/) | |
* The config files add a variable named "vars.http_vhosts" to an existing icinga2 host. | |
* With the matching icinga2 service configuration a icinga2 service will be added for each entry contained in "vars.http_vhosts". |