Answer the question
In order to leave comments, you need to log in
Nagios3 adding hosts via the WEB - what are the implementation options?
It is necessary to implement the addition of hosts via the WEB, so that the user enters the host name, IP, comment and, if necessary, the higher host. At the moment I am finishing writing such a feature through PHP.
More details. On the main page, nagios added links to the page where all available hosts are displayed ( scandir
), in the form we fill in the necessary fields, except for the parents field, the host name appears in this field only after clicking on those already in the list, well, the check against curvature is taken into account, system files will be removed. After adding or/and deleting hosts, there is a reload button with the output of the result ( shell_exec('sudo /etc/init.d/nagios3 reload');
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question