Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Graph of no snmp ROUTEUR ping and staut on or off?

 
Post new topic   Reply to topic    Cacti Forum Index -> Feature Requests
Author Message
Mika2006
Cacti User


Joined: 03 May 2007
Posts: 165

PostPosted: Sun May 27, 2007 4:47 am    Post subject: Graph of no snmp ROUTEUR ping and staut on or off? Reply with quote

Hello i just need this two information on my routeur he is not snmp
he is possible to make this please

The graph ping and i know he is up or down


thanks
Back to top
hgd26



Joined: 06 Oct 2006
Posts: 25

PostPosted: Sun May 27, 2007 7:40 am    Post subject: Re: Graph of no snmp ROUTEUR ping and staut on or off? Reply with quote

Mika2006 wrote:
Hello i just need this two information on my routeur he is not snmp
he is possible to make this please

The graph ping and i know he is up or down


thanks


Advanced Ping Template
http://forums.cacti.net/viewtopic.php?t=10049

Sample:



Plugin: Monitor
http://cactiusers.org/wiki/MonitorDocs

Sample:
Back to top
Mika2006
Cacti User


Joined: 03 May 2007
Posts: 165

PostPosted: Sun May 27, 2007 10:05 am    Post subject: Reply with quote

thx i will try
but are you sure all works
with NO snmp on the routeur?
Back to top
hgd26



Joined: 06 Oct 2006
Posts: 25

PostPosted: Sun May 27, 2007 11:29 am    Post subject: Reply with quote

Mika2006 wrote:
thx i will try
but are you sure all works
with NO snmp on the routeur?


Advanced Ping Template Version:
Ability to ping using either ICMP, TCP, or UDP protocols
Based on fping, no snmp need. Read the topic ....

Try Manage
http://forums.cacti.net/viewtopic.php?t=13827
Based on port monitoring

this plugin :
- monitor hosts (like dead host notification in thold plugin)
- monitors TCP services
- alerts (by email, like thold)
- log each event in MYSQL, for reporting
Back to top
Mika2006
Cacti User


Joined: 03 May 2007
Posts: 165

PostPosted: Sun May 27, 2007 12:24 pm    Post subject: Reply with quote

thks to you response:

ping template don't work :
Quote:
RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Pc_lan1_Y - Smoke Ping" \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=10 \
--lower-limit=0 \
--units-exponent=1 \
--vertical-label="milliseconds" \
--slope-mode \
DEF:a="/var/www/html/cacti/rra/pc_lan1_y_min_105.rrd":avg:AVERAGE \
DEF:b="/var/www/html/cacti/rra/pc_lan1_y_min_105.rrd":max:AVERAGE \
DEF:c="/var/www/html/cacti/rra/pc_lan1_y_min_105.rrd":min:AVERAGE \
DEF:d="/var/www/html/cacti/rra/pc_lan1_y_min_105.rrd":loss:AVERAGE \
DEF:e="/var/www/html/cacti/rra/pc_lan1_y_min_105.rrd":max:MAX \
CDEF:cdefb=b,a,-,0.2,* \
CDEF:cdefh=a,g,-,0.2,* \
CDEF:cdefbc=e,0,* \
CDEF:cdefbd=bc,0,GT,UNKN,a,IF \
CDEF:cdefbe=bc,0,GT,bc,40,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbf=bc,40,GT,bc,80,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbg=bc,UN,1,EQ,TIME,300,+,NOW,GT,UNKN,INF,IF,bc,80,GT,INF,UNKN,IF,IF \
CDEF:cdefbh=d,UN,1,EQ,TIME,300,+,NOW,GT,100,0,IF,100,d,-,IF \
AREA:a#FFFFFF:"" \
AREA:cdefb#333333:"":STACK \
AREA:cdefb#555555:"":STACK \
AREA:cdefb#888888:"":STACK \
AREA:cdefb#AAAAAA:"":STACK \
AREA:cdefb#CCCCCC:"":STACK \
AREA:c#FFFFFF:"" \
AREA:cdefh#CCCCCC:"":STACK \
AREA:cdefh#AAAAAA:"":STACK \
AREA:cdefh#888888:"":STACK \
AREA:cdefh#555555:"":STACK \
AREA:cdefh#333333:"":STACK \
AREA:cdefbc#FFFFFF:"" \
LINE1:cdefbd#00CF00:"Up" \
AREA:cdefbe#4123A1:"Packet loss \: 1 -> 40 %" \
AREA:cdefbf#8F005C:"Packet loss 41 -> 80 %" \
AREA:cdefbg#FF0000:"Down\n" \
GPRINT:cdefbh:AVERAGE:"Success rate \:%8.2lf %%\n" \
COMMENT:"Response time \:" \
GPRINT:c:MIN:"Minimum \:%8.2lf ms" \
GPRINT:a:AVERAGE:"Average \:%8.2lf ms" \
GPRINT:e:MAX:"Maximum \:%8.2lf ms\n"

