I validated it with RR/Normal/Sticky.
No acknowledgement:
Code: Select all
acknowledgement_type=0Code: Select all
acknowledgement_type=1Code: Select all
acknowledgement_type=2Code: Select all
acknowledgement_type=0Code: Select all
acknowledgement_type=1Code: Select all
acknowledgement_type=2Code: Select all
/usr/local/nagiosxi/html/rr.phpCode: Select all
if ($service != "") {
$cmdstr = sprintf("%s;%s;%s;1;1;1;%s;%s", "ACKNOWLEDGE_SVC_PROBLEM", $host, $service, $author, $comment);
} else {
$cmdstr = sprintf("%s;%s;1;1;1;%s;%s", "ACKNOWLEDGE_HOST_PROBLEM", $host, $author, $comment);
}Code: Select all
if ($service != "") {
$cmdstr = sprintf("%s;%s;%s;2;1;1;%s;%s", "ACKNOWLEDGE_SVC_PROBLEM", $host, $service, $author, $comment);
} else {
$cmdstr = sprintf("%s;%s;2;1;1;%s;%s", "ACKNOWLEDGE_HOST_PROBLEM", $host, $author, $comment);
}The horrorBanditBBS wrote:[...] and make me definitely need to use Trevor's patch.
I'll be testing that, in detail this evening and will be replying again later. Going home now.tmcdonald wrote:sdnagios is more than likely the name of the contact that is associated with the user. When you acknowledge from the Core interface as my patch modifies, it has no knowledge of any XI users so it uses the contact name. rr.php does know about XI users so it uses that.
The horrorBanditBBS wrote:[...] and make me definitely need to use Trevor's patch.
That didn't workBox293 wrote:Download the nagiosxi zip and extract it.
Iin the extracted directory, put the file in subcomponents/nagioscore/patches/
I think it needs to end with .patch
Run ./upgrade and the patch will be applied