This post is more than 5 years old
3 Posts
0
1582
February 8th, 2015 12:00
Cannot generate Nagios Configuration
When trying to generate a global or a cluster Nagios Configuration, i always get the error message "Error generating config file: No static IP addresses available for node 1 No configuration file generated."
We are currently using 15 nodes with OneFS 7.1.1 with dynamic address allocation ... can the nagios config only be generated while using static addresses? Which benefits do we have of static ips?
No Events found!



ryan_hayre
2 Posts
1
February 8th, 2015 22:00
Nagios configuration can only be generated if the nodes have static IP addresses.
Static IPs are used so we can monitor the specific nodes in the cluster. Dynamic IPs will move between nodes as needed and is not a reliable way to monitor specific nodes in the cluster.
A good example of how this could cause an issue is the basic ping that nagios does to check if the host is online. If dynamic IPs are being used with Nagios to monitor the nodes in the cluster, pinging the nodes would not be a reliable way to determine if a node is up/down since the IP would move to another node.
crklosterman
450 Posts
3
February 9th, 2015 09:00
Puls4,
You can have your cake and eat it too in this case. Just create another pool subnet0:pool1 or something along those lines as static, and give it 1 IP per configured logical interface. Create another NS delegation for mgmt or something along those lines, then you're golden.
The key thing to keep in mind in the static versus dynamic conversation is that static is for stateful protocols, and dynamic is for stateless protocols. So for stateless think NFSv2, or NFSv3. For stateful think http, ftp, SMB, etc. Having a static pool is not a bad thing. SyncIQ for instance won't work with dynamic, and NDMP shouldn't be used with anything but static.
Hope this helps to clarify it,
~Chris
puls41
3 Posts
0
February 9th, 2015 09:00
ok, your explaination sounds valid ... but the benefits of dynamic ips are more important than having them fixed ...
is there a way to get the nagios-config without configuring it ... i would adjiust the values i need and see how its doing for me!
pknyboyz
1 Message
0
June 5th, 2016 00:00
Do all the nodes in the cluster need to be network connected in order for this Nagios plugin to work?