RRDTool Says:

ERROR: invalid rpn expression in: a,g,-,0.2,*



manage to
i have nothing my config:

well i want the ping and statue of my routeur freebox but cacti don't find him

i have attachment other picture
if someone can help?



001.jpg
 Description:
 Filesize:  50.4 KB
 Viewed:  3230 Time(s)

001.jpg



000.jpg
 Description:
 Filesize:  87.78 KB
 Viewed:  3230 Time(s)

000.jpg


Back to top
hgd26



Joined: 06 Oct 2006
Posts: 25

PostPosted: Sun May 27, 2007 12:40 pm    Post subject: Reply with quote

Mika2006,
read please...

"ping template don't work :

Code:
RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Pc_lan1_Y - [b]Smoke Ping[/b]" \


"
You install "Smoke Ping", no "Advanced Ping"!!! In forum this bug is posted:

http://forums.cacti.net/viewtopic.php?p=83144#83144

To Manage plugin problem - i have similary.
I install first http://gilles.boulon.free.fr/manage/manage-0.5.zip and after that upgrade to http://gilles.boulon.free.fr/manage/manage-0.5.1.zip

All bugs and probplems posted here, in forum. USE THE SEARCH
Back to top
Mika2006
Cacti User


Joined: 03 May 2007
Posts: 165

PostPosted: Sun May 27, 2007 1:52 pm    Post subject: Reply with quote

thanks for u respond

and manage no host comme in the manage page



00000.jpg
 Description:
Advanced Ping have nothing?
 Filesize:  42.59 KB
 Viewed:  3216 Time(s)

00000.jpg



0000.jpg
 Description:
Smoke ping i don't understand why is all red???
 Filesize:  38 KB
 Viewed:  3216 Time(s)

0000.jpg


Back to top
Mika2006
Cacti User


Joined: 03 May 2007
Posts: 165

PostPosted: Sun May 27, 2007 1:55 pm    Post subject: Reply with quote

if he can help i have this:
Quote:
[root@localhost cacti]# php /var/www/html/cacti/scripts/ss_fping.php 127.0.0.1 10 ICMP
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/msql.so' - /usr/lib/php4/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Content-type: text/html
X-Powered-By: PHP/4.3.9

<br />
<b>Fatal error</b>: Cannot instantiate non-existent class: net_ping in <b>/mnt/150/sda/0/6/ychouchane/cacti/Template/fping/ss_fping.php</b> on line <b>25</b><br />
Back to top
hgd26



Joined: 06 Oct 2006
Posts: 25

PostPosted: Sun May 27, 2007 2:45 pm    Post subject: Reply with quote

Mika2006 wrote:
<b>Fatal error</b>: Cannot instantiate non-existent class: net_ping in <b>/mnt/150/sda/0/6/ychouchane/cacti/Template/fping/ss_fping.php</b> on line <b>25</b><br />


Fatal error: Cannot instantiate non-existent class: net_ping
You need this:
http://pear.php.net/package/Net_Ping

php ./scripts/ss_fping.php ss_fping <hostname> <attempts> <protocol> <port>

P.S. For "PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/msql.so'" - edit you php.ini file
Back to top
Mika2006
Cacti User


Joined: 03 May 2007
Posts: 165

PostPosted: Sun May 27, 2007 3:11 pm    Post subject: Reply with quote

thanks for u respond


well i install pear net_ping like this:
Quote:

#pear install net_ping

i reboot my server but i have the same probleme
Quote:

[root@localhost ~]# php /var/www/html/cacti/scripts/ss_fping.php 127.0.0.1 10 ICMP
Content-type: text/html
X-Powered-By: PHP/4.3.9

<br />
<b>Fatal error</b>: Cannot instantiate non-existent class: net_ping in <b>/mnt/150/sda/0/6/ychouchane/cacti/Template/fping/ss_fping.php</b> on line <b>25</b><br />
Back to top
Mika2006
Cacti User


Joined: 03 May 2007
Posts: 165

PostPosted: Mon May 28, 2007 10:44 am    Post subject: Reply with quote

please some one can help please?
at the moment nothing work
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Feature Requests All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group