[UPDATE] - man page not local
This commit is contained in:
parent
ffc9ad66ed
commit
8fd4776f92
Binary file not shown.
@ -1,21 +1,18 @@
|
||||
% MONITHOR-CLIENT(1) Version 1.12 | client bash de monitoring
|
||||
---
|
||||
title: monithor-server
|
||||
section: 1
|
||||
author: Guillaume Astier Ruiz
|
||||
date: 20220320
|
||||
...
|
||||
|
||||
NAME
|
||||
=====
|
||||
|
||||
** monithor-client ** - service
|
||||
|
||||
|
||||
SYNOPSIS
|
||||
=====
|
||||
# SYNOPSIS
|
||||
|
||||
`/usr/local/bin/monithor-client [start/stop]`
|
||||
|
||||
`/etc/init.d/monithor-c [start/stop]`
|
||||
|
||||
|
||||
DESCRIPTION
|
||||
=====
|
||||
# DESCRIPTION
|
||||
|
||||
monithor-client(1) permet de surveiller votre système d'information
|
||||
|
||||
@ -25,8 +22,7 @@ monithor-client(1) permet de surveiller votre système d'information
|
||||
|
||||
- un serveur web en python est lancé sur votre machine de monitoring
|
||||
|
||||
INIT.D
|
||||
======
|
||||
# INIT.D
|
||||
|
||||
le service peut être démarré et arrêté via system V
|
||||
|
||||
@ -38,8 +34,7 @@ le service peut être démarré et arrêté via system V
|
||||
|
||||
`/etc/init.d/monithor-c start`
|
||||
|
||||
CONFIGURATION SERVICE
|
||||
=====
|
||||
# CONFIGURATION SERVICE
|
||||
|
||||
- Le fichier responsable de la gestion IP/PORT est : service.cfg
|
||||
|
||||
@ -69,8 +64,7 @@ CONFIGURATION SERVICE
|
||||
|
||||
* WebPort : correpond au port utilisé pour lancer le serveur web python
|
||||
|
||||
CONFIGURATION SONDE
|
||||
=====
|
||||
# CONFIGURATION SONDE
|
||||
|
||||
- La configuration des sondes est stocké dans le répertoires :
|
||||
|
||||
|
||||
Binary file not shown.
@ -1,22 +1,18 @@
|
||||
% MONITHOR-SERVER(1) Version 1.12 | server bash de monitoring
|
||||
---
|
||||
title: monithor-server
|
||||
section: 1
|
||||
author: Guillaume Astier Ruiz
|
||||
date: 20220320
|
||||
...
|
||||
|
||||
|
||||
|
||||
NAME
|
||||
=====
|
||||
|
||||
** monithor-server ** - service
|
||||
|
||||
SYNOPSIS
|
||||
======
|
||||
# SYNOPSIS
|
||||
|
||||
`/usr/local/bin/monithor-server [start/stop]`
|
||||
|
||||
`/etc/init.d/monithor-c [start/stop]`
|
||||
|
||||
|
||||
DESCRIPTION
|
||||
=====
|
||||
# DESCRIPTION
|
||||
|
||||
monithor-server(1) permet d'accépter des requêtes venant d'un instance monithor-client
|
||||
|
||||
@ -36,8 +32,7 @@ le service peut être démarré et arrêté via system V
|
||||
|
||||
`/etc/init.d/monithor-c start`
|
||||
|
||||
CONFIGURATION SERVICE
|
||||
=====
|
||||
# CONFIGURATION SERVICE
|
||||
|
||||
- Le fichier responsable de la gestion IP/PORT est : service.cfg
|
||||
|
||||
@ -57,8 +52,7 @@ CONFIGURATION SERVICE
|
||||
|
||||
* Crypted : si la valeur est à "yes" le binnaire crypcat est utilisé, si non netcat est utilisé
|
||||
|
||||
CONFIGURATION SONDE
|
||||
=====
|
||||
# CONFIGURATION SONDE
|
||||
|
||||
- La configuration des sondes est stocké dans le répertoires :
|
||||
|
||||
@ -72,15 +66,13 @@ Chaque sonde est composé de cette manière :
|
||||
|
||||
* SCRIPT : Script éxecuté sur l'instance avec le(s) argument(s) reçu(s) de monithor client
|
||||
|
||||
SCRIPT
|
||||
=======
|
||||
# SCRIPT
|
||||
|
||||
les scripts sont tous stocké dans le répertoire :
|
||||
|
||||
/usr/local/bin/monithor-server.d/
|
||||
|
||||
Exemple
|
||||
======
|
||||
# Exemple
|
||||
|
||||
* Configuration server :
|
||||
|
||||
|
||||
@ -62,11 +62,11 @@ ManPage() {
|
||||
pandoc -s -t man ${Wai}/doc/monithor-${1}.md -o ${Wai}/doc/monithor-${1}.1
|
||||
[[ -f ${Wai}/doc/monithor-${1}.1.gz ]] && rm -f ${Wai}/doc/monithor-${1}.1.gz
|
||||
gzip ${Wai}/doc/monithor-${1}.1
|
||||
cp ${Wai}/doc/monithor-${1}.1.gz ${Wai}/monithor-${1}/usr/local/man/fr/man1/
|
||||
cp ${Wai}/doc/monithor-${1}.1.gz ${Wai}/monithor-${1}/usr/share/man/man1/
|
||||
fi
|
||||
if [[ $2 == "delete" ]]
|
||||
then
|
||||
rm ${Wai}/monithor-${1}/usr/local/man/fr/man1/*
|
||||
rm ${Wai}/monithor-${1}/usr/share/man/man1/*gz
|
||||
rm ${Wai}/doc/monithor-${1}.1.gz
|
||||
fi
|
||||
}
|
||||
@ -84,6 +84,6 @@ ManPage client create
|
||||
ManPage server create
|
||||
BuildDeb client $NewTag
|
||||
BuildDeb server $NewTag
|
||||
#ManPage client delete
|
||||
#ManPage server delete
|
||||
ManPage client delete
|
||||
ManPage server delete
|
||||
CleanTemp
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Update man page"
|
||||
#mandb 2>&1 > /dev/null
|
||||
mkdir /var/cache/man/oldlocal/fr -p
|
||||
mandb 2>&1 > /dev/null
|
||||
|
||||
echo "Fin d'installation"
|
||||
|
||||
mkdir /var/cache/man/oldlocal/fr -p
|
||||
|
||||
Binary file not shown.
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Update man page"
|
||||
#mkdir /var/cache/man/oldlocal/fr -p
|
||||
#mandb 2>&1 > /dev/null
|
||||
|
||||
echo "Fin d'installation"
|
||||
|
||||
mkdir /var/cache/man/oldlocal/fr -p
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user