Hello Everybody
 
I have a problem witn snmp, i installed net-snmp and compiled with php, when I run manually  scripts as jffnms user the snmp run ok, the poller run oks and  the discover its ok,
 
######################################################
[EMAIL PROTECTED] engine]$ . /www/htdocs/jffnms-0.8.2/.bash_profile; cd $JFFNMS && $PHP -q poller.php
 
 the result is like this

xecuting: /www/php/bin/php -q poller.php 2 0 1 0 0 &
xecuting: /www/php/bin/php -q poller.php 3 0 1 0 0 &
7:20:55  :  H   2 : Poller Start : 3250 Items.
7:20:56  :  H   2 :  I 446 :  P   1 : reachability_start:ping(): 4310e747ecfb9 -> buffer(): 1 (time P:415.55 | 43.49)
7:20:56  :  H   2 :  I 448 :  P   1 : reachability_start:ping(): 4310e7484016d -> buffer(): 2 (time P:94.59 | 0.72)
7:20:57  :  H   2 :  I 424 :  P   5 : bgp_peer_status(172...0.1): up -> alarm(6,,180): Event Added: 5442 (time P:368.35 | 338.4
xecuting: /www/php/bin/php -q poller.php 5 0 1 0 0 &
7:20:57  :  H   2 :  I 425 :  P   5 : bgp_peer_status(172...0.1): up -> alarm(6,,180): Event Added: 5443 (time P:353 | 20.77)
7:20:57  :  H   2 :  I 426 :  P   5 : bgp_peer_status(172...0.1): up -> alarm(6,,180): Event Added: 5444 (time P:464.88 | 25.07
7:20:58  :  H   2 :  I 427 :  P   5 : bgp_peer_status(172...0.1): up -> alarm(6,,180): Event  
 
##########################################################
 
When the crontab execute the poller discovers and extracts statistics of the routers, but the consilidate does not update the condition(state) of the interfaces and they all stay in down, in the mail of the system the message show me
 
 
To: [EMAIL PROTECTED]
Subject: Cron <[EMAIL PROTECTED]> . /www/htdocs/jffnms-0.8.2/.bash_profile; cd $JFFNMS && $PHP -q poller.php >> prueba1.txt
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/www/htdocs/jffnms-0.8.2>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=jffnms>
X-Cron-Env: <USER=jffnms>
sh: snmpget: command not found
sh: snmpget: command not found
sh: snmpget: command not found
sh: snmpget: command not found
sh: snmpget: command not found
sh: snmpget: command not found
sh: snmpget: command not found
 
 
the problem its the interface always are down?????
 
Can you help me?
 


MSN Amor Busca tu ½ naranja ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to