Server IP : 85.214.239.14 / Your IP : 18.116.85.96 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/root/proc/self/root/proc/2/cwd/usr/share/augeas/lenses/dist/tests/ |
Upload File : |
module Test_bbhosts = let conf = " # A comment page firstpage My first page group-compress A group 1.2.3.4 amachine # http://url.to/monitor https://another.url/to/monitor cont;http://a.cont.url/to/monitor;wordtofind 1.2.3.5 amachine2 # http://url.to/monitor https://another.url/to/monitor !cont;http://a.cont.url/to/monitor;wordtofind group-only dns VIP DNS 10.50.25.48 mydnsmachine.network # 10.50.25.49 myotherdnsmachine.network #noping noconn !ssh dns;mydnstocheck # a comment in a group page anotherpage A new page # a comment in a page group-compress My test 192.168.0.2 myhost # https://myurl.com:1256 noconn pop3 imap2 ssh 192.168.0.3 myhost2 # !imap2 telnet dns group-compress DownTime 0.0.0.0 myhost3 # DOWNTIME=fping,http:*:1800:1015:\"Frontal 01 Redirect Amazon eteint entre 18h et 10h\" 0.0.0.0 myhost4 # ftps imaps imap4 pop-3 pop2s pop smtp smtps ssh ssh1 ssh2 telnet telnets " test BBhosts.lns get conf = {} { "#comment" = "A comment" } {} { "page" = "firstpage" { "title" = "My first page" } {} { "group-compress" = "A group" { "host" { "ip" = "1.2.3.4" } { "fqdn" = "amachine" } { "probes" { "url" = "http://url.to/monitor" } { "url" = "https://another.url/to/monitor" } { "cont" = "" { "url" = "http://a.cont.url/to/monitor" } { "keyword" = "wordtofind" } } } } { "host" { "ip" = "1.2.3.5" } { "fqdn" = "amachine2" } { "probes" { "url" = "http://url.to/monitor" } { "url" = "https://another.url/to/monitor" } { "cont" = "!" { "url" = "http://a.cont.url/to/monitor" } { "keyword" = "wordtofind" } } } } {} } { "group-only" = "VIP DNS" { "col" = "dns" } { "host" { "ip" = "10.50.25.48" } { "fqdn" = "mydnsmachine.network" } { "probes" } } { "host" { "ip" = "10.50.25.49" } { "fqdn" = "myotherdnsmachine.network" } { "probes" { "noping" = "" } { "noconn" = "" } { "ssh" = "!" } { "dns" = "" { "url" = "mydnstocheck" } } } } { "#comment" = "a comment in a group" } {} {} } } { "page" = "anotherpage" { "title" = "A new page" } {} { "#comment" = "a comment in a page" } {} { "group-compress" = "My test" { "host" { "ip" = "192.168.0.2" } { "fqdn" = "myhost" } { "probes" { "url" = "https://myurl.com:1256" } { "noconn" = "" } { "pop3" = "" } { "imap2" = "" } { "ssh" = "" } } } { "host" { "ip" = "192.168.0.3" } { "fqdn" = "myhost2" } { "probes" { "imap2" = "!" } { "telnet" = "" } { "dns" = "" } } } {} } { "group-compress" = "DownTime" { "host" { "ip" = "0.0.0.0" } { "fqdn" = "myhost3" } { "probes" { "DOWNTIME" { "probe" = "fping" } { "probe" = "http" } { "day" = "*" } { "starttime" = "1800" } { "endtime" = "1015" } { "cause" = "Frontal 01 Redirect Amazon eteint entre 18h et 10h" } } } } { "host" { "ip" = "0.0.0.0" } { "fqdn" = "myhost4" } { "probes" { "ftps" = "" } { "imaps" = "" } { "imap4" = "" } { "pop-3" = "" } { "pop2s" = "" } { "pop" = "" } { "smtp" = "" } { "smtps" = "" } { "ssh" = "" } { "ssh1" = "" } { "ssh2" = "" } { "telnet" = "" } { "telnets" = "" } } } } }