Comments (9)
The right syntax:
%centreon_vmware_config = (
vsphere_server => {
'GEOS' => {'url' => 'https://xxx.xxx.xxx.xxx/sdk',
'username' => 'user',
'password' => 'pwd'},
},
'TEXEL' => {'url' => 'https://xxx.xxx.xxx.xxx/sdk',
'username' => 'user',
'password' => 'pwd'},
}
}
);
from centreon-vmware.
Excuse me, copy error in the ticket -> my mistake. I use exactly the same syntax like you, but is not working. I tried also to copy your syntax in the file, but always the daemon is not starting up.
from centreon-vmware.
Could you launch the daemon from command line directly and give the message ?
from centreon-vmware.
[root@osiris2 centreon]# /usr/bin/centreon_vmware.pl centreon_vmware.pm
Unmatched right curly bracket at /etc/centreon/centreon_vmware.pm line 10, at end of line
syntax error at /etc/centreon/centreon_vmware.pm line 10, near "}"
Unmatched right curly bracket at /etc/centreon/centreon_vmware.pm line 11, at end of line
Compilation failed in require at /usr/share/perl5/vendor_perl/centreon/script/centreon_vmware.pm line 157.
from centreon-vmware.
It's the problem of bracket. Could you try with my copy/paste ?
from centreon-vmware.
%centreon_vmware_config = (
vsphere_server => {
'GEOS' => {'url' => 'https://10.150.234.98/sdk',
'username' => '[email protected]',
'password' => 'pwd'},
},
'TEXEL' => {'url' => 'https://10.150.61.10/sdk',
'username' => 'nagios',
'password' => 'pwd'},
}
}
);
from centreon-vmware.
With following:
%centreon_vmware_config = (
vsphere_server => {
'GEOS' => {'url' => 'https://10.150.234.98/sdk',
'username' => '[email protected]',
'password' => 'pwd'},
'TEXEL' => {'url' => 'https://10.150.61.10/sdk',
'username' => 'nagios',
'password' => 'pwd'},
}
);
from centreon-vmware.
Great, now works. Thanks a lot for the quick and professional help
Regards
Jochen
from centreon-vmware.
You're welcome!
from centreon-vmware.
Related Issues (20)
- Host name in cli is case sensitive HOT 2
- possibly a protocol issue: Status read failed: at /usr/local/share/perl5/Net/HTTP/Methods.pm line 282 HOT 12
- [apps::vmware::connector::plugin] tools-vm - (enhancement) HOT 2
- How to select only powered on VM with --mode=datastore-vm HOT 1
- vmware daemon failed to start: Can't locate centreon/class/cisTags.pm HOT 4
- Better unknown messages for centreon_vmware_connector_client.pl
- Tags in Discovery HOT 1
- Unicode characters not handled correctly HOT 2
- Does the plugin work with vSphere 7 ? HOT 15
- Use of uninitialized value $dsName
- Packages unavailable under Oracle Linux 9 HOT 1
- [Mode] Memory-vm and ballooning HOT 5
- CPU and datastore cluster information HOT 2
- Login to VirtualCenter failed HOT 10
- Virtualization-VMWare-daemon-3.2.0 failed to start on CentOs 7 HOT 2
- apps::vmware::connector::plugin - mode net-vm HOT 3
- [apps::vmware::connector::plugin] iops perfdata for vSAN are missing HOT 4
- question - child preocess HOT 3
- plugin=apps::vmware::connector::plugin - mode='datastore-usage' - value incorrect HOT 10
- [Question metric vcenter] HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from centreon-vmware.