Web Nagios Restart


#1

Hi. I searched the forum and didn’t find anything on this, so I thought I’d post something. Does anyone know of a way to restart Nagios using a html form button? I was thinking of a PHP script to do thiis, but since I’m not much of a coder I really don’t know.

Any advise appreciated.


#2

extinfo.cgi has a hyperlink to restart the process through cmd.cgi?cmd_typ=13 - I guess you could have a button on a form with the action set to that same hyperlink, or something like that.