Category Archives: Operating System

UCS Performance Manager is another “wonderful” product of Cisco for monitoring your physical and virtual infrastructure. Requirements: 8 vCPUs 40 GB of memory The upgrade should be easy, but it’s not. My upgrade process was stuck due to the process zenmail blocked in running mode. Then to be able to upgrade I had to open 2 shell sessions: 1 with the upgrade process 1 with the root shell During the process, I have got a quick look at /mnt/cdrom/update-zenoss.sh

The script was hanging every time, it had to stop all services with serviced daemon. After a quick look, the interesting line was: serviced service status --show-fields 'Status' 2>/dev/null | grep -v "Stopped" | grep -v "Status" | grep -v ^[[:space:]]*$ During 60 retries, the result was “Running” but to go further, it should be “Stopped”. One service was still running every time: zenmail To stop the zenmail process:

Select the serviceID and execute the following command: serviced service stop 6bnlfl5qzog18j4mrnxszllyx Then wait till the end of the…

Read more

A friend had a small problem to add a page number on a PDF with a lot of pages. After a quick chat, I have built this script:

Have fun !

Voici un début de complétion pour OpenVZ:

Au fur et à mesure, le script sera mis à jour.

Une nouvelle version de Network Discovery a vu le jour. Un menu: Correction de bugs Amélioration de l’interaction avec rrdtool Il est aussi possible de télécharger un ISO avec NeDi basé sur OpenBSD (4.4) Site Web : http://www.nedi.ch/ ISO : http://walker-family.org/NeDiO44.iso

Since I had installed kde-graphic package, the behaviour of the button “Open Containing Folder” has changed. Instead of use Nautilus to open the “Containing Folder”, it was GwenView which displays the folder. Displaying a folder with GwenView in a gnome environment, is a real nightmare and usefulness stuff. To solve the issue, I ‘ve look after something wrong in /usr/share/applications/ with [bash]grep -R gwenview *[/bash] and finally I’ve found the following entry: [bash]/usr/share/applications/mimeinfo.cache:inode/directory=gnome-nautilus-folder-handler.desktop;kde4-gwenview.desktop;[/bash] I decided to remove the second entry and the behavior by default is reappeared.

Voici une configuration fonctionnelle pour une carte Pinnacle PCTV avec les drivers bt878. Fontionnelle avec PulseAudio grace à la ligne: [xml]<option name="MixerDevice" value="hw:0/Line"/>[/xml] Fichier de configuration tvtime.xml: [xml]<?xml version="1.0"?> <!DOCTYPE tvtime PUBLIC "-//tvtime//DTD tvtime 1.0//EN" "http://tvtime.sourceforge.net/DTD/tvtime1.dtd"> <tvtime xmlns="http://tvtime.sourceforge.net/DTD/"> <option name="DefaultBrightness" value="-1"/> <option name="DefaultContrast" value="-1"/> <option name="DefaultSaturation" value="-1"/> <option name="DefaultHue" value="-1"/> <option name="PrevChannel" value="18"/> <option name="Channel" value="15"/> <option name="FramerateMode" value="0"/> <option name="OverScan" value="3.5"/> <option name="CheckForSignal" value="1"/> <option name="AudioBoost" value="100"/> <option name="AlwaysOnTop" value="0"/> <option name="QuietScreenshots" value="0"/> <option name="UnmuteVolume" value="77"/> <option name="Muted" value="1"/> <option name="V4LInput" value="0"/> <option name="AudioMode" value="lang2"/> <option name="PalDKMode" value="0"/> <option name="Widescreen" value="0"/> <option name="Fullscreen" value="0"/> <option name="Verbose" value="0"/> <option name="WindowGeometry" value="0x576"/> <option name="InputWidth" value="924"/> <option name="V4LDevice" value="/dev/video0"/> <option name="VBIDevice" value="/dev/vbi0"/> <option name="Norm" value="PAL"/> <option name="Frequencies" value="europe"/> <option name="MixerDevice" value="hw:0/Line"/> <option name="XMLTVFile" value="none"/> <option name="XMLTVLanguage" value="none"/> <option name="ProcessPriority" value="-10"/> <option name="DeinterlaceMethod" value="ProgressiveBFF"/> </tvtime>[/xml]

Le SNMP avec Net-SNMP, c’est chouette, mais c’est lent! Voici un moyen d’y remedier : SNMP++ [cpp] #define SYSDESCR "1.3.6.1.2.1.1.1" using namespace Snmp_pp; using namespace std; int main(int argc,char *argv[]){ int status = 0; CTarget ctarget((IpAddress)"192.168.2.1","public","private"); Vb vb(SYSDESCR); Pdu pdu; Snmp snmp(status); if(status != SNMP_CLASS_SUCCESS ){ cout << snmp.error_msg(status); } pdu += vb; if((status=snmp.get(pdu,ctarget))!= SNMP_CLASS_SUCCESS) cout<<snmp.error_msg(status); else { pdu.get_vb( vb,0); cout << "System Descriptor = "<< vb.get_printable_value(); } if((status=snmp.get_next(pdu,ctarget))!= SNMP_CLASS_SUCCESS) cout<<snmp.error_msg(status); else { pdu.get_vb( vb,0); cout << "System Descriptor = "<< vb.get_printable_value(); } if((status=snmp.get(pdu,ctarget))!= SNMP_CLASS_SUCCESS) cout<<snmp.error_msg(status); else { pdu.get_vb( vb,0); cout << "System Descriptor = "<< vb.get_printable_value(); } exit(0); } [/cpp]

Suite à une mise à jour,je ne sais pas pourquoi,mais il m’était impossible de m’authentifier sur ma machine sans devoir “chipotter” aux propriétés du clavier. Chose résolue maintenant,en faisant un petit nettoyage du fichier :/var/lib/gdm/.gconf/apps/gdm/simple-greeter/%gconf.xml Ce fichier contient en fait les dernières langues et les derniers claviers utilisés.Ce qui permettra à l’avenir de n’avoir que le clavier “Belgium” sélectionné dans mon cas.

Après avoir parcouru bon nombre de didacticiels foireux ou pas à jour, je vous mets ici la démarche à suivre pour permettre une interaction entre Ekiga et un compte VoIP Buster. Première chose, ouvrir un compte chez VoIPBuster. Ensuite suivre les instructions suivantes: Lancer Ekiga Edition > Compte(s) Ajouter un compte (Compte SIP) Une fois dans la fenêtre: Nom: VoIPBuster Registrar: sip.voipbuster.com Utilisateur: voipbuster_id Utilisateur d’Authentification: voipbuster_id Mot de passe: voipbuster_password Timeout: 3600 Et ensuite cochez la case, “Activé le compte”. Avec ceci, vous voici près pour de longue discussion avec votre copain(copine) et le tout presque gratuit. (Qualité correcte voir excellente).

Suite à la mise à jour de Centreon vers la version 2, nous n’avions plus le module permettant de voir le contenu de la table des syslogs … Pas cool, n’est il pas ? Maintenant c’est résolu !   AkHeNaToN, membre du forum Centreon vient de mettre en ligne une version utilisable sur Centreon 2 et je suis en train de la modifier pour permettre d’autres choses comme: Export dans un fichier CSV Export dans un fichier XML Affichage via des reg exps Vidange d’une partie de la table Multi instances de syslog (plusieurs serveurs) Script d’installation de la base de données Didacticiel pour la configuration de Rsyslog Utilisation de Rsyslog ou de Syslog-NG   Voici ce que ça donne en image: Partie viewer Partie administrative

10/45