Hi, i'm new to shinken and first of all thanks for all the great job you guys did

I just installed shinken, and i'm currently trying after some basic test (all working) to discover my network ^^

In this purpose, i followed this tutorial => https://shinken.readthedocs.org/en/l...h-shinken.html
But i've got some problems >__<

When i run the command =>
Code:
sudo shinken-discovery -o /etc/shinken/discovery -r nmap "NMAPTARGETS=192.168.16.1-254 localhost"
I get the following error => ERROR: [Shinken] Cannot open config file '/etc/shinken/discovery.cfg' for reading: [Errno 2] No such file or directory: u'/etc/shinken/discovery_rules.cfg'

(for all the config files), to avoid this i specified the path to discovery.cfg, and then i've got some errors too =>
Code:
sudo shinken-discovery -o /etc/shinken/discovery -r nmap "NMAPTARGETS=192.168.16.1-254 localhost" -c /etc/shinken/discovery/discovery.cfg
Here, i got errors telling me that the function create_reversed_list doesn't exist, i checked into the file /usr/local/lib/python2.7/dist-packages/Shinken-2.2_RC1-py2.7.egg/shinken/discovery/discoverymanager.py, and i saw that, indeed that function was called at line 344, in the class DiscoveryManager, in the __init__ function, and, if the Config class in previous versions had a a function create_reversed_list, it doesn't have it anymore,...

Thinking that i might have mad a mistake with my install i checked in the git repository here => https://github.com/naparuba/shinken/...manager.py#L17
And here =>
https://github.com/naparuba/shinken/...ects/config.py

And here too, the discoverymanager call a function that doesn't exist anymore, so i guessed ( off course i might be wrong ) that these calls had to be removed, and did i, but i really don't know if that was the right choice >__<

Anyway, now, when i launch my command =>
Code:
sudo shinken-discovery -o /etc/shinken/discovery -r nmap "NMAPTARGETS=192.168.16.1-254 localhost" -c /etc/shinken/discovery/discovery.cfg
The command is launched, but i don't get any hosts at all, and the warning message i get is quite weird too =>
sudo shinken-discovery -o /etc/shinken/discovery/sam/t -r nmap "NMAPTARGETS=192.168.16.1-254 localhost" -c /etc/shinken/discovery/discovery.cfg
[sudo] password for shinken:
Macros ['NMAPTARGETS=192.168.16.1-254 localhost']
Got macros [('NMAPTARGETS', '192.168.16.1-254 localhost&#039]
[1419869144] WARNING: [Shinken] Guessing the property $NMAPTARGETS$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $NAGIOSPLUGINSDIR$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $PLUGINSDIR$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property cfg_file type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property cfg_dir type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $SNMPCOMMUNITYREAD$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $NMAPMINRATE$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $DOMAINUSERSHORT$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $DOMAINUSER$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $SSH_KEY_PASSPHRASE$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $LDAPBASE$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property http_backend type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $SSH_PORT$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $DOMAIN$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $WMI_INI_DIR$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $SSH_KEY$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $DOMAINPASSWORD$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $SSH_USER$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] Guessing the property $NMAPMAXRETRIES$ type because it is not in Config object properties
[1419869144] WARNING: [Shinken] There is no arbiter, I add one in localhost:7770
[1419869144] WARNING: [Shinken] No scheduler defined, I add one at localhost:7768
[1419869144] WARNING: [Shinken] No poller defined, I add one at localhost:7771
[1419869144] WARNING: [Shinken] No reactionner defined, I add one at localhost:7769
[1419869144] WARNING: [Shinken] No broker defined, I add one at localhost:7772
[1419869144] WARNING: [Shinken] No realms defined, I add one at Default
I'm launching nmap with a 3600 seconds timeout
nmap Check 0 status:done command:/var/lib/shinken/libexec/discovery/nmap_discovery_runner.py --min-rate 1000 --max-retries 3 -t 192.168.16.1-254 localhost
Error on run
Got Raw disco data Got our target ['192.168.16.1-254', 'localhost']
propose a tmppath /tmp/tmpY7iGR9
Launching command, sudo nmap 192.168.16.1-254 localhost -sU -sT --min-rate 1000 --max-retries 3 -T4 -O -oX /tmp/tmpY7iGR9
Try to communicate
Got it !
Can be ('Windows', 'XP', '100', 'general purpose', 'Microsoft&#039
Will dump ('Windows', 'XP', 'general purpose', 'Microsoft&#039




LOOPLOOPLOOPLOOPLOOPLOOPLOOPLOOPLOOPLOOP 1
LOOP
LOOP
But i've got nothing new in the directory ouput i specified with the -o parameters :'(

But i'd really like to know if i did the right choice or not about the code, and what i should do to make it work out now ^^

Thanks

PS : Sorry for my bad english, its not my birth language,...