<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Good day,<br><br>I just installed NSCA. I tried to test it with commands below and seems like it cant carry the actual data/mesg.<br><br>out puts::<br><br>test file:<br>[code]<br>>cat test <br><br>localhost test abc<br>[/code]<br><br>File sent:<br><br>[code]<br>> ./src/send_nsca localhost -c sample-config/send_nsca.cfg < test <br>0 data packet(s) sent to host successfully.<br><br>[/code]<br><br>Results from /var/log/message::<br><br>[code]<br>Jul 16 14:20:09 XXXXXXX nsca[20897]: Handling the connection...<br>Jul 16 14:20:09 XXXXXXX nsca[20897]: End of connection...<br><br>[/code]<br><br><br><br>Configurations:<br>[code]<br>>grep -v '#' /usr/local/nagios/etc/nsca.cfg | grep "^\w"<br>pid_file=/var/run/nsca.pid<br>server_port=5667<br>nsca_user=nagios<br>nsca_group=nagios<br>debug=1<br>command_file=/usr/local/nagios/var/rw/nagios.cmd<br>alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump<br>aggregate_writes=0<br>append_to_file=0<br>max_packet_age=30<br>decryption_method=1<br>[/code]<br><br>[code]<br>grep -v '#' sample-config/send_nsca.cfg | grep "^\w"<br>encryption_method=1<br><br>[/code]<br><br><br><br>Please help.<br><br> <br /><hr /> <a href='' target='_new'></a></body>
</html>