News:

We really need your input in this questionnaire

Main Menu

Problem with subgents

Started by pasupuleti, June 28, 2009, 05:29:25 PM

Previous topic - Next topic

pasupuleti

Hi All,
I can't not see the loaded sub agents(Linux) in server console(windows):
log shows successfully loaded 
could please help me .

plz give me examples for logwatch config ...
Thanks,
pasupuleti

pasupuleti

#1
please advise..........

please advise..........
log file showing :

/usr/local/bin/nxagentd -D
Configuration file OK
[29-Jun-2009 02:10:26] Debug: Log file opened
[29-Jun-2009 02:10:26] Debug: Subagent API initialized
[29-Jun-2009 02:10:27] Subagent "/usr/local/lib/libnsm_linux.so" loaded successfully
[29-Jun-2009 02:10:27] Subagent "Linux" already loaded from module "/usr/local/lib/libnsm_linux.so"
[29-Jun-2009 02:10:27] Subagent "/usr/local/lib/libnsm_ping.so" loaded successfully
[29-Jun-2009 02:10:27] Subagent "/usr/local/lib/libnsm_portCheck.so" loaded successfully
[29-Jun-2009 02:10:27] Debug: LogWatch: registered parser for file /var/log/messages, trace level set to 0
[29-Jun-2009 02:10:27] Debug: LogParser: parser thread for file "/var/log/messages" started
[29-Jun-2009 02:10:27] Debug: LogParser: file "/var/log/messages" successfully opened
[29-Jun-2009 02:10:27] Subagent "/usr/local/lib/libnsm_logwatch.so" loaded successfully
[29-Jun-2009 02:10:28] Debug: Trying to bind on 0.0.0.0:4703
[29-Jun-2009 02:10:28] Listening on socket 0.0.0.0:4703
[29-Jun-2009 02:10:29] NetXMS Agent started

but i'm unable to see in the server console
Tools->Info->Agent->Subagent List.

Thanks,
pasupuleti

sushizang

Usage: nxagentd [options]
Where valid options are:
   -c <file>  : Use configuration file <file> (default {search})
   -C         : Check configuration file and exit
   -d         : Run as daemon/service
   -D         : Turn on debug output
   -f         : Run in foreground
   -h         : Display help and exit
   -M <addr>  : Download config from management server <addr>
   -p         : Path to pid file (default: /var/run/nxagentd.pid)
   -P <text>  : Set platform suffix to <text>
   -r <addr>  : Register agent on management server <addr>
   -v         : Display version and exit

pasupuleti


but i'm unable to see in the server console(windows)
Tools->Info->Agent->Subagent List.

suggest how to Configure the  PING subagent

Thanks,
pasupuleti

Victor Kirhenshtein

Hello!

Could you please post a screenshot of subagents' list output?

Best regards,
Victor

pasupuleti

Hi Victor,
 
Thanks for your reply ..........
I'm getting following error while accessing the subagent parameters
Cannot get parameter: Requested data collection item is not supported by agent
please find an attachment of screen shot ..

regards
pasupuleti

Victor Kirhenshtein

Hi!

It's a known bug - parameters LogWatch.Parser.* are not working. However, you don't need them to do log monitoring - it's just a parser statistics.

What about PING subagent - do you still have problems mentioned in your previous post?

Best regards,
Victor

pasupuleti

HI Victor ,

   Now subagent list showing fine.but problem is ,while accessing the parameters showing the following message as Cannot get parameter: Requested data collection item is not supported by agent
for PING subagent

regards
pasupuleti


Victor Kirhenshtein

When you query Icmp.* parameters, you should be asked for additional arguments. For Icmp.Ping, you should enter IP address you wish to ping. Agent should do ping to given address respond with ping response time. For all other Icmp.* parameters you should specify name or IP address of preconfigured target. See this document: https://www.netxms.org/documentation/ping_subagent.shtml.

Best regards,
Victor